I recently installed openSuSE 11 and Tomcat 6.0.16 on a virtual machine to do some testing. As far as I can tell, Tomcat 6 appears to be broken with this release.
There are a number of problems. It looks like things began to move relative to Tomcat 5.5, but are incomplete.
The links under /usr/share/tomcat are broken in a couple of places. “work” goes to /var/cache/tomcat6, and “temp” goes to /var/cache/tomcat6/temp (which doesn’t exist), which is UNDER the work directory … can that be right?
The bigger issue I can’t get around is the deployment descriptors. There is no longer a “Catalina” directory under /etc/tomcat6, and web applications’ META-INF/context.xml files are being ignored.
Lastly, there is no longer an “rctomcat6”, and worse, there does not seem to be a way to make Tomcat run at startup - “chkconfig tomcat6 on” is simply ignored.
The good news is that all of these things CAN be fixed, and then Tomcat 6 will run. But I would hate to be a new user trying to figure out why Tomcat 6 doesn’t work as it should out-of-the-box.
Here’s how I fixed my installation:
created /var/cache/tomcat6/work and /var/cache/tomcat6/temp
changed the owner of these directories to “tomcat”
fixed the related links under /usr/share/tomcat.
Created /etc/tomcat6/Catalina
changed the owner to Tomcat
Still have to manually start Tomcat after a reboot. But that works for me, as I am only testing.