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)
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.