Re: Tomcat 4.0.4: Unnecessary $TOMCAT/temp/ directory?

2002-08-19 Thread Glenn Nielsen
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

Re: Tomcat 4.0.4: Unnecessary $TOMCAT/temp/ directory?

2002-08-19 Thread Eddie Ruvinsky
] 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

Re: Tomcat 4.0.4: Unnecessary $TOMCAT/temp/ directory?

2002-08-18 Thread Eddie Ruvinsky
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

Re: Tomcat 4.0.4: Unnecessary $TOMCAT/temp/ directory?

2002-08-18 Thread Craig R. McClanahan
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

Re: Tomcat 4.0.4: Unnecessary $TOMCAT/temp/ directory?

2002-08-17 Thread Glenn Nielsen
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

Tomcat 4.0.4: Unnecessary $TOMCAT/temp/ directory?

2002-08-16 Thread Eddie Ruvinsky
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

Re: Tomcat 4.0.4: Unnecessary $TOMCAT/temp/ directory?

2002-08-16 Thread Mona Wong-Barnum
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

Re: Tomcat 4.0.4: Unnecessary $TOMCAT/temp/ directory?

2002-08-16 Thread Eddie Ruvinsky
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