NoClassDefFoundError when sending XML messages

Technote (troubleshooting)


When sending XML messages from WebSphere Commerce, you might encounter the following exception:

[2/1/13 16:16:01:498 CST] 0000003d CommerceSrvr E JMSMessageBean sendImmediate CMN0422E: The following naming exception has occurred during processing: "lookup(eis/JCAJMS) Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. [Root exception is java.lang.NoClassDefFoundError: com/ibm/commerce/ras/WASLog]".

Resolving the problem

The Enablement-JCAJMSConnector.rar connector module might be trying to locate the WASLog class in a different classpath. For example, this module might exist in WCDE_installdir/wasprofile/installedConnectors/ while the WASLog class is located in Enablement-BaseComponentsLogic.jar in another location.

By default, the Enablement-JCAJMSConnector.rar should be in the WCDE_installdir/workspace/WC/ directory with the other application JAR files. Ensure this JAR file is being loaded by the classloader by removing the other copy from WCDE_installdir/wasprofile/installedConnectors/.

Related information

Class WASLog

Document information

More support for:

WebSphere Commerce Developer Enterprise
Implementation / Usage

Software version:


Operating system(s):


Software edition:

All Editions

Reference #:


Modified date:


Translate my page

Content navigation