This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 5812
    
    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: 5812
    
    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: 5812
    
    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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with JMS Ports in JBoss
 
Similar Threads
How to check the number of JMS Ports JBoss has opened?
Secure JMS
Integration of jboss messaging with jboss
Porting from Weblogic 8.1 to JBoss 4.2.2
Doubt about JBoss & JBoss MQ