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: Improvement
          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:
<beans xmlns:cxfse="http://servicemix.apache.org/cxfse/1.0"; >
<classpath>
  <library>common-shareLib</library>

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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to