DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8079>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8079

Tomcat cannot start if appBase directory is accessable but not readable.

           Summary: Tomcat cannot start if appBase directory is accessable
                    but not readable.
           Product: Tomcat 4
           Version: 4.0.3 Final
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I encounter a problem where my appBase is set to a directory, which only has 
the accessible permission (not readable) to the tomcat user.  This cause tomcat 
to generate a "NullExceptionPointer" exception during its startup.  After 
tracing trough the source code, the root cause is in "HostConfig.java" line 273 
where a null file[] object that is referenced is null.  This is because the 
code try to call the File.list() function to get a list of files in the appBase 
directory.  Is this really neccessary?  What happen if I do not want anyone to 
have "readablity" to my appBase except the directory's owner?

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to