Hello, that's what i've read from the same url but my tomcat runs under windows, as a service. With Tomcat 6, there's only a binary file (tomcat.exe) within %TOMCAT_HOME%\bin so there's no other way but configuring CATALINA_OPTS through the Panel System. That's what I did but it seems that the "-Dcom.sun.management.jmxremote" options are not read - For example: I set "-Dcom.sun.management.jmxremote.port=9999". So when I try to access it with JConsole : "service:jmx:rmi:///jndi/rmi://localhost:9999/jmxrmi" --> Connexion failed (with 8888 it's OK)
Any other idea ? Cheers > Message du 17/04/08 16:59 > De : "Antonio Vidal Ferrer" > A : "'Tomcat Users List'" , "'ZB'" > Copie à : > Objet : RE: Tomcat and jmx > > Well, it can be done via CATALINA_OPTS. > > For example: > > setenv CATALINA_OPTS "-Dcom.sun.management.jmxremote \ > -Dcom.sun.management.jmxremote.port=8123 \ > -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" > > You can check this here: > http://tomcat.apache.org/tomcat-5.5-doc/monitoring.html > > Best > > Toni. > > > > -----Original Message----- > From: ZB [mailto:[EMAIL PROTECTED] > Sent: jueves, 17 de abril de 2008 15:38 > To: users@tomcat.apache.org > Subject: Tomcat and jmx > > Hi everybody, > > > i would like to monitor my Tomcat 6.0 with another port instead of 8888. > How can I change the VM arguments within my Tomcat Service (Windows XP) > > Thank you > > JLucas > > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > >