Page 1 of 1

xyz (Library is already loaded in another ClassLoader)

Posted: Tue Mar 29, 2011 5:26 pm
by jriemer
Receiving the annoying java.lang.UnsatisfiedLinkError: xyz (Library is already loaded in another ClassLoader) for a JNI application. The problem's been documented for the past ten years and involves placing the DLL(s) in the Tomcat /shared/lib directory and pointing everything i.e. PATH, LIBPATH, and CLASSPATH thereat. z/OS Tomcat has no /shared/lib that I see, just /lib, so I've placed the DLL(s) therein and added it to the start PATH, LIBPATH, and CLASSPATH as specified in the TCENV DD. But to no avail; the error persists. Anyone have any other ideas?