You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by "Thomas McKiernan (JIRA)" <ji...@apache.org> on 2006/06/19 11:05:30 UTC

[jira] Created: (SAND-8) shutdown might finish before threads stop

shutdown might finish before threads stop
-----------------------------------------

         Key: SAND-8
         URL: http://issues.apache.org/jira/browse/SAND-8
     Project: Sandesha
        Type: Improvement

 Environment: WinXP
    Reporter: Thomas McKiernan
 Assigned to: Davanum Srinivas 
    Priority: Minor


At the moment it is possible for the module shutdown path to return while the Sender and Invoker threads are still running.
This means that even after the module has shutdown transactional work might be attempted. The effects of this are unpredictable and should be avoided.
Therefore I suggest that the shutdown path is changed so that, if the server and/or invoker threads are running, it blocks until they have finished.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org


[jira] Updated: (SAND-8) shutdown might finish before threads stop

Posted by "Thomas McKiernan (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/SAND-8?page=all ]

Thomas McKiernan updated SAND-8:
--------------------------------

    Attachment: patch.txt

This is a fix for the problem

> shutdown might finish before threads stop
> -----------------------------------------
>
>          Key: SAND-8
>          URL: http://issues.apache.org/jira/browse/SAND-8
>      Project: Sandesha
>         Type: Improvement

>  Environment: WinXP
>     Reporter: Thomas McKiernan
>     Assignee: Davanum Srinivas
>     Priority: Minor
>  Attachments: patch.txt
>
> At the moment it is possible for the module shutdown path to return while the Sender and Invoker threads are still running.
> This means that even after the module has shutdown transactional work might be attempted. The effects of this are unpredictable and should be avoided.
> Therefore I suggest that the shutdown path is changed so that, if the server and/or invoker threads are running, it blocks until they have finished.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org


[jira] Updated: (SAND-8) shutdown might finish before threads stop

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SAND-8?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas updated SAND-8:
--------------------------------

    Assignee:     (was: Davanum Srinivas)

> shutdown might finish before threads stop
> -----------------------------------------
>
>                 Key: SAND-8
>                 URL: https://issues.apache.org/jira/browse/SAND-8
>             Project: Sandesha
>          Issue Type: Improvement
>         Environment: WinXP
>            Reporter: Thomas McKiernan
>            Priority: Minor
>         Attachments: patch.txt
>
>
> At the moment it is possible for the module shutdown path to return while the Sender and Invoker threads are still running.
> This means that even after the module has shutdown transactional work might be attempted. The effects of this are unpredictable and should be avoided.
> Therefore I suggest that the shutdown path is changed so that, if the server and/or invoker threads are running, it blocks until they have finished.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org


[jira] Commented: (SAND-8) shutdown might finish before threads stop

Posted by "Thomas McKiernan (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/SAND-8?page=comments#action_12417259 ] 

Thomas McKiernan commented on SAND-8:
-------------------------------------

This issue was meant to be raised against Sandesha2 - sorry.
Feel free to cancel.

> shutdown might finish before threads stop
> -----------------------------------------
>
>          Key: SAND-8
>          URL: http://issues.apache.org/jira/browse/SAND-8
>      Project: Sandesha
>         Type: Improvement

>  Environment: WinXP
>     Reporter: Thomas McKiernan
>     Assignee: Davanum Srinivas
>     Priority: Minor
>  Attachments: patch.txt
>
> At the moment it is possible for the module shutdown path to return while the Sender and Invoker threads are still running.
> This means that even after the module has shutdown transactional work might be attempted. The effects of this are unpredictable and should be avoided.
> Therefore I suggest that the shutdown path is changed so that, if the server and/or invoker threads are running, it blocks until they have finished.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org


[jira] Commented: (SAND-8) shutdown might finish before threads stop

Posted by "Thomas McKiernan (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/SAND-8?page=comments#action_12417259 ] 

Thomas McKiernan commented on SAND-8:
-------------------------------------

This issue was meant to be raised against Sandesha2 - sorry.
Feel free to cancel.

> shutdown might finish before threads stop
> -----------------------------------------
>
>          Key: SAND-8
>          URL: http://issues.apache.org/jira/browse/SAND-8
>      Project: Sandesha
>         Type: Improvement

>  Environment: WinXP
>     Reporter: Thomas McKiernan
>     Assignee: Davanum Srinivas
>     Priority: Minor
>  Attachments: patch.txt
>
> At the moment it is possible for the module shutdown path to return while the Sender and Invoker threads are still running.
> This means that even after the module has shutdown transactional work might be attempted. The effects of this are unpredictable and should be avoided.
> Therefore I suggest that the shutdown path is changed so that, if the server and/or invoker threads are running, it blocks until they have finished.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org


[jira] Updated: (SAND-8) shutdown might finish before threads stop

Posted by "Thomas McKiernan (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/SAND-8?page=all ]

Thomas McKiernan updated SAND-8:
--------------------------------

    Attachment: patch.txt

This is a fix for the problem

> shutdown might finish before threads stop
> -----------------------------------------
>
>          Key: SAND-8
>          URL: http://issues.apache.org/jira/browse/SAND-8
>      Project: Sandesha
>         Type: Improvement

>  Environment: WinXP
>     Reporter: Thomas McKiernan
>     Assignee: Davanum Srinivas
>     Priority: Minor
>  Attachments: patch.txt
>
> At the moment it is possible for the module shutdown path to return while the Sender and Invoker threads are still running.
> This means that even after the module has shutdown transactional work might be attempted. The effects of this are unpredictable and should be avoided.
> Therefore I suggest that the shutdown path is changed so that, if the server and/or invoker threads are running, it blocks until they have finished.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org