xyz (Library is already loaded in another ClassLoader)

Issues and Questions related to running Apache Tomcat on z/OS
Post Reply
jriemer
Posts: 25
Joined: Thu Jul 06, 2006 11:15 am

xyz (Library is already loaded in another ClassLoader)

Post 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?
Post Reply