[
https://issues.apache.org/struts/browse/STR-3143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43906#action_43906
]
Niall Pemberton commented on STR-3143:
--------------------------------------
David,
Sorry I forgot that the issue I mentioned also affects Commons Validator and
Commons Chain - which also use Digester to parse their XML config files - but
on this front theres good and bad news:
Commons Validator
----------------------------
* The bad news is the change to use the new constructors provided by Digester
1.8 has not yet made it into a Validator release (see
http://issues.apache.org/jira/browse/VALIDATOR-211 )
* The good news is the same fix applied in Digester 1.8 was also applied in
Validator 1.3.1 (see http://issues.apache.org/jira/browse/VALIDATOR-209 ), so
if you're not yet using Validator 1.3.1 can you try upgrading to that version
* http://commons.apache.org/validator/
Commons Chain
------------------------
* The bad news is the change to use the new constructors provided by Digester
1.8 has not yet made it into a Chain release (see
http://issues.apache.org/jira/browse/CHAIN-33 )
* I will try and find time to do a Commons Chain release soon (but no
promises!) - in the meantime I have built the current chain which you could try
out - http://people.apache.org/~niallp/chain-1.2-20080520/
* ALternatively if you don't want to use those versions, you could check out
the source yourself from subversion and build using maven 2
http://commons.apache.org/chain/source-repository.html
* http://commons.apache.org/chain/
> In Tomcat, when restarting a webapp, the struts-core-1.3.8.jar remains
> "in-use" preventing dynamic redeployment
> ---------------------------------------------------------------------------------------------------------------
>
> Key: STR-3143
> URL: https://issues.apache.org/struts/browse/STR-3143
> Project: Struts 1
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.3.8
> Environment: Tomcat 5.0, Sun Java 1.5 on Windows XP or 2000
> Reporter: David Clemens
> Priority: Minor
> Fix For: 1.3.10
>
>
> We recently upgraded from an older struts.jar to struts 1.3.8. Since then,
> when we try to deploy a new .war file dynamically in Tomcat, it fails because
> Tomcat is unable to delete just one file-- the struts-core-1.3.8.jar. That
> file remains "in-use" until the entire Tomcat webserver is restarted. It is
> as if a thread is started by Struts that does not exit nicely when
> interrupted. Or perhaps there is some kind of special class loader used by
> Struts that prevents the Tomcat webapp class loader from flushing some class
> from this jar.
> I'm sorry if this problem is already known, but I could not find any issues
> that matched.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.