1. download Tomcat 5.x, http://www.reverse.net/pub/apache/jakarta/tomcat-5/v5.0.30/bin/jakarta-tomcat-5.0.30.tar.gz or http://www.reverse.net/pub/apache/jakarta/tomcat-5/v5.0.30/bin/jakarta-tomcat-5.0.30.zip
2. [un] tar/zip the Tomcat download.
3. modify this snippet to correctly point to the right properties file:
4. modify "/
5. modify "/
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" debug="0" scheme="https" secure="true"
keystoreFile="${user.home}/.keystore" keystorPass="yourpassword"
clientAuth="false" sslProtocol="SSL" />
6. copy "~/.maven/repository/commons-logging/jar/commons-logging-1.0.4.jar" into "/
7. copy "~/.maven/repository/log4j/jars/1og4j-1.2.8.jar" into "/
8. copy "~/.maven/repository/j2ee/jars/j2ee-1.4.jar" into "/
9. lastly, to run the build/deploy to build the war and copy into "/
10. startup tomcat, "/
Using Tomcat has sped up my build/deploy time from >=160s to <=30s, hooray for Tomcat.
NOTE:
If you're on Linux and downloaded the JDK from Sun, double-check that "javac" has executable permissions.
No comments:
Post a Comment