At SLAC tomcat is installed in:
/afs/slac.stanford.edu/package/jakarta
To be able to write to this area you need to be in group:
maint-pkg-jakarta
Currently the members of this group are:
tonyj
turri
chee
To install a new version (this may vary by major version):
Tomcat 6.0
(The mirror sites may vary, start from http://tomcat.apache.org)
http://www.devlib.org/apache/tomcat/tomcat-6/v6.0.30/bin/apache-tomcat-6.0.30.tar.gz
tar -xvzf apache-tomcat-6.0.30.tar.gz
rm apache-tomcat-6.0.30.tar.gz
wget http://www.devlib.org/apache/tomcat/tomcat-6/v6.0.30/bin/apache-tomcat-6.0.30-deployer.tar.gz
tar -xvzf apache-tomcat-6.0.30-deployer.tar.gz
rm apache-tomcat-6.0.30-deployer.tar.gz
(I am not sure we actually need the deployer).
Tomcat 5.5
wget http://www.trieuvan.com/apache/tomcat/tomcat-5/v5.5.31/bin/apache-tomcat-5.5.31.tar.gzhttp://www.trieuvan.com/apache/tomcat/tomcat-5/v5.5.31/bin/apache-tomcat-5.5.31.tar.gz
tar -xvzf apache-tomcat-5.5.31.tar.gz
rm apache-tomcat-5.5.31.tar.gz
(I am not sure where we are picking up the admin or deployer from? Maybe we have copies of them in the ~glast/tomcat? If so they should probably also be updated?)
All
To actually use the new version the setting for JAKARTA must be changed in e.g. ~srs/scripts/java-env.sh
Notes
There is now a tomcat 7.0, but perhaps we don't want to try it yet.
The Fermi servers are all running tomcat 5.5, maybe we could simplify things by changing to tomcat 6?