tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrien RUFFIE <a.ruf...@e-deal.com>
Subject Tomcat JMX remote
Date Thu, 06 Dec 2012 15:03:04 GMT
Hello all,

I have a tomcat6 installed in one debian,
But openjdk6 is installed and I try to active
JMX access on the throught the network
On my tomcat, but it doesn't work ...

I use following option (CATALINA_OPTS or JAVA_OPTS I have try two):
set CATALINA_OPTS=-Dcom.sun.management.jmxremote \
    -Dcom.sun.management.jmxremote.port=9999 \
    -Dcom.sun.management.jmxremote.ssl=false \
    -Dcom.sun.management.jmxremote.authenticate=true \
    -Dcom.sun.management.jmxremote.password.file=../conf/jmxremote.password \
    -Dcom.sun.management.jmxremote.access.file=../conf/jmxremote.access \

My tomcat is launched correctly with following jvm parameter:

root@rd4-was7:/usr/local# ps -ef | grep java
root     23943     1  0 15:30 pts/2    00:00:01 /usr/lib/jvm/java-6-openjdk/jre/bin/java -Djava.util.logging.config.file=/usr/local/tomcat6/conf/logging.properties
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Dcom.sun.management.jmxremote.port=9999
-Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false
-Djava.endorsed.dirs=/usr/local/tomcat6/endorsed -classpath /usr/local/tomcat6/bin/bootstrap.jar
-Dcatalina.base=/usr/local/tomcat6 -Dcatalina.home=/usr/local/tomcat6 -Djava.io.tmpdir=/usr/local/tomcat6/temp
org.apache.catalina.startup.Bootstrap start

But I cannot access with my JVisualVM:
Cannot connect to tomcat@192.168.101.160:9999<mailto:tomcat@192.168.101.160:9999> using
service:jmx:rmi///jndi/rmi://192.168.101.160:9999/jmxrmi

Tomcat of tomcat@192.168.101.160<mailto:tomcat@192.168.101.160> must be are a user on
my debian ? Because the current tomcat user is "tomcat6" on file system

Attached file is my catalina.sh

Any one have an idea ?

Bien cordialement,

[cid:image002.png@01CDD3CB.2C9AD9A0]<http://e-deal.biz/kd/9eZ>

[cid:image003.png@01CDD3C9.DC171580]<http://e-deal.biz/kd/UOh>[cid:image004.png@01CDD3C9.DC171580]<http://e-deal.biz/kd/X9Q>[cid:image005.png@01CDD3C9.DC171580]<http://e-deal.biz/kd/bTG>

Adrien RUFFIE
Ingénieur R&D

40, rue du Village d'Entreprises
31670 Labège
www.e-deal.com<http://www.e-deal.com/>


LD : +33 1 73 03 29 50
Std : +33 1 73 03 29 80
Fax : +33 1 73 01 69 77
a.ruffie@e-deal.com <mailto:a.ruffie@e-deal.com>


E-DEAL soutient le Pacte Mondial de l'ONU<http://e-deal.biz/kd/mPQ>


Mime
View raw message