Page 1 of 1

java.lang.NoClassDefFoundError: org.apache.commons.logging

Posted: Thu Mar 16, 2017 9:36 am
by venkat626
Hello Team,

I am using a hierachical stage to call a webservice and am trying to write to datset file. I configured the restful and general step but am getting below error. Anyone who could help me interpret this would be of great help

Error: [Output link 0] Java runtime exception occurred: java.lang.NoClassDefFoundError: org.apache.commons.logging.LogFactory (org.exolab.castor.xml.XMLContext::<clinit>, file XMLContext.java, line 41)


[Output link 0] java.lang.NoClassDefFoundError: org.apache.commons.logging.LogFactory
[Output link 0] at org.exolab.castor.xml.XMLContext.<clinit> (XMLContext.java: 41)
[Output link 0] at com.ibm.e2.core.framework.compilation.serialization.AbstractBeanCastorHandler.<clinit> (AbstractBeanCastorHandler.java: 44)
[Output link 0] at com.ibm.e2.core.framework.compilation.serialization.AbstractBlockDeserializer.<init> (AbstractBlockDeserializer.java: 160)
[Output link 0] at com.ibm.e2.core.framework.compilation.serialization.AbstractE2ProcessDeserializer.<init> (AbstractE2ProcessDeserializer.java: 30)
[Output link 0] at com.ibm.e2.core.framework.compilation.serialization.E2ProcessDeserializer11.<init> (E2ProcessDeserializer11.java: 34)
[Output link 0] at com.ibm.e2.core.framework.compilation.serialization.E2ProcessDeserializer.handleFormatBackwardCompatibility (E2ProcessDeserializer.java: 173)
[Output link 0] at com.ibm.e2.core.framework.compilation.serialization.E2ProcessDeserializer.parseRootElement (E2ProcessDeserializer.java: 105)
[Output link 0] at com.ibm.e2.core.framework.compilation.serialization.E2ProcessDeserializer.parseRootElement (E2ProcessDeserializer.java: 36)
[Output link 0] at com.ibm.e2.core.framework.compilation.serialization.AbstractDeserializer.parse (AbstractDeserializer.java: 264)
[Output link 0] at com.ibm.e2.core.framework.compilation.serialization.E2ProcessDeserializer.deserialize (E2ProcessDeserializer.java: 68)
[Output link 0] at com.ibm.e2.core.framework.compilation.serialization.E2ProcessDeserializer.deserialize (E2ProcessDeserializer.java: 36)
[Output link 0] at com.ibm.e2.core.framework.compilation.serialization.AbstractDeserializer.deserialize (AbstractDeserializer.java: 91)
[Output link 0] at com.ibm.e2.core.framework.compilation.serialization.AbstractDeserializer.deserializeString (AbstractDeserializer.java: 200)
[Output link 0] at com.ibm.e2.applications.wisd.api.ui.service.impl.AbstractAssemblyInterfaceImpl.deserializeProcess (AbstractAssemblyInterfaceImpl.java: 291)
[Output link 0] at com.ibm.e2.applications.wisd.api.ui.service.impl.AbstractAssemblyInterfaceImpl.<init> (AbstractAssemblyInterfaceImpl.java: 224)
[Output link 0] at com.ibm.e2.applications.wisd.api.ui.service.impl.AssemblyProxy.<init> (AssemblyProxy.java: 42)
[Output link 0] at com.ibm.e2.applications.wisd.api.ui.service.impl.E2AssemblyInterfaceFactory.newAssembly (E2AssemblyInterfaceFactory.java: 37)
[Output link 0] at com.ibm.e2.applications.wisd.api.ui.service.impl.E2AssemblyInterfaceFactory.newAssembly (E2AssemblyInterfaceFactory.java: 30)
[Output link 0] at com.ibm.e2.connector.datastage.cc.CC_E2Adapter.<init> (CC_E2Adapter.java: 256)

Posted: Mon Mar 20, 2017 9:58 am
by UCDI
We had this issue about a month ago. As I understand it, the H-stage itself was the problem and we needed a patch from IBM. I don't have the patch number or details though, I am not involved in the tool patching or setup etc.

--
I dug thru the emails and found 2 things of note..

from IBM:
FYI... we have couple of other sites reported similar issue in the past and it turned out to be patch / FixPack level difference between client / server, and issue got resolved after syncing patch / FixPack on client / server, it could be same in your case...

and internally

There were some Metadata Patches that we applied to fix something. They affected the Hierarchical Stage.

Posted: Tue Mar 21, 2017 7:39 am
by qt_ky
We ran into that also and it required a patch to fix it. Try searching on the IBM Support Portal.

Posted: Wed Mar 22, 2017 9:47 am
by venkat626
Thanks for the info.

I have logged a ticket with IBM and will update .

Many thanks,
Venkat