servicemix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Nodet <>
Subject Re: Ordering of Hotdeploy For Shared Libraries and Service Assemblies
Date Fri, 13 Nov 2009 07:36:10 GMT
I think what John is referring to is the fact that when a bunch of JBI
artifacts have been deployed (in both smx3 and smx4), the JBI deployer
actually wait for the dependencies of the JBI artifacts to be
available: i.e. if you hot deploy a SA when the component is not
installed yet, you should have a log message and the SA will actually
be deployed when the component is installed at a later time.  Same for
components / shared libraries.

As for dependencies between SA / SL, it might be doable through
extending the JBI descriptor as John indicates.  This would also need
to enhance the JBI maven plugin to generate such information if

On Fri, Nov 13, 2009 at 08:30, Jean-Baptiste Onofré <> wrote:
> Hi,
> By default the deployer takes the file ordered by timestamp.
> So if you are on Unix, you can use:
> touch
> to force a file redeployment.
> Currently, there is no alternative to this deployer. We can add a
> PrefixDeploymentScanner that can use prefix to define the deployment order
> (,, etc).
> Regards
> JB
> jweathers777 wrote:
>> I've noticed that when starting up a fresh 'data' folderless ServiceMix
>> that
>> when the auto-deploment service encounters a ServiceMix component that
>> depends upon the ServiceMix shared-library, it suspends deployment until
>> after the shared library gets loaded.
>> I would like to duplicate this behavior with some service assemblies that
>> all depend upon a shared library. I would like to be able to simply copy
>> the
>> packaged service assemblies and the packaged shared library all at once
>> into
>> the hotdeploy and have the service assemblies deployment suspended until
>> the
>> shared library can be loaded.
>> Is this possible? I couldn't find any documentation about it. I cracked
>> open
>> the installers for the components and found that in a component's jbi.xml
>> there is a <shared-library> element inside the <component> element that
>> references the servicemix-shared library. Is it possible to have the
>> jbi.xml
>> that gets generated by the maven build process have a similar
>> <shared-library> element inside the <service-assembly> or <service-unit>
>> elements so that deployment is suspended until my shared library is
>> deployed?

Guillaume Nodet
Open Source SOA

View raw message