tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andres Aguado <>
Subject Re: Enabling JMX Remote Ports to connect Tomcat server remotelly with jconsole tool
Date Thu, 09 Feb 2012 17:49:33 GMT
Ok, i've got it up!!. I've copied .class file into a directory that i
must create; C:\apache-tomcat-5.5.27\server\lib\org\apache\catalina\mbeans.

Also, i must delete lines into catalina.bat startup file

because i receive an error about rmi in use. Now tomcat is running and
both ports 8999 and 8084 defined in server.xml

<Listener className="org.apache.catalina.mbeans.JMXAdaptorLifecycleListener"

          namingPort="8999" port="8084" host="tomcat-server-name" />

Now, to enable authentication, is it simillar than in catalina.bat?

Well, i think that i'm going to continue tomorrow, it's a good end of day

Thanks for your responses

2012/2/9 Andres Aguado <>:
> Great, it's great!. First obstacle overcomed. Now, i've compiled .java
> file and it's been created a .class file. Now i've got this .class
> file and i've added it to catalina.jar and catalina-optional.jar, but
> when i try to start catalina script other error appears in
> catalina.out, like this:
> GRAVE: Begin event threw exception
> java.lang.ClassNotFoundException:
> org.apache.catalina.mbeans.JMXAdapterLifecycleListener
>        at$ Source)
>        at Method)
> .......
> ADVERTENCIA: Catalina.start using conf/server.xml:
> java.lang.ClassNotFoundException:
> org.apache.catalina.mbeans.JMXAdapterLifecycleListener
> ......
> Thanks and regards,
> Andres
> 2012/2/9 Caldarale, Charles R <>:
>>> From: Pid []
>>> Subject: Re: Enabling JMX Remote Ports to connect Tomcat server remotelly with
jconsole tool
>>> > warning: [path] bad path element
>>> > "C:\apache-tomcat-5.5.27\server\lib\catalina.jar:C:\apache-tomcat-5.5.27\bin\commons-logging-api-1.1.1.jar":
>>> > no such file or directory
>>> The colon character is a path separator.  You have it in
>>> the C: part of each path.
>> Actually, the colon is _not_ a path separator here, it's a drive delimiter.  It's
the attempted use of the colon elsewhere that causes the problem; it should be a semi-colon
on Windows:
>> C:\apache-tomcat-5.5.27\server\lib\catalina.jar;C:\apache-tomcat-5.5.27\bin\commons-logging-api-1.1.1.jar
>>  - Chuck
and is thus for use only by the intended recipient. If you received this in error, please
contact the sender and delete the e-mail and its attachments from all computers.
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> For additional commands, e-mail:

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

View raw message