PQ92167: RESTARTING APPLICATION WITH J2EE SERVER RESULTS IN JAVA.LANG.UNSATISFIEDLINKERROR ON DLL OR SHARED LIBRARY | |||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description Customer has an application that loads a native library or dll . The application starts successfully and runs fine. However , if the customer stops the application only (not the entire server) and then tries to restart the application, it fails to start with... java.lang.UnsatisfiedLinkError: Native Library /mypath/myDll.so already loaded in another classloader. Restarting the Server allows application to restart.Local fix restart J2EE ServerProblem summary **************************************************************** * USERS AFFECTED: All users of WebSphere Application Server * * V5.0 for z/OS * **************************************************************** * PROBLEM DESCRIPTION: java.lang.UnsatisfiedLinkError: Native * * Library <native library name> already * * loaded in another classloader. * **************************************************************** * RECOMMENDATION: * **************************************************************** java.lang.UnsatisfiedLinkError: Native Library <native library name> already loaded in another classloader, may happen on Application start after having been stopped using the Administration Console. Problem may also happen the first time is is run after having been restarted. This error can occur if an application loads a native library in the servlet class of an application using java.lang.System.loadLibrary. The stack trace in the Servant joblog will look similar to the following: java.lang.UnsatisfiedLinkError: Native Library /usr/lpp/ars/www/ cgi-bin/libarswwwsl.so already loaded in another classloader at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1802) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1694) at java.lang.Runtime.loadLibrary0(Runtime.java:780) at java.lang.System.loadLibrary(System.java:867) at com.ibm.edms.od.ArsWWWInterface.<clinit>(ArsWWWInterface.java :11) at com.ibm.edms.od.ArsWWWServlet.init(ArsWWWServlet.java:185) at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit( StrictServletInstance.java:82) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init( StrictLifecycleServlet.java:147) at com.ibm.ws.webcontainer.servlet.PreInitializedServletState.in it(StrictLifecycleServlet.java:270) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(S trictLifecycleServlet.java:113) at com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletI nstance.java:189) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServle t(WebAppServletManager.java:809) at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServl et(WebAppServletManager.java:226) at com.ibm.ws.webcontainer.webapp.WebAppServletManager.getServle tReference(WebAppServletManager.java:422) at com.ibm.ws.webcontainer.webapp.WebApp.getServletReference(Web App.java:679)Problem conclusion WebSphere runtime was updated to force all reference to the classloader that loaded the native library to be released. APAR PQ92167 is associated with SERVICE LEVEL W502015 of WebSphere Application Server V5.0 for z/OS.Temporary fix Comments ž**** PE04/10/05 FIX IN ERROR. SEE APAR PQ95283 FOR DESCRIPTION
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: PQ92183 Modules/Macros
Publications Referenced
|
Document Information |
Current web document: swg1PQ92167.html
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server for z/OS
Operating system(s):
Software version: 500
Software edition:
Reference #: PQ92167
IBM Group: Software Group
Modified date: Oct 7, 2004
(C) Copyright IBM Corporation 2000, 2009. All Rights Reserved.