We have 3:th party product which is C based executable and it provides Java API via JNI for Java based applications. Our BC component uses this Java API and the reason for setting LD_LIBRARY_PATH is to get 3:th Java API to get shared library loaded.
Using Java API within standalone Java application without Servicemix worked fine but making it as BC and deploying it servicemix then it won't. We can see from logs that it can load share libraries but it cannot use services. According to SW provider the problem is related to environment variables (The Java API and C code share same environment variables) that are not seen by servicemix. -- View this message in context: http://servicemix.396122.n5.nabble.com/Setting-environment-variables-in-serviceMix-3-3-tp2636633p2637963.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
