Discussion:
[jboss-user] [JNDI and Naming] - Remote Queue
Haitham Safi
2013-02-25 07:01:06 UTC
Permalink
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?
Loading Image... (Loading Image...)




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]
Wolf-Dieter Fink
2013-02-26 18:26:26 UTC
Permalink
Wolf-Dieter Fink [https://community.jboss.org/people/wdfink] created the discussion

"Re: Remote Queue"

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

--------------------------------------------------------------
What kind of program you use. How the classpath is set?
--------------------------------------------------------------

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

Start a new discussion in JNDI and Naming at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]
Wolf-Dieter Fink
2013-02-26 18:29:07 UTC
Permalink
Wolf-Dieter Fink [https://community.jboss.org/people/wdfink] created the discussion

"Re: Remote Queue"

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

--------------------------------------------------------------
Please continue here
https://community.jboss.org/thread/221719 https://community.jboss.org/thread/221719
--------------------------------------------------------------

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

Start a new discussion in JNDI and Naming at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]
Loading...