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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to