[jboss-user] [JNDI/Naming/Network] - javax.naming.NoInitialContextException error when accessing

emcwoo do-not-reply at jboss.com
Fri Mar 2 03:55:58 EST 2007


Problem description:
    The javax.naming.NoInitialContextException was encountered when
    running the QUEUE example with the following jndi.properties setting

   java.naming.factory.initial=org.jnp.interfaces.HttpNamingContextFactory
   java.naming.provider.url=http://localhost:8080/invoker/JNDIFactory
   java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces

   whereas the QUEUE example runs successfully with the following
   default setting:

   java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
   java.naming.provider.url=jnp://localhost:1099
   java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces

Version used:
     JBoss 4.0.5GA
     Boss Messaging 1.0.1SP2

OS: Windows or UNIX

Help on this problem is much appreciated!

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

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



More information about the jboss-user mailing list