synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (SYNAPSE-425) Synapse immediately shuts down if only daemon threads are running
Date Fri, 15 Aug 2008 22:03:44 GMT

     [ 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


Mime
View raw message