Return-Path: Delivered-To: apmail-servicemix-dev-archive@www.apache.org Received: (qmail 74574 invoked from network); 2 Feb 2011 05:57:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Feb 2011 05:57:56 -0000 Received: (qmail 46128 invoked by uid 500); 2 Feb 2011 05:57:56 -0000 Delivered-To: apmail-servicemix-dev-archive@servicemix.apache.org Received: (qmail 45989 invoked by uid 500); 2 Feb 2011 05:57:53 -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 45981 invoked by uid 99); 2 Feb 2011 05:57:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 05:57:52 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Wed, 02 Feb 2011 05:57:50 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5A4F8189A46 for ; Wed, 2 Feb 2011 05:57:29 +0000 (UTC) Date: Wed, 2 Feb 2011 05:57:29 +0000 (UTC) From: "Kari J. Niemi (JIRA)" To: dev@servicemix.apache.org Message-ID: <750537665.4488.1296626249350.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <29048392.23011291119734294.JavaMail.jira@thor> Subject: [jira] Commented: (SM-2016) Wait for Shared libraries referred in classpath tag of xbean.xml to be deployed. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SM-2016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12989525#comment-12989525 ] Kari J. Niemi commented on SM-2016: ----------------------------------- I think this page could "warn" about using the classpath entries in xbean.xml: http://servicemix.apache.org/classloaders.html Something like: ------------- Please notice that using the classpath entries in xbean.xml has some "issues", because a dependency between Service Assembly and JBI Shared Library is not really known by JBI specificationss. Currently the servicemix does not consider this dependency in hotdeployment, so you have to consider these workarounds: -if you update the library in hotdeploy folder, the service assembly won't properly pick up the changes. You have to also restart the Service Assembly as well. -set a "fake" dependency chain SA-BC-SL. This way, updating the SL will make the BC "reloaded", which will make the SA "reloaded". Also, this will guarantee that in smx startup the SL is loaded before the SA . This is especially important if you removed the data folder, otherwise the SA might be started first and it will most probably fail in classpath problems. -------------- > Wait for Shared libraries referred in classpath tag of xbean.xml to be deployed. > -------------------------------------------------------------------------------- > > Key: SM-2016 > URL: https://issues.apache.org/jira/browse/SM-2016 > Project: ServiceMix > Issue Type: Bug > Components: servicemix-assembly > Affects Versions: 3.3.2 > Environment: RHEL > Reporter: Sandeep T H > > Some of our SAs contain SUs which refer to some shared libraries. > Eg: > In our cxf-se su: > > > common-shareLib > But sometimes this SA/SU fails to deploy with the errors: > java.lang.IllegalStateException No such shared library common-sharedLib. > Maybe this is because the SA/SU is deployed before the shared library is deployed. As we've seen if the shared lib is deployed first this problem is not seen. > We've also tried adding this shared lib as a dependency in cxf-se su pom. But it does not help. > It is not specific to cxf-se it is seen for other component su's too > What is the recommended way here? -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira