3 Replies Latest reply on Nov 17, 2004 12:10 AM by kalyan120

    Problem in ConnectionFactory lookup at Remote Jboss behind f

    soniasahni

      Hi,

      My requirement is to send JMS messages from one Jboss setup to another remote setup. We are on Jboss 2.4.4. Its the same application deployed at both the places.

      Let me call the application sending the message as client.

      At client, I use JNDI lookup to get TopicConnectionFactory of the remote application and then send the jms message. Now this works find as long as the remote jboss/application is not behind the firewall. I have tried every setting at the firewall to let it receive connection requests/give access to JNDI. All ports are open. Still this is what I get at client:

      createJMSConnection() : EXCEPTION :javax.naming.CommunicationException [Root exception is java.rmi.ConnectE
      xception: Connection refused to host: ; nested exception is:
      java.net.ConnectException: Operation timed out: connect]
      [Publisher]: createJMSConnection() : EXCEPTION MESSAGE:null

      Also, at client we provide jndi name as jnp://:1099/ConnectionFactory

      And the remote jboss/application runs on a local ip behind the firewall


      I would appreciate any clue possible

      Thanks in advance

      Sonia