IBM Support

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

Fixes are available

7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for IBM i
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for Windows
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for AIX
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for HP-UX
7.0.0.9: Java SDK 1.6 SR7 Cumulative Fix for WebSphere Application Server
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for Solaris
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for Linux
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for IBM i
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for Windows
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for HP-UX
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for AIX
7.0.0.11: Java SDK 1.6 SR7 Cumulative Fix for WebSphere Application Server
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for Solaris
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for Linux
6.1.0.31: Java SDK 1.5 SR11 FP1 Cumulative Fix for WebSphere Application Server
6.1.0.33: Java SDK 1.5 SR12 FP1 Cumulative Fix for WebSphere
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for AIX
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for HP-UX
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for IBM i
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for Linux
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for Solaris
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for Windows
7.0.0.13: Java SDK 1.6 SR8FP1 Cumulative Fix for WebSphere Application Server
6.1.0.35: Java SDK 1.5 SR12 FP2 Cumulative Fix for WebSphere
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for AIX
7.0.0.15: Java SDK 1.6 SR9 Cumulative Fix for WebSphere Application Server
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for HP-UX
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for IBM i
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for Linux
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for Solaris
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for Windows
6.1.0.37: Java SDK 1.5 SR12 FP3 Cumulative Fix for WebSphere
7.0.0.17: WebSphere Application Server V7.0 Fix Pack 17
7.0.0.17: Java SDK 1.6 SR9 FP1 Cumulative Fix for WebSphere Application Server
7.0.0.19: WebSphere Application Server V7.0 Fix Pack 19
7.0.0.21: WebSphere Application Server V7.0 Fix Pack 21
7.0.0.23: WebSphere Application Server V7.0 Fix Pack 23
7.0.0.25: WebSphere Application Server V7.0 Fix Pack 25
7.0.0.27: WebSphere Application Server V7.0 Fix Pack 27
7.0.0.29: WebSphere Application Server V7.0 Fix Pack 29
6.1.0.47: WebSphere Application Server V6.1 Fix Pack 47
7.0.0.31: WebSphere Application Server V7.0 Fix Pack 31
7.0.0.27: Java SDK 1.6 SR13 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.33: WebSphere Application Server V7.0 Fix Pack 33
7.0.0.35: WebSphere Application Server V7.0 Fix Pack 35
6.1.0.39: Java SDK 1.5 SR12 FP4 Cumulative Fix for WebSphere Application Server
6.1.0.41: Java SDK 1.5 SR12 FP5 Cumulative Fix for WebSphere Application Server
6.1.0.43: Java SDK 1.5 SR13 Cumulative Fix for WebSphere Application Server
6.1.0.45: Java SDK 1.5 SR14 Cumulative Fix for WebSphere Application Server
6.1.0.47: Java SDK 1.5 SR16 Cumulative Fix for WebSphere Application Server
7.0.0.19: Java SDK 1.6 SR9 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.21: Java SDK 1.6 SR9 FP2 Cumulative Fix for WebSphere
7.0.0.23: Java SDK 1.6 SR10 FP1 Cumulative Fix for WebSphere
7.0.0.25: Java SDK 1.6 SR11 Cumulative Fix for WebSphere Application Server
7.0.0.27: Java SDK 1.6 SR12 Cumulative Fix for WebSphere Application Server
7.0.0.29: Java SDK 1.6 SR13 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.45: Java SDK 1.6 SR16 FP60 Cumulative Fix for WebSphere Application Server
7.0.0.31: Java SDK 1.6 SR15 Cumulative Fix for WebSphere Application Server
7.0.0.35: Java SDK 1.6 SR16 FP1 Cumulative Fix for WebSphere Application Server
7.0.0.37: Java SDK 1.6 SR16 FP3 Cumulative Fix for WebSphere Application Server
7.0.0.39: Java SDK 1.6 SR16 FP7 Cumulative Fix for WebSphere Application Server
7.0.0.41: Java SDK 1.6 SR16 FP20 Cumulative Fix for WebSphere Application Server
7.0.0.43: Java SDK 1.6 SR16 FP41 Cumulative Fix for WebSphere Application Server
Obtain the fix for this APAR.

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 IBM WebSphere Application      *
    *                  Server V6.1.0                               *
    ****************************************************************
    * 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 PK95962 is currently targeted for inclusion in Service
    Level (Fix Pack) 6.1.0.31 of WebSphere Application Server
    V6.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

    PK95962

  • Reported component name

    WEBSPHERE FOR Z

  • Reported component ID

    5655I3500

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    YesSpecatt / CST

  • Submitted date

    2009-09-11

  • Closed date

    2009-12-14

  • Last modified date

    2010-06-08

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

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

    PM08137 PM11136

Fix information

  • Fixed component name

    WEBSPHERE FOR Z

  • Fixed component ID

    5655I3500

Applicable component levels

  • R610 PSY UK56378

       UP10/05/08 P F005

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"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 December 2021