tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andres Aguado <andriu....@gmail.com>
Subject Re: Enabling JMX Remote Ports to connect Tomcat server remotelly with jconsole tool
Date Fri, 10 Feb 2012 11:03:01 GMT
Hi, today I'm very happy because now it's working fine.

Finally, server.xml has these new lines

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

          namingPort="48657" port="8999" host="server-ip" />

and catalina startup script has these new lines

set CATALINA_OPTS=-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=true
-Dcom.sun.management.jmxremote.password.file=%CATALINA_HOME%/conf/jmxremote.password
-Dcom.sun.management.jmxremote.access.file=%CATALINA_HOME%/conf/jmxremote.access

and now i'm connected with jconsole running this connection chain,
with credentials defined in jmxremote.passord and jmxremote.access

service:jmx:rmi://server-ip:8999/jndi/rmi://server-ip:48657/server

Again, thank you very much for your help

Regards,
Andres

2012/2/9 Pid * <pid@pidster.com>:
> On 9 Feb 2012, at 17:10, "Caldarale, Charles R"
> <Chuck.Caldarale@unisys.com> wrote:
>
>>> From: Pid [mailto:pid@pidster.com]
>>> 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
>
> Erk. FAIL.
>
>
> p
>
>
>>
>> - Chuck
>>
>>
>> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL
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: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message