How is the Tomcat temp directory location defined?

Posted by sdoca on Stack Overflow See other posts from Stack Overflow or by sdoca
Published on 2010-05-14T22:13:27Z Indexed on 2010/05/28 22:42 UTC
Read the original article Hit count: 305

Filed under:
|
|
|
|

I am running Tomcat bundled with Liferay5.2.3 and use Eclipse 3.5 (Galileo) as my IDE. I set up my Tomcat server in Eclipse as per this blog entry: http://www.jroller.com/holy/entry/developing_portlets_for_liferay_in. If I start Tomcat via the Eclipse server config, Liferay/Tomcat uses my C:\Documents and Settings\user\Local Settings\Temp\ directory. However, if I start Tomcat directly using the startup.bat script, Liferay/Tomcat uses the Tomcat temp directory. I can't figure out if Eclipse, Liferay or Tomcat is deciding which temp directory to use or how to change it. I would prefer to use the Tomcat temp directory.

I have this issue with both the Lifera/Tomcat bundles 5.5 and 6.0 (liferay-portal-tomcat-6.0-5.2.3.zip and liferay-portal-tomcat-5.5-5.2.3.zip).

Anybody have any clues?

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about tomcat