Hi I have different web applications sharing a Native library in the format of .so file, which I reference using the LD_LIBRARY_PATH env variable.
Now when I deploy a second application I get the following exception:
java.lang.UnsatisfiedLinkError: Native Library /framework/agent/liboam.so already loaded in another classloader at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1716) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676) at java.lang.Runtime.loadLibrary0(Runtime.java:822) at java.lang.System.loadLibrary(System.java:992)