You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Andreas Veithen (JIRA)" <ji...@apache.org> on 2008/08/16 00:03:44 UTC

[jira] Resolved: (SYNAPSE-425) Synapse immediately shuts down if only daemon threads are running

     [ https://issues.apache.org/jira/browse/SYNAPSE-425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen resolved SYNAPSE-425.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3

Changed SynapseServer.main to put the main thread in wait state. This makes sure that Synapse doesn't stop prematurely.

> 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
>             Fix For: 1.3
>
>
> 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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org