Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C2CA8226C for ; Sun, 1 May 2011 14:53:09 +0000 (UTC) Received: (qmail 50461 invoked by uid 500); 1 May 2011 14:53:08 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 50383 invoked by uid 500); 1 May 2011 14:53:08 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 50374 invoked by uid 99); 1 May 2011 14:53:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 May 2011 14:53:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 May 2011 14:53:06 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 0F8177F8; Sun, 1 May 2011 14:52:45 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Sun, 01 May 2011 14:52:44 -0000 Message-ID: <20110501145244.16588.89950@eos.apache.org> Subject: =?utf-8?q?=5BTomcat_Wiki=5D_Update_of_=22FAQ/Miscellaneous=22_by_pfix?= X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for ch= ange notification. The "FAQ/Miscellaneous" page has been changed by pfix. http://wiki.apache.org/tomcat/FAQ/Miscellaneous?action=3Ddiff&rev1=3D19&rev= 2=3D20 -------------------------------------------------- 1. [[#Q26|How do I debug JSP errors in the Admin web application?]] 1. [[#Q27|What order do webapps start (or How can I change startup order= )?]] 1. [[#Q28|What's the different between a Valve and Filter?]] + 1. [[#Q29|How do I set system properties at startup?]] = =3D=3D Answers =3D=3D = @@ -108, +109 @@ Odds are, it might be the garbage collector going wacky. = In 1.4.1 JVMs there is a memory leak which could hampering the garbage co= llector. [[http://developer.java.sun.com/developer/bugParade/bugs/4724129.h= tml|More information]] Otherwise - get a memory profiler and/or tweak your = memory settings. - = - How do I set system properties at startup? - Set JAVA_OPTS to be something BEFORE calling startup.bat or before callin= g catalina.bat. (or you can edit those files, but it isn't advised) - = - Example (windows): {{{SET JAVA_OPTS=3D'-DpropName=3DpropValue' }}} - = - Example (UNIX): {{{export JAVA_OPTS=3D'-DpropName=3DpropValue' }}} - = - Windows service users - use [[http://web.bvu.edu/staff/david/tcservcfg/|t= his]] - = = <
> = @@ -353, +344 @@ = If you can achieve the desired functionality with a Filter, it is the pre= ferred way to go. = + <
> + = + <>'''How do I set system properties at startup?''' + = + Set JAVA_OPTS to be something BEFORE calling startup.bat or before callin= g catalina.bat. (or you can edit those files, but it isn't advised) + = + Example (windows): {{{SET JAVA_OPTS=3D'-DpropName=3DpropValue' }}} + = + Example (UNIX): {{{export JAVA_OPTS=3D'-DpropName=3DpropValue' }}} + = + Windows service users - use [[http://web.bvu.edu/staff/david/tcservcfg/|t= his]] + = + = ---- [[CategoryFAQ|CategoryFAQ]] =20 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org