https://issues.apache.org/bugzilla/show_bug.cgi?id=47680



--- Comment #2 from Konstantin Kolinko <knst.koli...@gmail.com> 2009-08-11 
20:09:50 PDT ---
I think that this is caused by Unix permissions: I think that the user running
Tomcat cannot create the following directory:

/export/people/tomcat/apache-tomcat-6.0.20/webapps/biorep


Note, that File.mkdirs() does not throw an IOException on failures, so I think
the following happens inside of ExpandWar#expand():
 - if (docBase.exists()) check is false
 - docBase.mkdir(); call silently fails
 - parent.mkdirs(); call silently fails
 - expand(input, docBase, name) fails to open the file for writing and throws
the exception

By the way, besides ignored mkdir errors, there are other things that are
wrong:
2. " Exception fixing docBase: {0}" message with an unfilled placeholder
3. java.lang.NullPointerException  in
StandardContext.getBasePath(StandardContext.java:4840)
apparently caused by null docBase
4. "However I can access the web application fine" phrase -- is the app just
running off an unexpanded war ?

-- 
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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to