0 Replies Latest reply on Dec 12, 2014 7:01 AM by samir giradkar

    How to configure secondary port of JMS in JBoss 5.1.0.GA

    samir giradkar Newbie



      My application is deployed on server JBoss 5.1.0.GA.

      When my client access the application, I was getting exception that port 4457 is not accessible (which is primary port for messaging, i guess)

      I opened port 4457 in firewall.

      Now I am getting the port access issue for secondary port. Every time I restart the Jboss server this port value changes.

      How can I fix this port to specific value ?


      I tried changing following properties of  /jboss-5.1.0.GA/server/default/deploy/messaging/remoting-bisocket-service.xml


      <attribute name="secondaryBindPort">4481</attribute>

      <attribute name="secondaryConnectPort">4482</attribute>

      But this did not help.