we are using JBoss server in out project. JBOSS server will run in the one system and we have appication called NIO-SREVER it will listen Queue in another JBOSS.
its working fine up to some days.After that our systems are hacked by some one so we closed some of the ports on the server where JBOSS is Running.
now i am not able to Listen The Queue in JBOSS Server.i am getting the Connection TimeOut Exception.its not possible to open all the ports.
can you please tell me what are the ports that i need to open to listen the remote jboss Queue.
There is no specific port for messaging. What happens is that the client looks up the messaging server via JNDI (that uses ports 1099 and 1098). Then the messaging client and server negotiate a port to use for the messages that the client will send, and that port is random.
I believe that you can set up messaging to use HTTP. However you never said which version of JBoss AS you are using, and each one uses a different messaging server, so it is hard to offer specific advice.