You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by sekaijin <jy...@yahoo.fr> on 2015/08/06 13:59:52 UTC
Servicemix 5.4.0 admin:clone and natives libs problem
Hi.
I'm runnig servicemix 5.4.0 in my root instance I've a bundle that uses a
native library.
everything works perfectly.
I'm use admin:clone command to create the intance 'ghost'
I've change configuration of some TCP ports.
When I start the child instance all bundles works perfectly exept the one
that uses the native library.
I get an error NoClassDefFoundError on a class of native library.
but if I use the osgi command:find-class the class was found.
I've copied the lib folder of the root instance in the child instance.
and I started the child instance directly from the ghost/bin folder
why when I run the child instance, since the root instance, the native
library is not accessible?
Thank JYT
--
View this message in context: http://karaf.922171.n3.nabble.com/Servicemix-5-4-0-admin-clone-and-natives-libs-problem-tp4041799.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Servicemix 5.4.0 admin:clone and natives libs problem
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,
actually, the lib folder is shared between the instances. It's maybe an
issue in the child instance script around the native lib loading. Let me
check.
Regards
JB
On 08/06/2015 01:59 PM, sekaijin wrote:
> Hi.
>
> I'm runnig servicemix 5.4.0 in my root instance I've a bundle that uses a
> native library.
> everything works perfectly.
>
> I'm use admin:clone command to create the intance 'ghost'
> I've change configuration of some TCP ports.
>
> When I start the child instance all bundles works perfectly exept the one
> that uses the native library.
> I get an error NoClassDefFoundError on a class of native library.
>
> but if I use the osgi command:find-class the class was found.
>
> I've copied the lib folder of the root instance in the child instance.
> and I started the child instance directly from the ghost/bin folder
>
> why when I run the child instance, since the root instance, the native
> library is not accessible?
>
> Thank JYT
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Servicemix-5-4-0-admin-clone-and-natives-libs-problem-tp4041799.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com