Haitham Safi
2013-03-27 09:12:10 UTC
Haitham Safi [https://community.jboss.org/people/haithamnor] created the discussion
"Jboss JNDI properties under Tomcat"
To view the discussion, visit: https://community.jboss.org/message/804991#804991
--------------------------------------------------------------
Hi. I am using http://www.coderanch.com/forums/f-63/JBoss 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
[https://community.jboss.org/message/804991#804991]
Start a new discussion in JNDI and Naming at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]
"Jboss JNDI properties under Tomcat"
To view the discussion, visit: https://community.jboss.org/message/804991#804991
--------------------------------------------------------------
Hi. I am using http://www.coderanch.com/forums/f-63/JBoss 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
[https://community.jboss.org/message/804991#804991]
Start a new discussion in JNDI and Naming at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]