IBM Support

JR63529: CLASSNOTFOUNDEXCEPTION OCCURS WHEN IMPORTING A SNAPSHOT TWX

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.

Direct link to fix

 

APAR status

  • Closed as program error.

Error description

  • When you import a snapshot from a twx file, it fails and the
    following exception is logged in the SystemOut.log:
    
    [4/14/21 13:23:45:953 EEST] 0000015e TWXImportExpo I
    CWLLG0162I: Import Failed
    [4/14/21 13:23:45:953 EEST] 0000015e wle          E  CWLLG2229E:
    An exception occurred in an EJB call. Error:
    org.apache.http.entity.mime.content.ContentBody
                                    java.lang.NoClassDefFoundError:
    org.apache.http.entity.mime.content.ContentBody
       at java.lang.Class.forNameImpl(Native Method)
       at java.lang.Class.forName(Class.java:367)
       at
    com.lombardisoftware.core.Classes.createClass(Classes.java:90)
       at
    com.lombardisoftware.core.Classes.getClassMetaData(Classes.java:
    176)
       at
    com.lombardisoftware.server.ejb.reflection.ReflectionServicesCor
    e$1.execute(ReflectionServicesCore.java:74)
       at
    com.lombardisoftware.server.core.ManagedAssetClassLoaderUtil.exe
    cuteWithManagedAssetClassLoader(ManagedAssetClassLoaderUtil.java
    :58)
    ...
       at
    com.lombardisoftware.server.ejb.persistence.versioning.BranchMan
    ager$TransactionScope.execute(BranchManager.java:996)
       at
    com.lombardisoftware.server.ejb.persistence.versioning.BranchMan
    ager.writeAccess(BranchManager.java:370)
       at
    com.lombardisoftware.server.ejb.persistence.versioning.BranchMan
    ager.createNewBranch(BranchManager.java:579)
    ...
       at
    com.lombardisoftware.server.ejb.repositoryservices.RepositorySer
    vicesBean.handleEjbCall(RepositoryServicesBean.java:50)
       at
    com.lombardisoftware.server.ejb.repositoryservices.RepositorySer
    vicesBean.importUploadedFile(RepositoryServicesBean.java:536)
       at
    com.lombardisoftware.server.ejb.repositoryservices.EJSRemoteStat
    elessRepositoryServices_80e00eba.importUploadedFile(Unknown
    Source)
       at
    com.lombardisoftware.server.ejb.repositoryservices._RepositorySe
    rvices_Stub.importUploadedFile(_RepositoryServices_Stub.java:255
    1)
    ...
    Caused by: java.lang.ClassNotFoundException
       at java.lang.ClassLoader.findClass(ClassLoader.java:496)
       at
    java.lang.ClassLoader.loadClassHelper(ClassLoader.java:924)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:869)
       at
    com.lombardisoftware.server.core.ManagedAssetClassLoader.loadCla
    ss(ManagedAssetClassLoader.java:280)
    

Local fix

Problem summary

  • This issue occurs when you have a managed asset jar in the twx
    and there is a missing class reference in it. As a result,
    validation throws a NoClassDefFoundError failing import.
    
    PRODUCT AFFECTED
    IBM Business Automation Workflow
    

Problem conclusion

  • A fix is available or will be available in IBM Business
    Automation Workflow that catches the NoClassDefFoundError and
    treats it as a validation error allowing import to complete.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR63529

  • Reported component name

    BPM

  • Reported component ID

    5737A5700

  • Reported release

    K00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-04-14

  • Closed date

    2021-06-01

  • Last modified date

    2021-06-01

  • 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

    BUS AUTO WORKFL

  • Fixed component ID

    5737H4100

Applicable component levels

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU029","label":"Software"},"Product":{"code":"SS8JB4","label":"IBM Business Automation Workflow"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"20.0.0.1"}]

Document Information

Modified date:
21 June 2021