Nicolas Filotto created GTNPORTAL-2394:
------------------------------------------
Summary: The GadgetDeployer should unregister itself as WebAppListener in the
stop method
Key: GTNPORTAL-2394
URL:
https://issues.jboss.org/browse/GTNPORTAL-2394
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.1.0-GA
Reporter: Nicolas Filotto
Up to now, when the application tries to stop the component instead of unregistering
itself it registers itself another time. Indeed the current code is:
{code}
public void stop()
{
DefaultServletContainerFactory.getInstance().getServletContainer().addWebAppListener(this);
}
{code}
But should be:
{code}
public void stop()
{
DefaultServletContainerFactory.getInstance().getServletContainer().removeWebAppListener(this);
}
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira