Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 45201 invoked from network); 2 Feb 2010 20:54:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Feb 2010 20:54:16 -0000 Received: (qmail 76698 invoked by uid 500); 2 Feb 2010 20:54:12 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 76602 invoked by uid 500); 2 Feb 2010 20:54:12 -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 76590 invoked by uid 99); 2 Feb 2010 20:54:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 20:54:12 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ljnelson@gmail.com designates 209.85.211.199 as permitted sender) Received: from [209.85.211.199] (HELO mail-yw0-f199.google.com) (209.85.211.199) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 20:54:02 +0000 Received: by ywh37 with SMTP id 37so466202ywh.32 for ; Tue, 02 Feb 2010 12:53:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=zTv9I6ml4JeNuhDb4GkSAMW9rwcRfLdklpzibJgv09w=; b=BUPpp30zukbKJwyinaB0xrmzDKpDk/1EqHDldTIlFoRwQq6keOJXorKCxeYpYUWJtm DwnLKTzMENRJ+wJ5H50pJOKXedxFTApxfxNGBxHZhSDN674LMlADx10FWK3avzOoY4+d U3oVKg4x8MqPLau0+vJNkVtqc4gyXPpjJrAyg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ktuzGIxaRfUGlHf2XtxcNAQbvtfhrg2Yh5uUFoGJ0OAArs1DgOzXXctKgwk/TgSYD3 Ep3zsFwxkp5nRpCDRqhA2mJphfHJnAs6Dj+a6OHVNFruj0jL4WhY9sPt2gE9YrObvxAJ Z3HIqh6Xmm0c929HJceys4Msl402wDBE0uIqQ= MIME-Version: 1.0 Received: by 10.150.25.22 with SMTP id 22mr9523068yby.106.1265144022181; Tue, 02 Feb 2010 12:53:42 -0800 (PST) Date: Tue, 2 Feb 2010 15:53:42 -0500 Message-ID: <2c0ebf0c1002021253i6f8a1938y35d89ce39f1b3ba3@mail.gmail.com> Subject: Still unable to get a heap dump from Tomcat running on Windows as a service From: Laird Nelson To: Tomcat Users List Content-Type: multipart/alternative; boundary=000e0cd7570e0827d6047ea44cf8 --000e0cd7570e0827d6047ea44cf8 Content-Type: text/plain; charset=ISO-8859-1 I am still unable to get Tomcat to dump heap when it encounters an OutOfMemoryError. My StackOverflow topic sums up what I've tried so far: http://stackoverflow.com/questions/2172220/can-i-get-tomcat-running-as-a-service-to-dump-heap I'm using the graphical program that comes up when you select "Monitor Tomcat" from the Windows Start Menu. I assume this is TomcatW.exe? I have Tomcat 6.0.20 running as a service under the default local user account, set to be allowed to interact with the desktop (I don't know if this is necessary; I've tried it both ways with no effect on the outcome). I've attempted to switch the startup mode to "java" from "jvm" to see if that would make a difference, but in that case the service simply won't start. I've specified -XX:HeapDumpPath=C:\crap, and -XX:HeapDumpPath=C:/crap to no avail. C:\crap is world readable and writable. I've set the working path for the Startup and Shutdown tabs to C:\crap and C:/crap with no effect. I've set memory to a minimum of 512 and a maximum of 1024 MB. Finally, following the example of what was already there in the text box, I entered the JVM options one per line. The tomcat documentation says to enter them separated by either a "#" or a ";", but I suspect that the GUI tool may be taking them and turning line breaks into "#" characters for me. Does anyone have any other suggestions to try before giving up on Tomcat in favor of either Jetty or (God help me) JBoss? Thanks much, Laird --000e0cd7570e0827d6047ea44cf8--