tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andres Aguado <>
Subject Enabling JMX Remote Ports to connect Tomcat server remotelly with jconsole tool
Date Thu, 09 Feb 2012 12:51:37 GMT
Hi Guys!

    First of all, I want to be grateful for help. I'm (very) newbie
with apache-tomcat world, level 1 (I've installed Tomcat sucessfully
once ;-) )

    Well, I've a Tomcat 5.5.27 version with an application in
production environment and i've installed the same version for windows
on a VM-WiXP to test configuration before applying changes to
production server
    And I want to monitorize the application remotelly through
jconsole. So, I've added this lines to catalina startup script:

set (When all works I'll
add authentication, but now i need to run jconsole.)

   Now I'm accesible to 8999 port (RMI Registry?) telneting, but
jconsole outputs a connection error. I've executed netstat -an command
and I've seen that 8999 port connextion is STABLISHED, but there is
another port (48657) to the tomcat ip in SYN_WAIT.

    Well, I've been reading documentation and it seems that i must
configure manually an additional port to connect through jconsole
because this port is a random port (RMIServer and RMIConnection?) and
it's a problem to gain access through firewalls

    I've been reading more information and I've arrived to this document

     Then, I've added <Listener
namingPort="8999" port="48657" host="tomcatservername" />

     This is the point i'm blocked. Tomcat doesn't start, and
catalina.out file shows this error:

SEVERE: Begin event threw exception

    I've been looking for JMXAdaptorLifecycleListener, but i don't
know how to make it works.

Could anyone help me?

Thanks and regards
Andres Aguado

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message