Hi, I'm trying to submit a task to the compute grid that makes a call to a native library. The first time the call is run on a node works fine - the dll is loaded and the call succeeds. However on subsequent attempts an exception is thrown as our code makes a second call to System.loadLibrary() which fails as a different class loader is being used. The exception is thrown from ClassLoader.loadLibrary0() with the message:
"Native Library xxx already loaded in another classloader" The class loaders being used are different instances of GridDeploymentClassLoader. Is there any way to ensure a node always uses the same class loader instance? Or is there another recommended approach for this? Thanks -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Loading-a-native-library-on-a-grid-node-tp11227.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.
