Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 43624 invoked from network); 12 Nov 2008 19:00:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Nov 2008 19:00:27 -0000 Received: (qmail 39116 invoked by uid 500); 12 Nov 2008 19:00:22 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 39087 invoked by uid 500); 12 Nov 2008 19:00:22 -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 39076 invoked by uid 99); 12 Nov 2008 19:00:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Nov 2008 11:00:22 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.61.61.105] (HELO usea-naimss3.unisys.com) (192.61.61.105) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Nov 2008 18:59:00 +0000 Received: from usea-nagw1.na.uis.unisys.com ([129.224.72.16]) by usea-naimss3 with InterScan Message Security Suite; Wed, 12 Nov 2008 12:59:21 -0600 Received: from usea-nagw1.na.uis.unisys.com ([129.224.72.51]) by usea-nagw1.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 12 Nov 2008 12:59:20 -0600 Received: from usea-nahubcas2.na.uis.unisys.com ([129.224.76.115]) by usea-nagw1.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 12 Nov 2008 12:59:20 -0600 Received: from USEA-EXCH7.na.uis.unisys.com ([129.224.76.38]) by usea-nahubcas2.na.uis.unisys.com ([129.224.76.115]) with mapi; Wed, 12 Nov 2008 12:59:20 -0600 From: "Caldarale, Charles R" To: Tomcat Users List Date: Wed, 12 Nov 2008 12:59:17 -0600 Subject: RE: Tomcat threads, II Thread-Topic: Tomcat threads, II Thread-Index: AclE60S2GdY0WT+aRiSlminnA/vEDgABv9rg Message-ID: <0AAE5AB84B013E45A7B61CB66943C17215A3810CBF@USEA-EXCH7.na.uis.unisys.com> References: <491AC9DC.5070900@ice-sa.com> <0AAE5AB84B013E45A7B61CB66943C17215A37C752F@USEA-EXCH7.na.uis.unisys.com> <491B0F11.70506@ice-sa.com> In-Reply-To: <491B0F11.70506@ice-sa.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 12 Nov 2008 18:59:20.0544 (UTC) FILETIME=[C50EF600:01C944F8] X-Virus-Checked: Checked by ClamAV on apache.org > From: Andr=E9 Warnier [mailto:aw@ice-sa.com] > Subject: Re: Tomcat threads, II > > I have turned it off now, and restarted Tomcat, but it > did not have any noticeable impact on the startup time. Wouldn't expect it to, since you're spending nearly all the time parsing th= at XML file. It may have an effect when you actually start processing requests, but the = impact may be small. > As far as I can tell, these settings come from the > "catalina.sh" script. I have no idea if this script > is modified, compared to the Official version. Yes, the Debians screwed it up, by trying to patch it to work with gcj (a f= utile and pointless task). The real script only adds the extra jars if you= specify an alternate secure sockets library with the JSSE_HOME environment= variable. > it seems to have survived (apart from bootstrap.jar, > which I had to leave) Yes, bootrstrap.jar is the only thing that should be on the classpath. > But that did not apparently reduce its startup time much. If your startup were not completely dominated by the XML parsing, you shoul= d see some difference. > If anything, it seems now to occupy more memory than before : > Is there an explanation for that ? No, the exact amount probably varies considerably over time and really isn'= t anything to worry about. > I also don't seem to be able to run JConsole. You'll need to attach remotely. Assuming your target system is protected f= rom potential threats by some external means, you can set jmxremote handlin= g without authentication by adding these parameters for starting Tomcat: -Dcom.sun.management.jmxremote.port=3D -Dcom.sun.management.jmxremote.authenticate=3Dfalse -Dcom.sun.management.jmxremote.ssl=3Dfalse (all on one line, of course). Use CATALINA_OPTS or JAVA_OPTS to set them. Then run JConsole from your desktop, and give it the IP address and JMX por= t of the Tomcat machine in the Remote Process box. Full reference is here: http://java.sun.com/j2se/1.5.0/docs/tooldocs/share/jconsole.html http://java.sun.com/j2se/1.5.0/docs/guide/management/agent.html - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MA= TERIAL and is thus for use only by the intended recipient. If you received = this in error, please contact the sender and delete the e-mail and its atta= chments from all computers. --------------------------------------------------------------------- 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