Bug 35054

Summary: warn if appBase is not existing as a File or directory
Product: Tomcat 5 Reporter: Ralf Hauser <hauser>
Component: CatalinaAssignee: Tomcat Developers Mailing List <dev>
Severity: enhancement    
Priority: P2    
Version: Nightly Build   
Target Milestone: ---   
Hardware: Other   
OS: All   
Attachments: HostConfig.java.patch

Description Ralf Hauser 2005-05-25 10:03:08 UTC
otherwise, it may very hard to find what is wrong
Comment 1 Ralf Hauser 2005-05-25 10:04:42 UTC
Created attachment 15162 [details]

a little bit more user-friendly
Comment 2 Ralf Hauser 2005-05-25 11:30:45 UTC
Created attachment 15163 [details]

yet more user-friendliness (and an error less)
Comment 3 Yoav Shapira 2005-07-21 23:45:24 UTC
I don't understand: your patches actually remove logging statements, yet the
title of this issue asks to add a warning, no?
Comment 4 Ralf Hauser 2005-07-22 06:45:29 UTC
Created attachment 15742 [details]

corrected - now using

diff -u HostConfig.java.orig HostConfig.java
Comment 5 Mark Thomas 2011-05-20 18:11:32 UTC
Specifying a non-existing appBase is not necessarily invalid. By default, Tomcat 7 will create the appBase if it does not already exist.

I have tweaked the tests Tomcat does in case a file is specified as an appBase.

I do not propose back-porting this to Tomcat 5 or 6.