PQ92167: RESTARTING APPLICATION WITH J2EE SERVER RESULTS IN JAVA.LANG.UNSATISFIEDLINKERROR ON DLL OR SHARED LIBRARY

 A fix is available

Obtain the fix for this APAR



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 Server
Problem 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
&#158;**** PE04/10/05 FIX IN ERROR. SEE APAR 
PQ95283  FOR DESCRIPTION
APAR information
APAR number PQ92167
Reported component name WEBSPHERE FOR Z
Reported component ID 5655I3500
Reported release 500
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2004-07-29
Closed date 2004-09-03
Last modified date 2004-10-07

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:
PQ92183

Modules/Macros
BBOUBINF          

Publications Referenced

Fix information
Fixed component name WEBSPHERE FOR Z
Fixed component ID 5655I3500

Applicable component levels
R500 PSY UQ92596    UP04/09/13 P F409

  Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.


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