You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Nickolay Martinov (JIRA)" <ji...@apache.org> on 2011/08/19 06:40:27 UTC

[jira] [Updated] (SM-2118) Container is in inconsistent state just after start

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

Nickolay Martinov updated SM-2118:
----------------------------------

    Attachment: servicemix-core-wait-for-smx-to-finish-starting.patch

Added patch that (if configured) creates marker file when container finishes starting.

> Container is in inconsistent state just after start
> ---------------------------------------------------
>
>                 Key: SM-2118
>                 URL: https://issues.apache.org/jira/browse/SM-2118
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-core
>    Affects Versions: 3.3.2
>         Environment: Linux, HP-UX, jdk6
>            Reporter: Nickolay Martinov
>              Labels: patch
>         Attachments: servicemix-core-wait-for-smx-to-finish-starting.patch
>
>
> Start script returns control just after java process was launched. But components and service assemblies that were previously installed/deployed will continue to be loaded/initialized in background. This process may time few seconds but in reality when large number of components and SAs were previously deployed it may take minutes on busy server. If container was started by some script and then this script does something with container (like checking state of components and SAs, deploying things, etc) it is very likely to fail. Instead smx start script should hold control until container actually finishes starting up or time outs.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira