Anamika raj wrote:
> I searched a lot for the setting of the jconsole to monitor tomcat
> locally......i got every where it is saying to set or edit
> CATALINA_OPTS="-Dcom.sun.management.jmxremote \
> -Dcom.sun.management.jmxremote.port=9004 \
> -Dcom.sun.management.jmxremote.ssl=false \
> -Dcom.sun.management.jmxremote.authenticate=false"
> 
> SOMETHING LIKE THIS.
> i m not getting how to do it.
> 
> can any body tell me in simple steps how can i set the jconsole to monitor
> the tomcat application.
> i want step by step what i need to do for that.

Assuming Tomcat 6.0.18 running on linux

1. Install clean Tomcat from ASF
2. create CATALINA_HOME/bin/setenv.sh
3. Make it executable
4. Add the following to setenv.sh
export CATALINA_OPTS="-Dcom.sun.management.jmxremote"
5. Start Tomcat
6. Run JConsole on same machine
7. Connect to process called somthing like org.apache.catalina.startup.Bootstrap

Mark


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

Reply via email to