Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 66720 invoked from network); 16 Dec 2010 22:47:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Dec 2010 22:47:49 -0000 Received: (qmail 37717 invoked by uid 500); 16 Dec 2010 22:47:46 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 37575 invoked by uid 500); 16 Dec 2010 22:47:45 -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 37566 invoked by uid 99); 16 Dec 2010 22:47:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Dec 2010 22:47:45 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aw@ice-sa.com designates 212.85.38.228 as permitted sender) Received: from [212.85.38.228] (HELO tor.combios.es) (212.85.38.228) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Dec 2010 22:47:36 +0000 Received: from [192.168.245.129] (p549E0A82.dip0.t-ipconnect.de [84.158.10.130]) by tor.combios.es (Postfix) with ESMTPA id A77982263F9 for ; Thu, 16 Dec 2010 23:42:00 +0100 (CET) Message-ID: <4D0A96D6.2060300@ice-sa.com> Date: Thu, 16 Dec 2010 23:46:46 +0100 From: =?ISO-8859-1?Q?Andr=E9_Warnier?= Reply-To: Tomcat Users List User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: how/where to put the application patch on tomcat ? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Fang Zhu wrote: > > > > > Does anyone has a idea -- > > how/where to put appPatch.jar to the tomcat, so tomcat can load this appPatch.jar first, > before those jars under /WEB-INF/lib/*.jar ? > > according to the document, we can specify the -Xbootclasspath/p appPatch.jar, but > I have no idea how to make it work. > > Any help will highly appreicated! > > We start the tomcat this way: > > $JAVA_HOME/bin/java -Xms16m -Xmx32m -Djava.endorsed.dirs=/opt/apache-tomcat-5.5.26/common/endorsed -Duser.dir=/opt/apache-tomcat-5.5.26/servers/sandiego-dev1 -classpath /opt/apache-tomcat-5.5.26/bin/bootstrap.jar:/opt/apache-tomcat-5.5.26/bin/commons-logging-api.jar -Dcatalina.base=/opt/apache-tomcat-5.5.26/servers/sandiego-dev1 -Dcatalina.home=/opt/apache-tomcat-5.5.26 -Djava.io.tmpdir=/opt/apache-tomcat-5.5.26/temp org.apache.catalina.startup.Bootstrap start > It may be good to mention /why/ you want to have it loaded first. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org