DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=29038>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29038 HostConfig.deployWars() might not create context xml for auto-deployed .war files Summary: HostConfig.deployWars() might not create context xml for auto-deployed .war files Product: Tomcat 5 Version: 5.0.19 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When a war file ist autodeployed a context xml should be automatically created in the $CATALINA_BASE/<engine>/<host> directory. In org.apache.catalina.startup.HostConfig.deployWars() the line ostream = new BufferedOutputStream(new FileOutputStream(xml), 1024); can fail because the parent directories of xml might not exist. The exception is silently swallowed. Solution: add xml.mkdirs(); before that line. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
