aspose file tools*
The moose likes JBoss/WildFly and the fly likes Problem with JMS Ports in JBoss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Problem with JMS Ports in JBoss" Watch "Problem with JMS Ports in JBoss" New topic
Author

Problem with JMS Ports in JBoss

Ifteqar Ahmed
Ranch Hand

Joined: May 02, 2011
Posts: 85

Hi Friends can anyone tell me HOW CAN I CHECK THE NUMBER OF JMS PORTS OPENED BY THE JBoss.....?

I checked that in JMX-console
Please help..............
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

Are you asking which ports are opened, or how many? I can interpret your question either way. To find out which ports are open, use netstat, or if you are running Windows try TCPView.


JBoss In Action
Ifteqar Ahmed
Ranch Hand

Joined: May 02, 2011
Posts: 85

Thanks for the reply Peter..

I am asking how many ports are opened?
Ifteqar Ahmed
Ranch Hand

Joined: May 02, 2011
Posts: 85

Hi peter can you tell me where can i check this information on jmx-console?.........
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

Which version of JBoss AS?
Ifteqar Ahmed
Ranch Hand

Joined: May 02, 2011
Posts: 85

Its Jboss-4.2.2 GA
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

JBoss AS 4.2.x uses JBossMQ.

I looked in the jmx-console at the MBeans under jboss.mq and jboss.mq.destinations and then closest I could fine was the ReceiversCount property for the specific topics and queue under jboss.mq.destinations (because each receiver has its own port). But I suspect that local MDB are in that count and I don't think that they use up ports.

You can dig further through those MBeans to see if there si something more pertinent.
 
jQuery in Action, 2nd edition
 
subject: Problem with JMS Ports in JBoss