0 Replies Latest reply on Feb 24, 2006 7:27 AM by maruthi_cse

    JMS behind NAT

    maruthi_cse Newbie

      Hi All,
      I have a problem in looking up the connection factory from the server.
      Server is behind the NAT. So as per the wiki/forum page procedure I have done the following changes in my server.
      In run.bat script I have included the nat address using
      -Djava.rmi.server.Hostname=IP address of the NAT
      -Djava.rmi.server.useLocalHostname=false

      This does not work. It actually displays the server internal ip address instead of the NAT address which results in communication exception.

      Then I have changed in my HTTP-INVOKER.sar-->jboss-service.xml to
      UseHostName=false.

      Then i tried to connect.Still the problem persisted.

      Then I explicitly specified the URLHOSTaddress in jms-->jbossmq-http-->metainf-->jboss-service.xml.

      Then i tried to connect. Then also I couldn't able to connect using my client
      due to the local ip address exposure.


      Thanks
      Maruthi