IBM Support

JR60280: com.ibm.websphere.command.CommandException is missing when migrating the Data service layer.

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 the client is trying to migrate custom Physical Service
    Data Objects by using the following link, they encounter the
    error saying 'com.ibm.websphere.command.CommandException' is
    missing.
    
    https://www.ibm.com/support/knowledgecenter/SSZLC2_8.0.0/com.ibm
    .commerce.migrate.doc/tasks/tmgdevmigratesdo.htm
    
    Step to reproduce, open toolkit:
    a, Select File > New > Other > WebSphere Commerce > Data Service
     Layer.
    b, Click Next.
    On step b nothing will happen, then the client double click the
    'Data Service Layer' icon, which the error will shows up.
    
    I reproduced this on my toolkit, 8.0.0.3, got the exact issue,
    with the following error stack,
    
    !ENTRY org.eclipse.ui 4 0 2018-10-01 11:45:50.932
    !MESSAGE Unhandled event loop exception
    !STACK 0
    java.lang.NoClassDefFoundError:
    com.ibm.websphere.command.CommandException
    at java.lang.ClassLoader.defineClassImpl(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:345)
    at
    org.eclipse.osgi.internal.loader.ModuleClassLoader.defineClass(M
    oduleClassLoader.java:272)
    at
    org.eclipse.osgi.internal.loader.classpath.ClasspathManager.defi
    neClass(ClasspathManager.java:632)
    at
    org.eclipse.osgi.internal.loader.classpath.ClasspathManager.find
    ClassImpl(ClasspathManager.java:588)
    at
    org.eclipse.osgi.internal.loader.classpath.ClasspathManager.find
    LocalClassImpl(ClasspathManager.java:540)
    at
    org.eclipse.osgi.internal.loader.classpath.ClasspathManager.find
    LocalClass(ClasspathManager.java:527)
    at
    org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClas
    s(ModuleClassLoader.java:324)
    at
    org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(Bun
    dleLoader.java:320)
    at
    org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(
    BundleLoader.java:395)
    at
    org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLo
    ader.java:345)
    at
    org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLo
    ader.java:337)
    at
    org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(Mod
    uleClassLoader.java:160)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:752)
    at java.lang.ClassLoader.defineClassImpl(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:345)
    at
    org.eclipse.osgi.internal.loader.ModuleClassLoader.defineClass(M
    oduleClassLoader.java:272)
    at
    org.eclipse.osgi.internal.loader.classpath.ClasspathManager.defi
    neClass(ClasspathManager.java:632)
    at
    org.eclipse.osgi.internal.loader.classpath.ClasspathManager.find
    ClassImpl(ClasspathManager.java:588)
    at
    org.eclipse.osgi.internal.loader.classpath.ClasspathManager.find
    LocalClassImpl(ClasspathManager.java:540)
    at
    org.eclipse.osgi.internal.loader.classpath.ClasspathManager.find
    LocalClass(ClasspathManager.java:527)
    at
    org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClas
    s(ModuleClassLoader.java:324)
    at
    org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(Bun
    dleLoader.java:320)
    at
    org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(
    BundleLoader.java:395)
    at
    org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLo
    ader.java:345)
    at
    org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLo
    ader.java:337)
    at
    org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(Mod
    uleClassLoader.java:160)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:752)
    at
    com.ibm.commerce.config.aesmigration.util.WCEncryptionAlgChecker
    Factory.getWCEncryptionAlgChecker(WCEncryptionAlgCheckerFactory.
    java:90)
    at com.ibm.commerce.util.nc_crypt.decrypt(nc_crypt.java:146)
    
    It seems the
    com.ibm.commerce.config.aesmigration.util.WCEncryptionAlgChecker
    Factory.getWCEncryptionAlgChecker can't find
    com.ibm.websphere.command.CommandException.
    

Local fix

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce V8
    
    PROBLEM ABSTRACT:
    com.ibm.websphere.command.CommandException is missing when
    migrating the Data service layer.
    
    BUSINESS IMPACT:
    Customer can not do DSL generation.
    
    RECOMMENDATION:
    

Problem conclusion

  • Rollback the code change that bring in more jar dependencies.
    And use locale duplicate utility logic to handle the issue.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR60280

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-11-12

  • Closed date

    2019-06-03

  • Last modified date

    2019-06-03

  • 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

    WC BUS EDITION

  • Fixed component ID

    5724I3800

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYSYL","label":"WebSphere Commerce Enterprise"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
03 June 2019