[jbossws-issues] [JBoss JIRA] Commented: (JBWS-2711) Make SubscriptionManager.WatchDog a Daemon Thread

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Wed Jul 29 14:28:29 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBWS-2711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12478121#action_12478121 ] 

Andrew Lee Rubinger commented on JBWS-2711:
-------------------------------------------

Sure.  The idea is that whatever starts the Thread also stops it when it's done.  So when we have the server start, stop, and restart in Embedded, we don't start leaking Threads.

> Make SubscriptionManager.WatchDog a Daemon Thread
> -------------------------------------------------
>
>                 Key: JBWS-2711
>                 URL: https://jira.jboss.org/jira/browse/JBWS-2711
>             Project: JBoss Web Services
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: ws-eventing
>            Reporter: Andrew Lee Rubinger
>            Assignee: Alessio Soldano
>             Fix For: jbossws-native-3.2.0
>
>
> Marking the daemon flag to true will allow the VM to exit upon server shutdown.  Alternatively, it upon undeploy.
> "SubscriptionWatchDog" prio=1 tid=0x0000000041809c60 nid=0x33f waiting on condition [0x00007f723d587000..0x00007f723d587a70]
> 	at java.lang.Thread.sleep(Native Method)
> 	at org.jboss.ws.extensions.eventing.mgmt.SubscriptionManager$WatchDog.run(SubscriptionManager.java:653)
> 	at java.lang.Thread.run(Thread.java:595)

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

        


More information about the jbossws-issues mailing list