struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rickard Öberg (JIRA) <>
Subject [jira] Created: (WW-1542) Jsr168Dispatcher does not destroy the Dispatcher properly
Date Wed, 06 Dec 2006 14:55:58 GMT
Jsr168Dispatcher does not destroy the Dispatcher properly

                 Key: WW-1542
             Project: Struts 2
          Issue Type: Bug
    Affects Versions: 2.0.1
            Reporter: Rickard Öberg

Jsr168Dispatcher does not implement destroy(), where it should clean up the Dispatcher instance.
The result is that the threadlocal reference to the Dispatcher is never cleared, and so a
portlet app can never be redeployed properly.

Add this to Jsr168Dispatcher to fix it:
public void destroy()
   if (dispatcherUtils == null) {
      LOG.warn("something is seriously wrong, DispatcherUtil is not initialized (null) ");
   } else {

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message