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=37041>. 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=37041 Summary: ActionServlet locks jars in web-inf/lib after reading config files Product: Struts Version: 1.3.0 Platform: Other OS/Version: All Status: NEW Keywords: PatchAvailable Severity: critical Priority: P2 Component: Controller AssignedTo: dev@struts.apache.org ReportedBy: [EMAIL PROTECTED] Using Tomcat Manager we have fallen in a known problem: http://jakarta.apache.org/tomcat/faq/windows.html#lock http://issues.apache.org/bugzilla/show_bug.cgi?id=29526 http://www.mail-archive.com/ojb-dev@db.apache.org/msg00474.html The solution is to use URLConnection instead of URL to read the inputStream and set to false the UseCache boolean. Here is the patch for method parseModuleConfigFile(Digester digester, URL url) 26a27 > import java.net.URLConnection; 741c742,745 < input = url.openStream(); --- > URLConnection conn = url.openConnection(); > conn.setUseCaches(false); > conn.connect(); > input = conn.getInputStream(); Thanks for a quick submit, Filippo -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]