[jboss-user] [JNDI/Naming/Network] - Re: javax.naming.NoInitialContextException error when access

jaikiran do-not-reply at jboss.com
Tue Mar 6 10:34:46 EST 2007


anonymous wrote : Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.HttpNamingContextFactory

Hmmm.... Try this, change 

anonymous wrote : java.naming.factory.initial=org.jnp.interfaces.HttpNamingContextFactory

to

java.naming.factory.initial=org.jboss.naming.HttpNamingContextFactory

P.S.: The org.jboss.naming.HttpNamingContextFactory is present in the jboss.jar file. In case you dont have this jar file in your classpath, you can find it in %JBOSS_HOME%\server\default\lib folder




View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025440#4025440

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025440



More information about the jboss-user mailing list