Is there a way to change the temp folder used by jboss to store precompiled jsp pages?
I'm running jboss 3.2.0 in production on gentoo linux and I don't want the precompiled jsps deleted by the tmpwatch cronjob. Normally this isn't a problem due to traffic but over the holidays we had some files deleted and jboss did not handle this well.
My options are to change the cronjob and/or remove it or to change the location where jboss stores these files. I would prefer to place the files into the server directory temp folder but do not know how to go about doing that.
Have you tried adding to JAVA_OPTS the following:
This works for Jetty and should work for Tomcat but I haven't personally tried this for Tomcat.
You'll need to create the directory with the correct permissions so that the JBoss process can write the temporary files to the directory.
Hope that helps.