tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 51463] Tomcat.setBaseDir (package org.apache.catalina.startup) should use temp directory as default instead of current directory
Date Fri, 01 Jul 2011 18:31:32 GMT

Mark Thomas <> changed:

           What    |Removed                     |Added
           Severity|minor                       |enhancement

--- Comment #1 from Mark Thomas <> 2011-07-01 18:31:32 UTC ---
Java 7 doesn't help since Tomcat 7 must run on Java 6.

System.exec calls are incredibly fragile since they rely on correct OS

JNI requires a native library which (obviously) needs to be built for every
platform and adds a lot of overhead for relatively little benefit.

The current fall-back of using the user's home directory isn't great but it is
no worse (and may be slightly better) than using

Forcing basedir to be set and not starting if it isn't set is probably the best
option but that is something that probably needs to wait until Tomcat 8 since
changing this now is likely to lead to some unpleasant surprises for current

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message