Articles in the Tomcat Category
debian, Tomcat »

If you encounter the following error in Debian Lenny while installing Sun-Java-6:
This package is an installer package, it does not actually contain the
JDK documentation. You will need to go download one of the
archives:
jdk-6u12-docs.zip jdk-6u12-docs-ja.zip
The quickest way to fix this is to go to the Sun/Oracle Website and download the latest version of the jdk documentation. Place the file in the /tmp folder.
http://java.sun.com/javase/downloads/
debian, Linux, Tomcat »
Is your Debian install of Tomcat 5.5 not working with your Webapp?
Just a heads up for anyone with problems trying to get webapps working with Debian. I highly recommend installing Tomcat 6.0 from source. It helped clear a number of issues for me. Debian only supports Tomcat 5.5 in their package management system. I could have gone with unstable to get Tomcat 6.0, but I prefer not to deal with their folder organization layout (see below)
Here are a few resources I’ve used to install Tomcat 6.0 in Debian Lenny.
- How to Install Tomcat 6 in Debian Lenny. This is an excellent step-by-step tutorial. A+ in my book.
- http://www.mysql.com/downloads/connector/j/ Connector/J, MySQL JDBC Connector download.
- http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html. Tomcat 6.0 configuration with MySQL Connector/J JDBC.
Tomcat »
I’ve been starting work on getting JASIG CAS (Central Authentication Server) to work with all my applications. One of the requirements for JASIG is that it needs to run on Apache Tomcat. Following the instructions on http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html I was able to get the basics running on the Tomcat 5.5 server. However, I did encounter issues when trying to add in a *.WAR application to the server. I copied the files in the correct place /var/lib/tomcat5.5/webapps but for some reason the files weren’t getting deployed. I figured out the simple fix for getting these applications to work in the webapps folder:
