UnsatisfiedLinkError Native Library path/sample.so already loaded in another classloader
Issue
Caused by: java.lang.UnsatisfiedLinkError: Native Library /opt/path/java/lib64/example.so already loaded in another classloader
at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2468)
at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2694)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2659)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:830)
at java.base/java.lang.System.loadLibrary(System.java:1873)
at deployment.sample.war//com.ibm.mq.jmqi.local.LocalMQ.loadLib(LocalMQ.java:1110)
... 23 more
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7.x
- Red Hat Enterprise Linux (RHEL)
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.