[ 
https://issues.apache.org/jira/browse/SYNAPSE-425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12621614#action_12621614
 ] 

Andreas Veithen commented on SYNAPSE-425:
-----------------------------------------

I changed AbstractPollingTransportListener to properly manage the lifecycle of 
the timer, which in return is no longer configured as daemon. This solves the 
problem in the particular case explained above.

> Synapse immediately shuts down if only daemon threads are running
> -----------------------------------------------------------------
>
>                 Key: SYNAPSE-425
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-425
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2
>         Environment: N/A
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>
> SynapseServer.main immediately returns after starting up SynapseServer. If 
> during startup only daemon threads are created, the VM immediately shuts 
> down. This situation arises e.g. when only the VFS transport and the JMS 
> sender are enabled. Indeed, the JMS sender doesn't create any thread and the 
> VFS transport uses timers configured in daemon mode (see 
> AbstractPollingTransportListener).

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to