JBoss Community

Jboss JNDI properties under Tomcat

created by Haitham Safi in JNDI and Naming - View the full discussion

Hi. I am using JBOSS 4.2.3 and Tomcat 7.

so while lookup  JNDI

 

(

prop.setProperty("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");

prop.setProperty("java.naming.factory.url.pkgs", "org.jboss.naming");

####

##

 

)

 

from client application under Tomcat

 

i got the following Error 

 

<< Cannot instantiate class: org.jnp.interfaces.NamingContextFactory >>



Any help?

Thx

 

 

 

 

 

 

prop.setProperty("java.naming.provider.url", "192.168.0.18:1099");

Reply to this message by going to Community

Start a new discussion in JNDI and Naming at Community