Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-2016

Wait for Shared libraries referred in classpath tag of xbean.xml to be deployed.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 3.3.2
    • None
    • servicemix-assembly
    • None
    • RHEL

    Description

      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?

      Attachments

        Activity

          People

            Unassigned Unassigned
            mfsandeep Sandeep T H
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: