[jboss-user] [JNDI and Naming] - Remote Queue

Haitham Safi do-not-reply at jboss.com
Mon Feb 25 02:01:06 EST 2013


Haitham Safi [https://community.jboss.org/people/haithamnor] created the discussion

"Remote Queue"

To view the discussion, visit: https://community.jboss.org/message/799289#799289

--------------------------------------------------------------
Hi,,,
i wrote java Application(jboss 4.2.3) to connect to *remote* queue, i configure JNDI settings:
  
  
  
Properties prop = **new Properties;**


prop.setProperty("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");
  
prop.setProperty("java.naming.factory.url.pkgs", "org.jboss.naming");
  
 But after executed i got the following error message:

 some one have an iead?
 https://community.jboss.org/servlet/JiveServlet/downloadImage/2-799289-20368/450-337/Error+Screen.png  (https://community.jboss.org/servlet/JiveServlet/showImage/2-799289-20368/Error+Screen.png)




prop.setProperty("java.naming.provider.url", "*RemoteServerIP*:1099");
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/799289#799289]

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/20130225/382f40d9/attachment.html 


More information about the jboss-user mailing list