IBM Support

Error message "JVMJ9VM011W Unable to load jclscar_22: libj9zlib22.so: cannot open shared object file:.."

Troubleshooting


Problem

Deploying an Enterprise Application (EAR) that contains MDBs using either command line tool EJBDeploy.bat/sh or Administrative Console receives an error that libj9zlib22.so cannot be opened.

Cause

# uname -a
Linux petebert 2.6.5-7.97-smp #1 SMP Fri Jul 2 14:21:59 UTC 2004 x86_64 x86_64 x86_64 GNU/Linux

Excerpt of stack trace:


    [12/8/05 21:00:53:882 MST] 0000003d DeployEJBTask W ADMA0087W: A warning is issued from the EJBDeploy program: JVMJ9VM011W
    Unable to load jclscar_22: libj9zlib22.so: cannot open shared object file: No such file or directory [severity -]
    [12/8/05 21:00:53:888 MST] 0000003f DeployEJBTask W ADMA0087W: A warning is issued from the EJBDeploy program: Could not cr
    eate the Java virtual machine. [severity -]
    [12/8/05 21:00:54:208 MST] 00000041 DeployEJBTask E ADMA0086E: An error occurred from the EJBDeploy program: com.ibm.etools
    .ejbdeploy.EJBDeploymentException: Error executing EJBDeploy
    at com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDeploy.java(Compiled Code))
    at com.ibm.ejs.util.deployment.deploywrapper.DeployUtil$1.run(DeployUtil.java:233)
    at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
    at com.ibm.ejs.util.deployment.deploywrapper.DeployUtil.deployModule
    (DeployUtil.java:228)
    at com.ibm.ejs.util.deployment.deploywrapper.DeployUtil.deploy(DeployUtil.java:81)
    at com.ibm.ws.management.application.task.DeployEJBTask.performTask
    (DeployEJBTask.java:336)
    at com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:253)
    at java.lang.Thread.run(Thread.java:568)
    [severity -]
    [12/8/05 21:00:54:350 MST] 00000041 SystemOut O com.ibm.etools.ejbdeploy.EJBDeploymentException: Error executing EJBDeplo
    y
    at com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDeploy.java(Compiled Code))
    at com.ibm.ejs.util.deployment.deploywrapper.DeployUtil$1.run(DeployUtil.java:233)
    at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
    at com.ibm.ejs.util.deployment.deploywrapper.DeployUtil.deployModule
    (DeployUtil.java:228)
    at com.ibm.ejs.util.deployment.deploywrapper.DeployUtil.deploy(DeployUtil.java:81)
    at com.ibm.ws.management.application.task.DeployEJBTask.performTask
    (DeployEJBTask.java:336)
    at com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:253)
    at java.lang.Thread.run(Thread.java:568)

All the libraries (including libj9zlib22.so) are present in InstallRoot/java/jre/bin.

Resolving The Problem

To get around this problem remove the -Xj9 option from both the wasadmin.sh and the ejbdeploy.sh. The current hypothsis is that there may be some configuration problem with SuSE Enterprise Linux for 64 bit with Intel Xeon EM64T processors.

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Classloader","Platform":[{"code":"PF016","label":"Linux"}],"Version":"9.0;8.5.5;8.0;7.0","Edition":"Base;Express;Network Deployment","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Java SDK","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg21228233