2 Replies Latest reply on Oct 22, 2012 11:54 AM by Justin Bertram

    Error while connecting JMS queue from remote host

    anil Konduru Newbie



      I have an issue while i am trying to access JBoss JMS queue from a remote host (using JBoss server's external IP) where my JBoss server is started with internal IP(accessible on VLAN). I have configured acceptor (in hornetq-configuration.xml) as below, but no luck.. any help?


      javax.naming.CommunicationException: Could not obtain connection to any of these urls: {external IP}:9099 and discovery failed with error: javax.naming.CommunicationException: Failed to retrieve stub from server /{JMS Client IP}:1100 [Root exception is java.io.StreamCorruptedException: unexpected block data] [Root exception is javax.naming.CommunicationException: Failed to connect to server /{external IP}:9099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server /{external IP}:9099 [Root exception is java.net.ConnectException: Connection refused]]]





            <!-- In VM acceptor -->

            <acceptor name="in-vm">


              <param key="host"  value=" (external IP)"/>

               <param key="port" value="5445"/>



      JBoss startup command:


      run.sh -b {internal IP}