Return-Path: X-Original-To: apmail-servicemix-dev-archive@www.apache.org Delivered-To: apmail-servicemix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 75DD1801F for ; Thu, 1 Sep 2011 09:04:51 +0000 (UTC) Received: (qmail 57768 invoked by uid 500); 1 Sep 2011 09:04:51 -0000 Delivered-To: apmail-servicemix-dev-archive@servicemix.apache.org Received: (qmail 57514 invoked by uid 500); 1 Sep 2011 09:04:36 -0000 Mailing-List: contact dev-help@servicemix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@servicemix.apache.org Delivered-To: mailing list dev@servicemix.apache.org Received: (qmail 57468 invoked by uid 99); 1 Sep 2011 09:04:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2011 09:04:32 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2011 09:04:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id BD91045AE9 for ; Thu, 1 Sep 2011 09:04:09 +0000 (UTC) Date: Thu, 1 Sep 2011 09:04:09 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: dev@servicemix.apache.org Message-ID: <1010391070.6124.1314867849757.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1166648306.51957.1313728827861.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Work started] (SM-2118) Container is in inconsistent state just after start MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SM-2118?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:all-tabpanel ] Work on SM-2118 started by Jean-Baptiste Onofr=C3=A9. > 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 > Assignee: Jean-Baptiste Onofr=C3=A9 > Labels: patch > Fix For: 3.4 > > Attachments: servicemix-core-wait-for-smx-to-finish-starting.patc= h > > > Start script returns control just after java process was launched. But co= mponents and service assemblies that were previously installed/deployed wil= l continue to be loaded/initialized in background. This process may time fe= w seconds but in reality when large number of components and SAs were previ= ously deployed it may take minutes on busy server. If container was started= by some script and then this script does something with container (like ch= ecking state of components and SAs, deploying things, etc) it is very likel= y to fail. Instead smx start script should hold control until container act= ually 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