Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 84794 invoked from network); 12 Oct 2005 00:06:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Oct 2005 00:06:52 -0000 Received: (qmail 48568 invoked by uid 500); 12 Oct 2005 00:06:50 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 48485 invoked by uid 500); 12 Oct 2005 00:06:50 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 48471 invoked by uid 99); 12 Oct 2005 00:06:49 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Oct 2005 17:06:49 -0700 Received: by ajax.apache.org (Postfix, from userid 99) id 81A96515; Wed, 12 Oct 2005 02:06:28 +0200 (CEST) From: bugzilla@apache.org To: commons-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 37034] New: - Loading of resources causes webapp to fail redeploy under Tomcat 5.5.x X-Bugzilla-Reason: AssignedTo Message-Id: <20051012000628.81A96515@ajax.apache.org> Date: Wed, 12 Oct 2005 02:06:28 +0200 (CEST) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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=37034 Summary: Loading of resources causes webapp to fail redeploy under Tomcat 5.5.x Product: Commons Version: 1.5 Final Platform: Other OS/Version: other Status: NEW Severity: major Priority: P2 Component: Digester AssignedTo: commons-dev@jakarta.apache.org ReportedBy: rich@apache.org This was originally filed against Beehive as http://issues.apache.org/jira/browse/BEEHIVE-960 , but I've narrowed it down to either a Digester issue or a Tomcat issue. Tomcat seems to suggest that this is an issue related to getting resources out of a JAR: - http://issues.apache.org/bugzilla/show_bug.cgi?id=33830 - http://jakarta.apache.org/tomcat/faq/windows.html#lock Specifically, Tomcat turned off the behavior that prevents locking of JARs under Windows. They did this to improve startup time. I don't necessarily agree with this choice as a default, but if you believe their bug comments and FAQ, this actually just exposes Windows-specific bugs in the way resources are read out of JARs. To reproduce this: - Run 'ant build war' in the attached directory. - Copy strutsRedeploy.war into $CATALINA_HOME/webapps. - Verify that there is a fully-extracted webapp under $CATALINA_HOME/webapps/strutsRedeploy. - Copy strutsRedeploy.war (again) into $CATALINA_HOME/webapps. Now look in $CATALINA_HOME/webapps/strutsRedeploy -- it failed to redeploy, and the only file left in there is WEB-INF/lib/struts.jar. I'm attaching a Digester patch that fixes the issue. Note: the fix for this issue belongs in one of three places: - Tomcat (which has rejected working around it since it impacts startup time) - Digester - XML support in the JDK Hopefully you'll choose Digester. :) -- 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: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org