Put it in the lib folder of tomcat directory. On Thu, Dec 16, 2010 at 2:11 PM, Fang Zhu <zhufan...@hotmail.com> 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 >