-
1. Re: Jboss connector port
peterj Jul 23, 2010 11:25 AM (in response to luke_m)Since you posted this in the JMX fofumr I assume that you are wanting to know how to connect to the JMX server. This should help:
http://community.jboss.org/wiki/HowDoIGetRemoteAccessToMyMBean
-
2. Re: Jboss connector port
luke_m Jul 26, 2010 4:44 AM (in response to peterj)I know how to connect to Jmx server, and I also found a Jboss Mbean
jboss.web:type=ThreadPool,name=http-<listenAdd>:<port>
which attribute "port" contains connector port I'm looking for ("port" il also contained in Mbean name).
Anyway I must know connector port when my application start up, and at this time this specific mbean is not yet registered on
Jboss Mbean Server.
I've posted this issue in jmxForum, but maybe there are other ways to retry this info.
thanks in advance
-
3. Re: Jboss connector port
luke_m Jul 29, 2010 4:51 AM (in response to luke_m)Hi,
I've found this MBean
jboss.web:type=Connector,address=/<JbossConnectorAddress>,port=<JbossConnectorPort>
that contains http connector port I'm looking for.
I've verified that this Mbean is registered when my jboss application is startingUp. So this can solve my issue
thanks
luke