Hi >> CATALINA_OPTS="-Dcom.sun.management.jmxremote \ >> -Dcom.sun.management.jmxremote.port=9004 \ >> -Dcom.sun.management.jmxremote.ssl=false \ >> -Dcom.sun.management.jmxremote.authenticate=false"
Just add the following as 1'st line's into u'r " /TOMCAT/bin/Catalina.bat ( .sh on Unix /Linux) Start the tomcat server now using startu.bat ( .sh ) , This should not show any exception message on the console (windows) or "/logs/catalian.out" If non, then run the command "jconsole" under JDK6 or 5/bin U would be asked for the <IP address;port> specify the same as per the " jmxremote.port" This will get the screen activated .... With regards Karthik -----Original Message----- From: Anamika raj [mailto:rajnam...@gmail.com] Sent: Saturday, May 09, 2009 11:47 AM To: users@tomcat.apache.org Subject: Re: how to setup jconsole to monitor tomcat locally hi i m not getting the meaning of that [ " create CATALINA_HOME/bin/setenv.sh 3. Make it executable 4. Add the following to setenv.sh export CATALINA_OPTS="-Dcom.sun.management.jmxremote" "] please tell me if i did right i created one batch file setenv.bat and made directory structure like CATALINA_HOME/bin/ and saved that file here. what else i have ti write in that file?i wrote export CATALINA_OPTS="-Dcom.sun.management.jmxremote" line only into the file. but i am not able to run this file. please tell me clearly the meaning of that line thanx Mark Thomas-18 wrote: > > 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 > > > -- View this message in context: http://www.nabble.com/how-to-setup-jconsole-to-monitor-tomcat-locally-tp23441354p23457671.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org