[gatein-issues] [JBoss JIRA] (GTNPORTAL-2394) The GadgetDeployer should unregister itself as WebAppListener in the stop method
RH Bugzilla Integration (JIRA)
jira-events at lists.jboss.org
Wed Nov 13 04:47:06 EST 2013
[ https://issues.jboss.org/browse/GTNPORTAL-2394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12923075#comment-12923075 ]
RH Bugzilla Integration commented on GTNPORTAL-2394:
----------------------------------------------------
Boleslaw Dawidowicz <bdawidow at redhat.com> changed the Status of [bug 987708|https://bugzilla.redhat.com/show_bug.cgi?id=987708] from NEW to ASSIGNED
> 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
> Labels: gadget
> Fix For: 3.6.4.Final, 3.7.0.Final
>
> Attachments: GTNPORTAL-2394.patch
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the gatein-issues
mailing list