Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 36083 invoked from network); 19 Sep 2008 18:12:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Sep 2008 18:12:32 -0000 Received: (qmail 33151 invoked by uid 500); 19 Sep 2008 18:12:17 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 33124 invoked by uid 500); 19 Sep 2008 18:12:17 -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 33113 invoked by uid 99); 19 Sep 2008 18:12:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Sep 2008 11:12:17 -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 [206.190.38.212] (HELO web51607.mail.re2.yahoo.com) (206.190.38.212) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 19 Sep 2008 18:11:18 +0000 Received: (qmail 41217 invoked by uid 60001); 19 Sep 2008 18:10:49 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=hpCMY28powxDQeM8gKp/st2uF09qmZFnRtZZ44Be2CsvrHvQlGaqz8r9hqEQkJkaQdP2CCXwhdXhGo/07pkrysuzSFsH+wGWUvXCRkt3Xem/4akxUkHeffERyQIQNH76RdPtf6Oy+2tx0Ls7oonVmqu/Hi4IukwzoeDpzlXckZQ=; X-YMail-OSG: My1yN3EVM1khIsw92NpMsMQVdMWeNtlL9YIL_XiHajCmeWclu0k0975LnB_c5akY3ONo8C4UPq3hfxIJSwOwnXenWNu6rFlmQHxEHDOMG0gbKXkfGt8trUXo7c9MYmU0F5koxQ-- Received: from [67.184.240.163] by web51607.mail.re2.yahoo.com via HTTP; Fri, 19 Sep 2008 11:10:49 PDT X-Mailer: YahooMailRC/1096.28 YahooMailWebService/0.7.218.2 Date: Fri, 19 Sep 2008 11:10:49 -0700 (PDT) From: Brian Clark Subject: jstack and Tomcat 6 on Windows To: Tomcat Users MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-155951479-1221847849=:39347" Message-ID: <933964.39347.qm@web51607.mail.re2.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --0-155951479-1221847849=:39347 Content-Type: text/plain; charset=us-ascii Hello, I run Tomcat 6.0.x as a service on Windows 2003, using Sun JDK 1.6. I was trying to use the jstack program, part of the JDK, to get a stack dump from Tomcat/Java on my server. However, I ran into a problem. First of all, Tomcat on Windows seems to "hide" the JVM instance. Java doesn't show up in my process listing. I tried running jstack against the Tomcat PID but it errored out. Any idea how to make jstack work with Tomcat running as a service on Win2k3? BTW: I can get a stack dump using a tool like Sun's VisualVM, but I wanted to use jstack as part of a script, which I obviously can't do with VisualVM. Thanks, Brian --0-155951479-1221847849=:39347--