Thanks for answer.
Freeman Fang wrote:
Hi,
Shared Lib means the lib is shared by components level (Binding
Component or ServiceEngine), you can specify the shared lib for
components in the jbi.xml (descriptor) of component.
If component A specify shared lib B, then if Shared lib B not
installed, component A will suspend.
But Shared Lib doesn't means it's shared across SA(Service Assembly),
so the SA won't suspend when the Shared Lib is installed.
The dependency path is
Shared Lib <====Components<=====SA
But there is no
Shared Lib <=====SA
Freeman
Grzegorz Kokosiński wrote:
Hi,
I want to write a service unit which will have two dependencies.
First is a normal jbi component like servicemix-jsr181, and the
second is a jbi shared library like servicemix-shared (I want to
using it at least in two different service units).
I added these two components into pom as a normal maven dependency.
And it works only for servicemix-jsr181, but it seems to not work
with my shared library.
When I deploy it on servicemix on which component servicemix-jsr181
is not installed then deployment is suspended, but when I deploy it
when just my shared library is not installed then deployment is not
suspended and consequently deployment fails.
Im using servicemix 3.3.
Thanks in advance.
Grzesiek Kokosiński