Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Connection issue with JMS

843830Sep 28 2007 — edited Oct 12 2007
Hi,

I am using openJMS. using that i am able to send message using the
but when i try to do a JNDI Lookup from some other machine onto the network it gives me following Error:

javax.naming.CommunicationException: Failed to get registry service for URL: rmi://192.168.0.14:1099/ [Root exception is java.rmi.ConnectIOException: Failed to create connection; nested exception is:
org.exolab.jms.net.connector.ConnectException: Failed to lookup connection proxy, host=192.168.0.14, port=1099]
at org.exolab.jms.jndi.InitialContextFactory.getInitialContext(InitialContextFactory.java:146)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
TopicSubscribeAsynchronous.java:35)
at TopicSubscribeAsynchronous.main(TopicSubscribeAsynchronous.java:74)
Caused by: java.rmi.ConnectIOException: Failed to create connection; nested exception is:
org.exolab.jms.net.connector.ConnectException: Failed to lookup connection proxy, host=192.168.0.14, port=1099
at org.exolab.jms.net.orb.Locator.getProxy(Locator.java:137)
at org.exolab.jms.net.orb.Locator.getRegistry(Locator.java:103)
at org.exolab.jms.net.orb.DefaultORB.getRegistry(DefaultORB.java:285)
at org.exolab.jms.client.net.SharedORB.getRegistry(SharedORB.java:121)
at org.exolab.jms.jndi.InitialContextFactory.getInitialContext(InitialContextFactory.java:144)
... 6 more
Caused by: org.exolab.jms.net.connector.ConnectException: Failed to lookup connection proxy, host=192.168.0.14, port=1099
at org.exolab.jms.net.rmi.RMIManagedConnection.<init>(RMIManagedConnection.java:160)
at org.exolab.jms.net.rmi.RMIManagedConnectionFactory.createManagedConnection(RMIManagedConnectionFactory.java:99)
at org.exolab.jms.net.connector.DefaultConnectionPool.createManagedConnection(DefaultConnectionPool.java:233)

I am not getting what can be the issue due to which i am not able to connect through any other machine.

Please Help

Thanks in advance
Pushpak1234
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 9 2007
Added on Sep 28 2007
3 comments
1,266 views