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


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » JBoss
Reply 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: 5536

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: 5536

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: 5536

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.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Problem with JMS Ports in JBoss
 
Similar Threads
How to check the number of JMS Ports JBoss has opened?
Integration of jboss messaging with jboss
Porting from Weblogic 8.1 to JBoss 4.2.2
Secure JMS
Doubt about JBoss & JBoss MQ