Sunday, November 09, 2008

Eclipse 3.4 with Tomcat5.5 on Debian Sid

If you've installed Tomcat5.5 on Debian Sid, it's likely broken. You'll see the error message:

invalid CATALINA_BASE specified failed!

The default value for CATALINA_BASE=/var/lib/tomcat5.5, but that directory doesn't exist. With Eclipse 3.4, the CATALINA_BASE variable should be CATALINA_BASE=/usr/lib/eclipse/plugins/org.eclipse.tomcat_5.5.17
in /etc/default/tomcat5.5. You will also have to create the following directories like so:
mkdir -p /usr/lib/eclipse/plugins/org.eclipse.tomcat_5.5.17/temp
mkdir -p /usr/lib/eclipse/plugins/org.eclipse.tomcat_5.5.17/work
mkdir -p /usr/lib/eclipse/plugins/org.eclipse.tomcat_5.5.17/logs

Restarting tomcat via: /etc/init.d/tomcat5.5 start or /etc/init.d/tomcat5.5 restart will then work. Linux suffers from the UNIX disease. There is no standard file hierarchy and it wastes a lot of time and effort of programmers and system administrators just configuring something to work.

Labels:


Comments: Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?