IBM Support

PM11136: CLASS COM.IBM.WS PMI* AND COM.IBM.EJS.J2C RECEIVE NOCLASSDEFFOUNDERROR OR CLASSNOTFOUNDEXCEPTION IN MODE RESTRICT

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A ClassNotFoundException can be experienced when setting
    'ibm.websphere.internalClassAccessMode = RESTRICT'.
    .
    The exception - ClassNotFoundException or NoClassDefFoundError -
    was for J2C and PMI in mode RESTRICT
    .
    The PMI exceptions was as follows:
    .
    ThreadId: 0000001b
      FunctionName: com.ibm.ws.webcontainer.servlet.ServletWrapper
      SourceId: com.ibm.ws.webcontainer.servlet.ServletWrapper
      Category: SEVERE
      ExtendedMessage: BBOO0220E: SRVE0068E: Uncaught exception
    thrown in
      one of the service methods of the servlet:
      perfservlet60. Exception thrown :
    java.lang.NoClassDefFoundError:
      com.ibm.ws pmi stat.StatisticImpl
       at java.lang.J9VMInternals.verifyImpl(Native Method)
    .
    The following classes had to be exempted in
    com.ibm.ws.runtime_6.1.0.jar/plugin.xml to make
    PerfServletApp.ear work
    in mode RESTRICT:
    .
          <exception name="com.ibm.ws.pmi.stat.StatisticImpl" />
          <exception name="com.ibm.ws.pmi.stat.CountStatisticImpl"
    />
          <exception name="com.ibm.ws.pmi.stat.DoubleStatisticImpl"
    />
          <exception name="com.ibm.ws.pmi.stat.RangeStatisticImpl"
    />
          <exception
    name="com.ibm.ws.pmi.stat.BoundedRangeStatisticImpl" />
          <exception name="com.ibm.ws.pmi.stat.AverageStatisticImpl"
    />
          <exception name="com.ibm.ws.pmi.stat.TimeStatisticImpl" />
    .
    For J2C, the classes are as follow:
    .
    com.ibm.ejs.j2c.ThreadIdentitySecurityHelper
    com.ibm.ws390.jta.TransactionManager
    com.ibm.ejs.j2c.PrivExAction
    com.ibm.ejs.j2c.J2CUtilityClass
    .
    The customer was receiving the following in the job-log, again
    while in mode RESTRICT.
    .
    java.lang.ClassNotFoundException: com.ibm.ejs.j2c.
    ThreadIdentitySecurityHelper
      at  com.ibm.ws.classloader.CompoundClassLoader.findClass
          (CompoundClassLoader.java:487)
      at  com.ibm.ws.classloader.CompoundClassLoader.loadClass
          (CompoundClassLoader.java:388)
      at  java.lang.ClassLoader.loadClass(ClassLoader.java:597)
      at
    com.ibm.tivoli.itcam.toolkit.ai.callbacks.captureclassload.
          AdvisableSecureClassLoader.loadClass
          (AdvisableSecureClassLoader.java:133)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of WebSphere Application Server    *
    *                 V6.0.1                                       *
    *                                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: A NoClassDefFoundError or               *
    *                      ClassNotFoundException is thrown for    *
    *                      a set of com.ibm.ws.pmi.stat classes.   *
    *                                                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When Java 2 Security is turned on or the
    ibm.websphere.internalClassAccessMode custom property is
    enabled, a ClassNotFoundException may be raised for the
    following classes: com.ibm.ws.pmi.stat.AverageStatisticImpl,
    com.ibm.ws.pmi.stat.BoundedRangeStatisticImpl,
    com.ibm.ws.pmi.stat.CountStatisticImpl,
    com.ibm.ws.pmi.stat.DoubleStatisticImpl,
    com.ibm.ws.pmi.stat.RangeStatisticImpl,
    com.ibm.ws.pmi.stat.StatisticImpl, and
    com.ibm.ws.pmi.stat.TimeStatisticImpl. These classes were
    incorrectly part of a set of classes being protected from
    application access.
    

Problem conclusion

  • The list of protected WebSphere Application Server classes was
    updated to avoid a ClassNotFoundException or
    NoClassDefFoundError for these classes.
    
    APAR PM11136 is currently targeted for inclusion in Service
    Level (Fix Pack) 6.0.2.41 of WebSphere Application Server
    V6.0.1.
    
    Please refer to URL:
    //www.ibm.com/support/docview.wss?rs=404&uid=swg27006970
    for Fix Pack availability.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM11136

  • Reported component name

    WEBSPHERE FOR Z

  • Reported component ID

    5655I3500

  • Reported release

    601

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-03-29

  • Closed date

    2010-04-01

  • Last modified date

    2010-05-04

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

    PK95962

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

Modules/Macros

  • BBOUBINF
    

Fix information

  • Fixed component name

    WEBSPHERE FOR Z

  • Fixed component ID

    5655I3500

Applicable component levels

  • R601 PSY UK55832

       UP10/04/16 P F004

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.

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
10 February 2022