Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368389 - Set java.io.tmpdir property when creating a Tomcat server
Summary: Set java.io.tmpdir property when creating a Tomcat server
Status: NEW
Alias: None
Product: WTP ServerTools
Classification: WebTools
Component: wst.server (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: wst.server CLA
QA Contact: Elson Yuen CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-11 13:54 EST by Tim Astle CLA
Modified: 2012-01-11 13:54 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Astle CLA 2012-01-11 13:54:18 EST
Build Identifier: Version: Indigo Service Release 1 Build id: 20110916-0149

When creating a Tomcat server, the -Djava.io.tmpdir is not set.  This is very odd considering that a workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\temp directory is created.  I would expect that by default the following would be set when a Tomcat server is created:

-Djava.io.tmpdir=PATH_TO\.metadata\.plugins\org.eclipse.wst.server.core\tmpN\temp

Currently since this is not set, the output can vary depending on the system and can lead to confusion.

Reproducible: Always

Steps to Reproduce:
1. Create a Tomcat server
2. Double click the Tomcat server to bring up the Overview window.
3. Select the Open Launch Configuration link.
4. Select the Arguments tab
5. Note that the VM arguments text area does not have a -Djava.io.tmpdir set.