Adrien RUFFIE wrote:
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


I believe that you are not reading this correctly. I do not see the same parameters above and below..

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

Reply via email to