This content has been marked as final.
Show 2 replies
-
1. Re: Need a way in code with JMX to find out the port Tomcat
ooba Jan 27, 2005 3:34 PM (in response to acxsjones)If you are on a windows machine you can at the command prompt type in
netstat
this will list all of the ports that are open -
2. Re: Need a way in code with JMX to find out the port Tomcat
mikefinn Jan 28, 2005 7:48 AM (in response to acxsjones)Haven't tried it, but the only place I know of is the Config attribute (dom element) on the web server mbean (jboss.web:service=WebServer). Assuming it serializes/deserializes ok, you can get the Port attribute of the HTTP connector.
Mike