Hi guys,
I have a flink application that loads a dylib like this
System.loadLibrary("vibesimplejava");
The application runs fine , when I restart the job I get this exception :
com.visa.aip.cryptolib.aipcyptoclient.EncryptionException: Unexpected
errorjava.lang.UnsatisfiedLinkError: Native Library
/usr/mware/SimpleAPI/voltage-simple-api-java-05.12.0000-Linux-x86_64-64b-r234867/lib/libvibesimplejava.so
already loaded in another classloader
This happens because the dylib has already been loaded once by the
taskmanger, how can I mitigate this? It seems problematic if two
applications are loading the same dylib.
Thanks,
Vishwas