tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
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:41:03 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51463

--- Comment #2 from Rodney Beede <business2008+issues.apache.org@rodneybeede.com> 2011-07-01
18:41:03 UTC ---
Agreed.


(In reply to comment #1)
> 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
> detection.
> 
> 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 java.io.tmp.
> 
> 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
> users.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message