In /etc/conf.d/tomcat-5.5, it says this: # (Optional) Directory path location of temporary directory the JVM should # use (java.io.tmpdir). Defaults to $CATALINA_BASE/temp. CATALINA_TMPDIR="/var/tmp/tomcat-5.5/" But, as far as I can see, CATALINA_TMPDIR is never set if this "optional" line is removed. I'll upload a patch to /etc/init.d/tomcat-5.5 that I think fixes the problem (code taken from tomcat's catalina.sh)
Created attachment 97549 [details, diff] Patch to /etc/init.d/tomcat-5.5 Sets CATALINA_TMPDIR if not set, in line with information in /etc/conf.d/tomcat-5.5 (and as per upstream catalina.sh)
Ok sorry about that must have missed that and the other when making the init script some time back. Interesting no one has caught those till now. Although we have had some other issues with the init script and logging. Thanks for catching that and for the patch. I have made the changes in the init script and committed to tree. Closing bug.