KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
after reading and trying a lot around, I have to ask if anyone has a solution for my problem. I am trying to set up some Tomcats (V6) behind a firewall. This is no big deal - but I want to monitor them via JMX. I read the TC docu and came across the JMXRemoteLifecycleListener . My test TC installation is set up exactly as stated in the above link. Thus I don't get a connection from one host in our network to another. Additionally a third, random port is open every time I start TC. In my server.xml the listener is activated <Listener className="org.apache.catalina.mbeans.JmxRemoteLifecycleListener" rmiRegistryPortPlatform="8050" rmiServerPortPlatform="8060" /> catalina.out says that everything is okay. 2011-06-14 16:46:48,819 [main] INFO org.apache.catalina.mbeans.JmxRemoteLifecycleListener- The JMX Remote Listener has configured the registry on port 8050 and the server on port 8060 for the Platform server The ports are open, I can connect to them via telnet from any other host. I am able to connect to to the vm locally with ( service:jmx:rmi://<hostname>:8xxx/jndi/rmi://<hostname>:8xxxx/jmxrmi ) Netstats output is as follows: tcp6 0 0 :::8080 :::* LISTEN 11291/java tcp6 0 0 :::8050 :::* LISTEN 11291/java tcp6 0 0 :::8060 :::* LISTEN 11291/java tcp6 0 0 127.0.0.1:8005 :::* LISTEN 11291/java tcp6 0 0 :::60901 :::* LISTEN 11291/java tcp6 0 0 127.0.0.1:8009 :::* LISTEN 11291/java Tomcat is even started with all sufficient VM option
Tags (comma-separated)
Save Edits
Cancel