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-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to