[dialog2] Clean up static resources at application shutdown
-----------------------------------------------------------
Key: SHALE-274
URL: http://issues.apache.org/struts/browse/SHALE-274
Project: Shale
Issue Type: Bug
Components: Sandbox
Reporter: Craig McClanahan
Fix For: 1.0.4-SNAPSHOT
The legacy dialog2 implementation relies on both Commons Logging and Commons
Digester (which implies a transitive dependence on Commons BeanUtils).
Therefore, we need to clean up at application shutdown by executing the
following in a contextDestroyed() lifecycle listener (or equivalent):
PropertyUtils.clearDescriptors();
LogFactory.release(Thread.currentThread().getContextClassLoader());
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira