IBM Support

PI93744: THE LOG4J-API-2.9.1.JAR CONTAINS CLASSES UNDER THE META-INF DIRECTORY CAUSE AN EXCEPTION DURING STARTU

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • THE LOG4J-API-2.9.1.JAR CONTAINS CLASSES UNDER THE
    META-INF DIRECTORY CAUSE AN EXCEPTION DURING STARTUP.
    
    [02/02/18 10:39:19:615 CST] 0000023a AnnotationCon E
    CWMDF0002E: El proceso de las anotaciones ha fallado con el
    siguiente error:
    com.ibm.ws.metadata.annotations.AnnotationException: Annotation
    processing failed for class:
    META-INF/versions/9/org/apache/logging/log4j/util/ProcessIdUtil.
    class
     at
    com.ibm.ws.metadata.annotations.AnnotationConfigReader.getAnnota
    tionData(AnnotationConfigReader.java:883)
     at
    com.ibm.ws.metadata.annotations.AnnotationConfigReader.getAnnota
    tionDataForZippedArchive(AnnotationConfigReader.java:766)
     at
    com.ibm.ws.metadata.annotations.AnnotationConfigReader.getAnnota
    tionData(AnnotationConfigReader.java:696)
     at
    com.ibm.ws.metadata.annotations.AnnotationConfigReader.populateM
    oduleData(AnnotationConfigReader.java:353)
     at
    com.ibm.ws.metadata.MetaDataOrchestrator.getModuleData(MetaDataO
    rchestrator.java:117)
     at
    com.ibm.ws.websvcs.annotations.collector.WASAnnotationCollector.
    getMDO(WASAnnotationCollector.java:258)
     at
    com.ibm.ws.websvcs.annotations.collector.WASAnnotationCollector.
    collect(WASAnnotationCollector.java:146)
     at
    com.ibm.ws.websvcs.desc.WSModuleDescriptorImpl.getClassDataObjec
    ts(WSModuleDescriptorImpl.java:1454)
     at
    com.ibm.ws.websvcs.desc.WSModuleDescriptorImpl.initDBCMap(WSModu
    leDescriptorImpl.java:2149)
     at
    com.ibm.ws.websvcs.desc.WSModuleDescriptorImpl.buildJAXWSService
    s(WSModuleDescriptorImpl.java:1385)
     at
    com.ibm.ws.websvcs.desc.WSModuleDescriptorImpl._containsJAXWSWeb
    Services(WSModuleDescriptorImpl.java:550)
     at
    com.ibm.ws.websvcs.desc.WSModuleDescriptorImpl.containsJAXWSWebS
    ervices(WSModuleDescriptorImpl.java:525)
     at
    com.ibm.ws.webservices.admin.utils.ServiceContainmentHelper.<ini
    t>(ServiceContainmentHelper.java:71)
     at
    com.ibm.ws.webservices.admin.utils.CommonUtils.getServiceContian
    mentHelper(CommonUtils.java:690)
     at
    com.ibm.ws.webservices.admin.utils.CommonUtils.hasWebServices(Co
    mmonUtils.java:295)
     at
    com.ibm.ws.webservices.admin.utils.CommonUtils.hasJAXWSWebServic
    es(CommonUtils.java:238)
     at
    com.ibm.ws.webservices.admin.deploy.DeploymentValidation.getWebS
    erviceType(DeploymentValidation.java:309)
     at
    com.ibm.ws.webservices.admin.deploy.DeploymentValidation.validat
    eEarModules(DeploymentValidation.java:381)
     at
    com.ibm.ws.webservices.admin.deploy.DeploymentValidation.validat
    eOperation_Required(DeploymentValidation.java:204)
     at
    com.ibm.ws.management.application.task.ValidateAppTask.performTa
    sk(ValidateAppTask.java:433)
     at
    com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImp
    l.java:315)
     at java.lang.Thread.run(Thread.java:790)
    Caused by: java.lang.IllegalArgumentException
     at org.objectweb.asm.ClassReader.<init>(Unknown Source)
     at org.objectweb.asm.ClassReader.<init>(Unknown Source)
     at org.objectweb.asm.ClassReader.<init>(Unknown Source)
     at
    com.ibm.ws.metadata.annotations.AnnotationConfigReader.getAnnota
    tionData(AnnotationConfigReader.java:836)
     ... 21 more
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server with applications containing Java    *
    *                  V9 multi-release JARs                       *
    ****************************************************************
    * PROBLEM DESCRIPTION: Application start may fail if           *
    *                      application contains multi-release      *
    *                      JAR files                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Java V9 multi-release JARs contain Java V9 classes under the
    META-INF directory tree.  The existence of classes under
    META-INF causes application start to fail with an exception
    similar to the following:
    fdcProvider  W com.ibm.ws.ffdc.impl.FfdcProvider logIncident
    FFDC1003I: FFDC Incident emitted on
    /app/IBM/WebSphere/AppServer/profiles/WLApp01/logs/ffdc/wlimbmem
    01_d2dbd466_18.03.28_22.03.39.2459126079501414839234.txt
    com.ibm.ws.metadata.annotations.AnnotationConfigReadergetAnnotat
    ionData 442
    [3/28/18 22:03:39:274 GMT+05:30] 00000097 AnnotationCon E
    CWMDF0002E: Annotation processing failed with the following
    error: com.ibm.ws.metadata.annotations.AnnotationException:
    Annotation processing failed for class:
    META-
    INF/versions/9/org/apache/logging/log4j/util/ProcessIdUtil.
    class
    at
    com.ibm.ws.metadata.annotations.AnnotationConfigReader.getAnnota
    tionData(AnnotationConfigReader.java:883)
    at
    com.ibm.ws.metadata.annotations.AnnotationConfigReader.getAnnota
    tionDataForZippedArchive(AnnotationConfigReader.java:766)
    at
    com.ibm.ws.metadata.annotations.AnnotationConfigReader.getAnnota
    tionData(AnnotationConfigReader.java:696)
    at
    com.ibm.ws.metadata.annotations.AnnotationConfigReader.populateM
    oduleData(AnnotationConfigReader.java:353)
    at
    com.ibm.ws.metadata.MetaDataOrchestrator.getModuleData(MetaDataO
    rchestrator.java:117)
    

Problem conclusion

  • The code was modified to tolerate multi-release JARs by
    tolerating classes under the META-INF directory.  The code
    does not use these classes in any way. The code simply ignores
    classes under META-INF.  This APAR is similar to PI89708 and
    PI96826 which fix the same problem in different areas of
    the code.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.5.14 and 9.0.0.8.  Please refer to the Recommended
    Updates page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI93744

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-02-13

  • Closed date

    2018-04-15

  • Last modified date

    2018-05-30

  • APAR is sysrouted FROM one or more of the following:

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

Fix information

  • Fixed component name

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R850 PSY

       UP

  • R900 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVS22","label":"General"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
30 May 2018