-
1. Re: Failed instantiate InitialContextFactory
wdfink Aug 23, 2012 2:23 AM (in response to zipzip81)1 of 1 people found this helpfulDo You have added all necessary weblogic libraries to your application or even droped it to the 'lib' folder of the JBoss installation?
-
2. Re: Failed instantiate InitialContextFactory
zipzip81 Aug 23, 2012 4:06 AM (in response to wdfink)Hi Wolf,
Yes, I added external library weblogic.jar into web application build path.
Also added weblogic.jar into jboss standalone/lib folder.
Jboss version that I'm using is 7.1.1,JDK 1.7. it is still giving error 'Failed instantiate InitialContextFactory weblogic.jndi.WLInitialContextFactory from classloader ModuleClassLoader'
Any possible solution that make Jboss to recognise external library like weblogic.jar?
Thanks!
-
3. Re: Failed instantiate InitialContextFactory
wdfink Aug 23, 2012 5:10 AM (in response to zipzip81)Ok, JBoss7 is different, the lib folder is not used as in versions before!
See Classloading documentation.
You might add the weblogic libs as a module and set a dependency, or you pack it with the application.
-
4. Re: Failed instantiate InitialContextFactory
zipzip81 Aug 24, 2012 3:27 AM (in response to wdfink)Hi Wolf.
Thanks for the info! I fixed the issue.