Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 8386 invoked from network); 15 Nov 2004 18:48:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 15 Nov 2004 18:48:48 -0000 Received: (qmail 77593 invoked by uid 500); 15 Nov 2004 18:48:29 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 77579 invoked by uid 500); 15 Nov 2004 18:48:29 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 77566 invoked by uid 99); 15 Nov 2004 18:48:29 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=HTML_20_30,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [147.92.2.11] (HELO ngw.bvu.edu) (147.92.2.11) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 15 Nov 2004 10:48:28 -0800 Received: from BVU-Gateways-MTA by ngw.bvu.edu with Novell_GroupWise; Mon, 15 Nov 2004 12:48:13 -0600 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.2 Date: Mon, 15 Nov 2004 12:48:03 -0600 From: "David Boyer" To: , Subject: Re: setting java options and verbosegc output Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=__PartBB9B6FF3.0__=" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 500/1000/N --=__PartBB9B6FF3.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit you might find this useful for fine-tuning JVM options: http://web.bvu.edu/staff/david/tcservcfg/ >>> jmcclain@tcshealthcare.com 11/15/2004 10:42:46 AM >>> Howdy, I am running tomcat as a service. How do I set options for the JVM to run. In particular, I wish to monitor garbage collection as I have run into a problem in my JNI/PowerBuilder Native Interface code that may be related to garbage collection.The problem is this.. When I run a standalone JNI app that accesses powerbuilder code, the app runs fine. When I run it in a webapp, It runs ok, as long as I am calling the servlet that accesses my JNI code quickly. When I wait 20 seconds and hit submit, the code hangs inside the PowerBuilder native code - BUT ONLY IF I WAIT A LITTLE WHILE. I know that the JVM gc should only cleanup java objects, but I would still like to see what is going on. how do I set -verbose:gc, and where can I see the output? Is there any other way to monitor the garbage collector that would give more detail? John McClain Senior Software Engineer TCS Healthcare jmcclain@tcshealthcare.com (530)886-1700x235 "Before you criticize someone, walk a mile in their shoes. That way, you'll be a mile from them, and you'll have their shoes." --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --=__PartBB9B6FF3.0__=--