IBM Sterling Transformation Extender

Sterling Transformation Extender

Come for answers, stay for best practices. All we're missing is you.


#Sterling
 View Only
Expand all | Collapse all

NoClassDefFoundError: com/ibm/websphere/dtx/dtxpi/MMap

  • 1.  NoClassDefFoundError: com/ibm/websphere/dtx/dtxpi/MMap

    Posted Wed July 29, 2009 06:34 PM

    Originally posted by: vickey


    Hi,

    I am using WESB V6.2.0.1 and WTX primitive is also installed in WESB to invoke the WTX maps for WESB.

    I develop the mediations flows using WID use WTX primitive to call the wtx maps.

    I am successfully able to execute the mediation flow in Windows.

    But when I try to run the same in Solaris box I am getting the below error.

    Exception data: java.lang.NoClassDefFoundError: com/ibm/websphere/dtx/dtxpi/MMap

    As far as I see that the WESB is unable to find the runtime jar, but the runtime jar is installed in the plugins directory of the WESB server.

    Solution to this issue will be of much help to me.

    7/29/09 14:43:01:822 CDT 0000002f ExceptionUtil E CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "invokeRequestFlow" on bean "BeanId(AddressbookMediationModulePubApp#AddressbookMediationModulePubEJB.jar#AddressbookMediationModulePub, null)". Exception data: java.lang.NoClassDefFoundError: com/ibm/websphere/dtx/dtxpi/MMap
    at com.ibm.websphere.services.util.wtx.primitive.WTXPrimitive.<clinit> ( WTXPrimitive.java:88)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at com.ibm.ws.sibx.scax.mediation.component.ESBFlowBuilder$1.run(ESBFlowBuilder.java:1075)
    at com.ibm.ws.sibx.scax.mediation.component.ESBFlowBuilder$1.run(ESBFlowBuilder.java:1074)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.ibm.ws.sibx.scax.mediation.component.ESBFlowBuilder.createMediation(ESBFlowBuilder.java:1073)
    at com.ibm.ws.sibx.scax.mediation.component.ESBFlowBuilder.createJavaMediationPrimitive(ESBFlowBuilder.java:795)
    at com.ibm.ws.sibx.scax.mediation.component.ESBFlowBuilder.createNode(ESBFlowBuilder.java:645)
    at com.ibm.ws.sibx.scax.mediation.component.ESBFlowBuilder.createInput(ESBFlowBuilder.java:752)
    at com.ibm.ws.sibx.scax.mediation.component.ESBFlowBuilder.createRequestFlow(ESBFlowBuilder.java:310)
    at com.ibm.ws.sibx.scax.mediation.engine.MediationFlow.getRequestFlow(MediationFlow.java:308)
    at com.ibm.ws.sibx.scax.mediation.engine.MediationFlow.invokeRequestFlow(MediationFlow.java:139)
    at com.ibm.wsspi.sibx.mediation.flow.ejb.MediationFlowBean.invokeRequestFlow(MediationFlowBean.java:231)
    Thanks for the help.

    Vickey
    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender


  • 2.  Re: NoClassDefFoundError: com/ibm/websphere/dtx/dtxpi/MMap

    Posted Mon August 03, 2009 04:19 PM

    Originally posted by: MartinEvans@


    Can you explicitly add the JAR to the CLASSPATH of WESB?
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 3.  Re: NoClassDefFoundError: com/ibm/websphere/dtx/dtxpi/MMap

    Posted Mon August 03, 2009 05:12 PM

    Originally posted by: vickey


    Hi Martin,

    Thanks for the reply.

    I am not sure of adding the jar file to CLASSPATH of WESB, but I copied the jar file to the lib folder of the WESB application and it worked.

    It seems like WTX for IS V8.2.0.4 doesnt work properly with WESB V6.2.0.1 in Solaris machine.

    We have raised a PMR with IBM and hope they will fix at the earliest.

    Once again thanks for the reply.

    Regards,
    Vickey
    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender


  • 4.  Re: NoClassDefFoundError: com/ibm/websphere/dtx/dtxpi/MMap

    Posted Fri October 16, 2009 07:08 AM

    Originally posted by: Satya.sid


    Hi Martin,

    I am facing the same issue.

    I have added two jars (com.ibm.websphere.services.util.wtx.primitive_1.2.0.jar and WTXPrimitive_1_2.jar) to class path and also in project path. Still the same issue.

    When I opened both the jars I could not see the Class "com.ibm.websphere.dtx.dtxpi.MMap". Am I putting the correct jar?

    com.ibm.websphere.services.util.wtx.primitive_1.2.0.jar and WTXPrimitive_1_2.jar

    Hi Vickey

    Did you find the solution to this?

    Regards
    Satya
    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender