[jboss-user] [JNDI and Naming] - Jboss JNDI properties under Tomcat

Haitham Safi do-not-reply at jboss.com
Wed Mar 27 05:12:10 EDT 2013


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]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130327/bc6f1f10/attachment.html 


More information about the jboss-user mailing list