You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Jeff Barrett (JIRA)" <ji...@apache.org> on 2009/01/16 22:15:59 UTC

[jira] Commented: (AXIS2-4198) Can not stop the ListenerManager when transports are added with the addListener() method

    [ https://issues.apache.org/jira/browse/AXIS2-4198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664684#action_12664684 ] 

Jeff Barrett commented on AXIS2-4198:
-------------------------------------

Thanks for the patch submission Rick!

Fixed in trunk revision 733040

Fixed in 1_5 branch revision 735134

> Can not stop the ListenerManager when transports are added with the addListener() method
> ----------------------------------------------------------------------------------------
>
>                 Key: AXIS2-4198
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4198
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: nightly
>         Environment: Linux OS
>            Reporter: Richard Slade
>            Assignee: Jeff Barrett
>             Fix For: nightly
>
>         Attachments: patch
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> With recent changes to the ListenerManager with revisions 726705 and 728440. The ListenerManager stop() method can now only be invoked after the start() method is called because of the proper use of the 'stopped' boolean flag. But when transports are added with the addListener() method and the 'started' parameter is set to false, the addListener() method starts the transport (just like invoking the start() method), but the stopped boolean is not set to 'false'.  Currently the only was to set the 'stopped' boolean flag is my invoking the start() method. The code should be changed to set the 'stopped' boolean flag during the addListener() method if the 'started' parameter is set to false.
> Prior to these recent changes the stop() method could be invoked with transports added with the addListener() method.
> This problem was uncovered running the sandesha2 unit tests.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.