Saturday, January 26, 2008

I've been playing with moving some of my webapps on to an Ubuntu 7.10 environment containing the official Ubuntu Tomcat 5.5 packages (tomcat5.5, tomcat5.5-admin, tomcat5.5-webapps). I had a couple of problems getting my webapps to run.

When I initially deployed the application, I received errors like the following in Tomcat's catalina-*.log (/var/lib/tomcat5.5/logs):

The application was outputting additional error messages to the console, which were being captured in /var/log/daemon.log on my system. This application uses Spring, and was logging huge stack traces including the following:

After consulting a Java forum thread, I removed the /usr/share/tomcat5.5/common/endorsed/xml-apis.jar symlink and restarted Tomcat. After making this change, my application started and functioned correctly.