This content has been marked as final.
Show 3 replies
-
1. Re: JBAS011843: Failed instantiate InitialContextFactory com.ibm.websphere.naming.WsnInitialContextFactory
jaysensharma Nov 23, 2015 2:57 PM (in response to abhi415)1. Please share the complete stackTrace. (That is very much needed)
2. Also let us know if you created any JBoss Custom Module. Provide us more details o that.
3. List the JARs present inside your application.
4. Where exactly you have placed the JAR containing the class "com.ibm.websphere.naming.WsnInitialContextFactory" ?
-
2. Re: JBAS011843: Failed instantiate InitialContextFactory com.ibm.websphere.naming.WsnInitialContextFactory
abhi415 Nov 24, 2015 11:01 AM (in response to jaysensharma)I updated to objProperties.setProperty( Context.URL.PKG.PREFIXES, "org.jboss.ejb.client.naming"); and it worked. Thanks again for your help!
-
3. Re: JBAS011843: Failed instantiate InitialContextFactory com.ibm.websphere.naming.WsnInitialContextFactory
abhi415 Nov 24, 2015 11:01 AM (in response to abhi415)I updated to objProperties.setProperty( Context.URL.PKG.PREFIXES, "org.jboss.ejb.client.naming"); and it worked.