IBM Support

PH43960: JAVA.LANG.CLASSFORMATERROR: JVMCFRE106 DUPLICATE METHOD; CLASS=A/B/C/_EJSREMOTE0SLASBCBEAN_CAB9549D_TIE, OFFSET=51525 REPORTS

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • When an EJB has methods with same name but different
    parameters, and also method names that differ in case,
    below error reports:
    java.lang.ClassFormatError: JVMCFRE106 duplicate method;
    class=a/b/c/_EJSRemote0SLASBCBean_cab9549d_Tie, offset=51525
    at java.lang.ClassLoader.defineClassImpl(Native Method)
    at
    java.lang.ClassLoader.defineClassInternal(ClassLoader.java:397)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:358)
    at com.ibm.ws.classloader.CompoundClassLoader.defineApplication
    Class(CompoundClassLoader.java:727)
    at com.ibm.ws.ejbcontainer.jitdeploy.SharedClassDefiner.findLoa
    dedOrDefineClass(SharedClassDefiner.java:32)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    *                  with Enterprise JavaBeans (EJB)             *
    *                  applications                                *
    ****************************************************************
    * PROBLEM DESCRIPTION: JVMCFRE106 duplicate method error       *
    *                      occurs                                  *
    *                      for EJB remote interfaces with methods  *
    *                      that differ only in case                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When an EJB application contains a remote interface with
    multiple methods by the same name, but where at least one method
    name has a different case spelling and two methods have the same
    case spelling but different parameters, then the below error may
    occur either when the application starts or is used for the
    first time. This is due to the just-in-time deployment of the
    tie class used for EJB remote interfaces being generated
    incorrectly.
    java.lang.ClassFormatError: JVMCFRE106 duplicate method;
    class=a/b/c/_EJSRemote0SLASBCBean_cab9549d_Tie, offset=51525
    at java.lang.ClassLoader.defineClassImpl(Native Method)
    at
    java.lang.ClassLoader.defineClassInternal(ClassLoader.java:397)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:358)
    at com.ibm.ws.classloader.CompoundClassLoader.defineApplication
    Class(CompoundClassLoader.java:727)
    at com.ibm.ws.ejbcontainer.jitdeploy.SharedClassDefiner.findLoa
    dedOrDefineClass(SharedClassDefiner.java:32)
    

Problem conclusion

  • The just-in-time deployment code has been updated to ensure
    duplicate methods are not generated for the tie class. Just-in-
    time deployment occurs at runtime, so EJB applications do not
    need to be rebuilt nor re-deployed.
    
    The fix for this APAR is targeted for inclusion in fix packs
    8.5.5.22 and 9.0.5.11. For more information, see 'Recommended
    Updates for WebSphere Application Server':
    https://www.ibm.com/support/pages/node/715553
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH43960

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-02-08

  • Closed date

    2022-02-22

  • Last modified date

    2022-02-22

  • 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

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0"}]

Document Information

Modified date:
23 February 2022