Leonard Smith wrote:
Is there a way from my web-app, to get a list of IP addresses and
ports that tomcat is listening on? Other java programmers I know
mentioned using JMX, etc but that assumes I know the JMX port, which
could change.
You will use JMX beans in the same JVM, so you do not need any ports to connect to remote JVM/JMX.

You can try http://www.ceti.pl/~miki/komputery/jmx/ and see what can be done with Catalina bean.

--
Mikolaj Rydzewski <m...@ceti.pl>

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to