Monday, April 14, 2014

[SOA] java.lang.NoClassDefFoundError: oracle/sdp/messaging/Message

Observing "java.lang.NoClassDefFoundError: oracle/sdp/messaging/Message" error in the diagnostic log

[2014-04-11T11:30:14.125+08:00] [BAIAPRD_MS1] [ERROR] [] [oracle.soa.bpel.engine] [tid:$WorkWithListener@398ba835] [userId: <anonymous>] [ecid: 8e6376f44a6a4ba9:457d859:1454c859dda:-8000-0000000000e3e370,0:1:100052748] [APP: soa-infra] [VERB_CODE: ] [SENDER_TRANSACTION_CODE: ] [composite_name: SyncCustomerPartyListKenanCommsProvABCSImpl] [SENDER_ID: ] [EBM_ID: ] [component_name: SyncCustomerPartyListKenanCommsProvABCSImplProcess] [component_instance_id: 901660826] [EBO_NAME: ] [SENDER_MESSAGE_ID: ] [EBM_NAME: ] [ECID: 8e6376f44a6a4ba9:457d859:1454c859dda:-8000-0000000000e3e370] This exception occurred because the fault thrown in the BPEL flow was not handled by any fault handlers and reached the top-level scope. Root cause : [[
java.lang.NoClassDefFoundError: oracle/sdp/messaging/Message
        at orabpel.synccustomerpartylistkenancommsprovabcsimplprocess.ExecLetBxExe2.execute(
        at com.collaxa.cube.engine.ext.bpel.common.wmp.BPELxExecWMP.__executeStatements(
        at com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP.perform(
        at com.collaxa.cube.engine.CubeEngine.performActivity(
        at com.collaxa.cube.engine.CubeEngine._handleWorkItem(
        at com.collaxa.cube.engine.CubeEngine.handleWorkItem(
        at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(

Action lead to the Issue:
1) We open putty and source (AIA_HOME/aia_instances/AIA/bin/ then perform the AIA deployment using ant script (and AID)
2) We stop Node Manager, Admin Server (AS), Managed Server (MS)
3) Using same putty window/session, we startup AS and MS. And startup MS using through console.
4) Then we observed the error when our fallout not returning the expected error

Root Cause:
Overloading of class.

The aia.jar lib is in the classpath during nodemanager startup. Thus the nodemanager will use the classpath when starting up managed server. Which result in the overloading of the class.

1) SR 3-8842902911 : PRD-AIA Encounter "java.lang.NoClassDefFoundError" when composite invoke services
2) Orace Doc ID : Error Email Notification Not Received (Doc ID 1360057.1)


Post a Comment