IBM Support

JR54696: DBUPGRADE FAILED DUE TO ERROR 'NOCLASSDEFFOUNDERROR: COM.IBM.BPM.SCA.CORE.SCARUNTIME'

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Client migrated from BPM 7.5.1.1. to BPM 8.5.5 Advanced.  When
    executing command DBUpgrade, they encountered the error below:
    ----------------
    Nov 3, 2015 12:01:03 PM SEVERE:
    com.lombardisoftware.tools.dbupgrade.multithread.SimpleThreadPoo
    l$ThreadPoolUncaughtExceptionHandler.uncaughtException -
    Uncaught exception occurs in thread: Thread Pool-0, please
    check the log or details.
    Nov 3, 2015 12:01:03 PM SEVERE:
    com.lombardisoftware.tools.dbupgrade.multithread.SimpleThreadPoo
    l$ThreadPoolUncaughtExceptionHandler.uncaughtException -
    com.ibm.bpm.sca.core.SCARuntime
    java.lang.NoClassDefFoundError: com.ibm.bpm.sca.core.SCARuntime
     at java.lang.Class.getDeclaredFieldsImpl(Native Method)
     at java.lang.Class.getDeclaredFields(Class.java:605)
     at
    java.io.ObjectStreamClass.getDefaultSerialFields(ObjectStreamCla
    ss.java:1672)
     at
    java.io.ObjectStreamClass.getSerialFields(ObjectStreamClass.java
    :1594)
     at
    java.io.ObjectStreamClass.access$800(ObjectStreamClass.java:63)
     at
    java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:505)
     at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:273)
     at
    java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:491)
    .....
    Caused by: java.lang.ClassNotFoundException:
    com.ibm.bpm.sca.core.SCARuntime
     at
    org.apache.tools.ant.AntClassLoader.findClassInComponents(AntCla
    ssLoader.java:1400)
     at
    org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.jav
    a:1341)
     at
    org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.jav
    a:1094)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:665)
    ----------------------
    Caused by: java.lang.RuntimeException: Exception occurs when
    upgrade data of table LSW_TASK_EXECUTION_CONTEXT.
     at
    com.lombardisoftware.tools.dbupgrade.utils.MultipleThreadDatabas
    eUpgradeStep.execute(MultipleThreadDatabaseUpgradeStep.java:69)
     ... 31 more
    

Local fix

  • 1.Backup the upgrade.xml under
    /usr/IBM/WebSphere/BPM85/util/dbUpgrade/upgrade.xml
    2.In order to avoid the further classnotfound issue, please
    help add below jars into the upgrade.xml
    <path id="upgrade.classpath">
    <fileset dir="${was.install.root}/plugins">
    <include name="com.ibm.bpm.sca.jar"/>
    <include name="com.ibm.bpc.runtime"/>
    ......
    </fileset>
    ......
    </path>
    3.Re-run the dbupgrade. Make sure you have taken a good backup
    of your database before you rerun the dbupgrade.
    

Problem summary

  • This issue occurs because com.ibm.bpm.sca.core.SCARuntime was
    persisted in the W_TASK_EXECUTION_CONTEXT, but the upgrade.xml
    file didn't include a reference to the com.ibm.bpm.sca.jar file.
    

Problem conclusion

  • A fix is available for IBM BPM V8.5.5.0 that adds
    com.ibm.bpm.sca.jar to the upgrade.xml file to avoid the error.
    
    On Fix Central (http://www.ibm.com/support/fixcentral), search
    for JR54696:
    
    1. Select the IBM Business Process Manager with your edition
    from the product selector, the installed version to the fix pack
    level, and your platform, and click Continue.
    2. Select APAR or SPR, enter JR54696, and click Continue.
    
    When you download fix packages, also download the readme file
    for each fix. Review each readme file for additional
    installation instructions and information about the fix.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR54696

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    855

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-11-10

  • Closed date

    2016-04-05

  • Last modified date

    2016-04-05

  • 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

    BPM ADVANCED

  • Fixed component ID

    5725C9400

Applicable component levels

  • R855 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"855","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
05 April 2016