how/where to put the application patch on tomcat ?
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
Where should we deploy/put web application patch jar in Tomcat 5.5 ?
As we all know, we can put the web application jar under:/WEB-INF/lib I have abc.jar in the /WEB-INF/lib already, which contains all the application needs. We need to fix the bug inside th abc.jar, we create a patch jar, abcPatch.jar. We need to make sure when tomcat starts, the abcPatch.jar loaded before the abc.jar Can anyone give me some idea how/where to deploy the abcPatch.jar so it will be loaded before the abc.jar? -- all the classes in the abcPatch.jar will overwrite those with same name in abc.jar. I know I can unpackage the abcPatch.jar and put under /WEB-INF/classes folder, but this is not we are looking for. Thanks Michael _ Get back to school stuff for them and cashback for you. http://www.bing.com/cashback?form=MSHYCBpubl=WLHMTAGcrea=TEXT_MSHYCB_BackToSchool_Cashback_BTSCashback_1x1