You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/07/04 10:10:10 UTC
DO NOT REPLY [Bug 21337] New: -
ActionServlet.destroyModules() creates a new RequestProcessor
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21337>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21337
ActionServlet.destroyModules() creates a new RequestProcessor
Summary: ActionServlet.destroyModules() creates a new
RequestProcessor
Product: Struts
Version: 1.1 Final
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: Controller
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: geju@inasys.de
During server shutdown the method ActionServlet.destroyModules() creates a new
RequestProcessor instance.
This is caused by "getRequestProcessor(config).destroy()" which creates a new
RequestProcessor instance if no such instance has been used for specified
ModuleConfig. This can happen if the module has not been requested by a client.
A bugfix could be:
if (hasRequestProcessor(config)) {
getRequestProcessor(config).destroy();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org