tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Jconsole working without using any extra System property with Tomcat6.0 started using Intellij Idea 7.0
Date Mon, 29 Sep 2008 11:06:05 GMT
Choudhury@labware.com wrote:
> Hi Guys,
>                     I am running tomcat 6.0 which is confgured through 
> Intellij Idea . My objective was to run Jconsole to see it in action . 
> Basically I didn't tinker with the catalina.bat file(whatever comes 
> bundled with Tomcat) at all . Intellij uses the catalina.bat as a startup 
> and and as shutdown script . So nowhere I set the "
> -Dcom.sun.management.jmxremote" parameter that needs to be used in order 
> to attach the JMX agent to the Java app in order to get some results using 
> the Jconsole. But when I run tomcat through Intellij Idea and when I start 
> Jconsole , it is detecting " org.apache.catalina.startup.Bootstrap start " 
> as one of the local process ....
> 
> Who is setting the "-Dcom.sun.management.jmxremote" parameter in my case ? 
No-one. com.sun.management.jmxremote=true by default. See
http://java.sun.com/javase/6/docs/technotes/guides/management/agent.html

Mark



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message