It is done for security reasons so that the JVM instance for Tomcat isn't
using the same temp directory as other applicaitons on the system.
Also so that there is a common temp directory path that is system neutral.
This is more secure when you lock down Tomcat with the SecurityManager and
a
]
Reply-To: Tomcat Users List
[EMAIL PROTECTED]
To: Tomcat Users List
[EMAIL PROTECTED]
Subject: Re: Tomcat 4.0.4: Unnecessary
$TOMCAT/temp/ directory?
Thanks Glenn. The following Java API link has a
quick
blurb about the java.io.tmpdir system property:
http://java.sun.com/j2se
Thanks Glenn. The following Java API link has a quick
blurb about the java.io.tmpdir system property:
http://java.sun.com/j2se/1.3/docs/api/java/io/File.html#createTempFile(java.lang.String,
java.lang.String, java.io.File)
The JDK sets the default value for this property to be
/tmp on Unix and
On Sun, 18 Aug 2002, Eddie Ruvinsky wrote:
Date: Sun, 18 Aug 2002 17:52:18 -0700 (PDT)
From: Eddie Ruvinsky [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Tomcat 4.0.4: Unnecessary $TOMCAT/temp/ directory?
Thanks
Do not remove this temp directory. This is the temporary
directory configured in the Tomcat startup with
-Djava.io.tmpdir. This temp directory is used by the JVM
for internal things like jar files, etc.
Regards,
Glenn
Eddie Ruvinsky wrote:
I don't believe this is the case. According to the
When I unpacked the distribution of Tomcat 4.0.4, I
noticed an empty temp/ directory in the Tomcat root
directory. I don't believe it gets used anywhere in
the code. Should it be cleaned up?
Thanks,
Eddie
__
Do You Yahoo!?
HotJobs - Search
Hi Eddie:
When I unpacked the distribution of Tomcat 4.0.4, I
noticed an empty temp/ directory in the Tomcat root
directory. I don't believe it gets used anywhere in
the code. Should it be cleaned up?
No leave it. It will be used a temp directory in your servlet code
I don't believe this is the case. According to the
source, if the workDir attribute of StandardHost is
null (default case), the temp dir will be generated
inside $CATALINA_BASE/work/. Otherwise, it will be
generated in the StandardHost's workDir.
I believe that it's unused and doesn't belong