Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 36238 invoked from network); 29 Sep 2008 11:38:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Sep 2008 11:38:53 -0000 Received: (qmail 72748 invoked by uid 500); 29 Sep 2008 11:38:40 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 72722 invoked by uid 500); 29 Sep 2008 11:38:40 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 72711 invoked by uid 99); 29 Sep 2008 11:38:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Sep 2008 04:38:40 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.253.125.13] (HELO www.labware.com) (208.253.125.13) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Sep 2008 11:37:39 +0000 In-Reply-To: <48E0B69D.4050305@apache.org> To: "Tomcat Users List" Subject: Re: Jconsole working without using any extra System property with Tomcat6.0 started using Intellij Idea 7.0 MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.1 January 21, 2004 Message-ID: From: Choudhury@labware.com Date: Mon, 29 Sep 2008 17:08:06 +0530 X-MIMETrack: Serialize by Router on LW-US-SRV1/LW-US(Release 8.0.2|August 07, 2008) at 09/29/2008 07:38:33 AM, Serialize complete at 09/29/2008 07:38:33 AM Content-Type: multipart/alternative; boundary="=_alternative 003FE94B652574D3_=" X-Virus-Checked: Checked by ClamAV on apache.org --=_alternative 003FE94B652574D3_= Content-Type: text/plain; charset="US-ASCII" Thanks Mark .I got my answer in the the following line in the document mentioned by you: " In other words, any application that is started in the Java SE 6 HotSpot VM is detected automatically by JConsole, and does not need to be started using the above command-line option." Regards, Subhrajyoti Mobile: +919830079545 Mail: choudhury@labware.com Web: www.labware.com LabWare LIMS Solutions - Results Count Mark Thomas 09/29/2008 04:36 PM Please respond to "Tomcat Users List" To Tomcat Users List cc Subject Re: Jconsole working without using any extra System property with Tomcat6.0 started using Intellij Idea 7.0 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 --=_alternative 003FE94B652574D3_=--