Skip to Content
0
Former Member
Jun 19, 2014 at 12:44 PM

NW BPM start event not calling

249 Views

Hi Experts,

I have deployed below process instance with start event having message trigger - synchronous service interface.

While testing from soapUI it gives error like:

<SOAP:Fault>

<faultcode>SOAP:Server</faultcode>

<faultstring>Server Error</faultstring>

<detail>

<jpr:Fault xmlns:jpr="http://com.sap/aii/proxy/xiruntime/">com.sap.aii.proxy.xiruntime.core.ESPXISystemFaultException: Error encountered during processing of XI request message in inbound ESP; Hint: com.sap.engine.interfaces.webservices.runtime.RuntimeProcessException: Technical difficulties were experienced during process execution.</jpr:Fault>

</detail>

</SOAP:Fault>

I already searched SDN on the above error, but no clue.

So I am pasting complete logs from NWA:

process() 

[EXCEPTION]
com.sap.engine.interfaces.webservices.runtime.RuntimeProcessException: Technical difficulties were experienced during process execution.
at com.sap.glx.adapter.app.ucon.UnifiedConnectivityAdapter.invokeProvisionedMethod(UnifiedConnectivityAdapter.java:1021)
at com.sap.glx.adapter.app.ucon.wsprov.GalaxyImplementationContainer.invokeMethod(GalaxyImplementationContainer.java:109)
at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process0(RuntimeProcessingEnvironment.java:710)
at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.preProcess(RuntimeProcessingEnvironment.java:662)
at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process(RuntimeProcessingEnvironment.java:322)
at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process(RuntimeProcessingEnvironment.java:245)
at com.sap.engine.services.webservices.espbase.xi.impl.ESPXIMessageProcessorImpl.process(ESPXIMessageProcessorImpl.java:38)
at com.sap.aii.proxy.xiruntime.core.esp.ESP_XI_MessageAdapter.invokeXI2ESPProcessor(ESP_XI_MessageAdapter.java:430)
at com.sap.aii.proxy.xiruntime.sbeans.esp.xiproxies.SyncInvokeWSInterfaceIn_PortTypeImpl.syncInvokeWSInterfaceIn(SyncInvokeWSInterfaceIn_PortTypeImpl.java:23)
at com.sap.aii.proxy.xiruntime.sbeans.esp.xiproxies.SyncInvokeWSInterfaceIn_PortTypeBean.invokeMethod(SyncInvokeWSInterfaceIn_PortTypeBean.java:71)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:50)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatefulTransactionAssociation.invoke(Interceptors_StatefulTransactionAssociation.java:45)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:191)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatefulSessionInstanceGetter.invoke(Interceptors_StatefulSessionInstanceGetter.java:37)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:37)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:21)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:25)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:17)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)
at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:172)
at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:99)
at com.sun.proxy.$Proxy3245.invokeMethod(Unknown Source)
at com.sap.aii.proxy.xiruntime.core.XmlProxyJ2EE.parallelWSCall(XmlProxyJ2EE.java:649)
at com.sap.aii.proxy.xiruntime.core.XmlProxyJ2EE.call(XmlProxyJ2EE.java:147)
at com.sap.aii.proxy.xiruntime.core.XmlProxy$ProxyBeanCaller.call(XmlProxy.java:206)
at com.sap.aii.proxy.xiruntime.core.XmlProxy.processRequest(XmlProxy.java:181)
at com.sap.aii.proxy.xiruntime.core.XmlInbound.processRequestMessage(XmlInbound.java:115)
at com.sap.aii.proxy.xiruntime.core.XmlInbound.processMessage(XmlInbound.java:78)
at com.sap.aii.proxy.xiruntime.sbeans.JPRBean.onMessage(JPRBean.java:156)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:50)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatefulTransactionAssociation.invoke(Interceptors_StatefulTransactionAssociation.java:45)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:191)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatefulSessionInstanceGetter.invoke(Interceptors_StatefulSessionInstanceGetter.java:37)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:37)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:21)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:25)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:17)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)
at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:172)
at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:99)
at com.sun.proxy.$Proxy3271.onMessage(Unknown Source)
at com.sap.engine.messaging.impl.spi.ServicesImpl.deliver(ServicesImpl.java:362)
at com.sap.aii.adapter.xi.ms.XIEventHandler.onDeliver(XIEventHandler.java:1098)
at com.sap.engine.messaging.impl.core.queue.consumer.RequestConsumer.onMessage(RequestConsumer.java:75)
at com.sap.engine.messaging.impl.core.queue.Queue.run(Queue.java:1033)
at com.sap.engine.messaging.runtime.MSWorkWrapper.run(MSWorkWrapper.java:58)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:185)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:302)
Caused by: com.sap.glx.core.kernel.api.TransitionRollbackException: Exception during prepare, rolling back
at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.rollback(AbstractTransactionBase.java:701)
at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:196)
at com.sap.glx.core.kernel.mmtx.AbstractTransaction.commit(AbstractTransaction.java:77)
at com.sap.glx.adapter.app.ucon.UnifiedConnectivityAdapter.invokeProvisionedMethod(UnifiedConnectivityAdapter.java:987)
... 77 more
Caused by: com.sap.glx.core.kernel.api.TransitionRollbackException: Exception during prepare, rolling back
at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.rollback(AbstractTransactionBase.java:701)
at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:196)
at com.sap.glx.core.kernel.mmtx.AbstractTransaction.commit(AbstractTransaction.java:77)
at com.sap.glx.core.kernel.mmtx.PrimaryTransaction.inPrepare(PrimaryTransaction.java:163)
at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:194)
... 79 more
Caused by: com.sap.glx.core.kernel.api.TransitionException: An exception occurred while executing the script "_Ariba_Order_request:START_EVENT_UC_Start(
com.sap.glx.adapter.UnifiedConnectivityAdapter:Request request,
com.sap.glx.adapter.BPMNAdapter:Event_0_Start_5b8dad8a77346e54760570e1d1c8c088 event){
messageId=request:messageId;
initiator=request:initiator;
kicker=request:kicker;
instance=new com.sap.glx.adapter.BPMNAdapter:Instance_0_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(initiator, null, kicker, false, messageId, null);
bridge=new com.sap.glx.adapter.internal.Synchronizer:Bridge_0_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance, null, null, null, null);
bridge:setRequest(request);
token=new com.sap.glx.adapter.BPMNAdapter:Token_0_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance, 2, null, null, null);
delete event;
exit=new com.sap.glx.adapter.BPMNAdapter:Exit();
exit:onActivation("E0B249478BB1FD54F78611E3B53000059A3C7A00", instance, token);
delete exit;
controller=new com.sap.glx.adapter.internal.ExceptionAdapter:ExceptionController();
controller:setContext(token);
delete controller;
scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_1_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
view_7=new com.sap.glx.adapter.internal.ContainerAdapter:View_2_TextVariables_5b8dad8a77346e54760570e1d1c8c088(instance, scope, -1, false, false, null);
instance:setContainerObject("TextVariables", view_7);
scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_3_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
role_5=new com.sap.glx.adapter.internal.ContainerAdapter:View_0_Ariba_Order_request_PotentialOwners_5b8dad8a77346e54760570e1d1c8c088(instance, scope, -1, false, false, null);
scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_4_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
role_8=new com.sap.glx.adapter.internal.ContainerAdapter:View_3_Ariba_Order_request_ExcludedOwners_5b8dad8a77346e54760570e1d1c8c088(instance, scope, -1, false, false, null);
scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_5_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
role_6=new com.sap.glx.adapter.internal.ContainerAdapter:View_1_Administrators_5b8dad8a77346e54760570e1d1c8c088(instance, scope, -1, false, false, null);
instance:setContainerObject("Administrators", role_6);
scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_6_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
context_2=new com.sap.glx.adapter.internal.ContainerAdapter:Context_1_ProcessInstanceAttributes_5b8dad8a77346e54760570e1d1c8c088(instance, scope, 0, false, false, null);
instance:setContainerObject("ProcessInstanceAttributes", context_2);
scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_7_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
context_3=new com.sap.glx.adapter.internal.ContainerAdapter:Context_2_respdata_5b8dad8a77346e54760570e1d1c8c088(instance, scope, 0, false, false, null);
scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_8_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
context_1=new com.sap.glx.adapter.internal.ContainerAdapter:Context_0_reqdata_5b8dad8a77346e54760570e1d1c8c088(instance, scope, 0, false, false, null);
scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_11_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
context_4=new com.sap.glx.adapter.internal.ContainerAdapter:Context_3_payloadID_5b8dad8a77346e54760570e1d1c8c088(instance, scope, 0, false, false, null);
payload=request:getData();
mapper=new com.sap.glx.adapter.internal.Transformer:DataMapper();
yves_in=new com.sap.glx.adapter.internal.Transformer:Data();
yves_in:setData("", "$cXML", payload, "365B925081E9760C6CFC8AAE6A38BE4A");
yves_out=new com.sap.glx.adapter.internal.Transformer:Data();
data=context_1:getData();
scope=new com.sap.glx.adapter.internal.TypeRegistry:GenericScope(null, "B0A4F97FB4313113B63F888AA86D7449");
copy=scope:copy(data);
delete scope;
yves_out:setData("example.org/orderreq/Ariba_Order_request/Ariba_Order_request", "$example.org/orderreq/Ariba_Order_request/Ariba_Order_request:reqdata", copy, "B0A4F97FB4313113B63F888AA86D7449");
data=context_4:getData();
scope=new com.sap.glx.adapter.internal.TypeRegistry:GenericScope(null, "349213D98BEBBF54C08B2D9F20B3D5C7");
copy=scope:copy(data);
delete scope;
yves_out:setData("example.org/orderreq/Ariba_Order_request/Ariba_Order_request", "$example.org/orderreq/Ariba_Order_request/Ariba_Order_request:payloadID", copy, "349213D98BEBBF54C08B2D9F20B3D5C7");
mapper:map("E0B249478BB72A80F78611E38B9D00059A3C7A00_5b8dad8a77346e54760570e1d1c8c088", yves_in, yves_out);
data=yves_out:getData("example.org/orderreq/Ariba_Order_request/Ariba_Order_request", "$example.org/orderreq/Ariba_Order_request/Ariba_Order_request:reqdata", "B0A4F97FB4313113B63F888AA86D7449");
context_1:setData(data);
data=yves_out:getData("example.org/orderreq/Ariba_Order_request/Ariba_Order_request", "$example.org/orderreq/Ariba_Order_request/Ariba_Order_request:payloadID", "349213D98BEBBF54C08B2D9F20B3D5C7");
context_4:setData(data);
delete yves_in;
delete yves_out;
viewUpdater=new com.sap.glx.adapter.internal.ContainerAdapter:ViewUpdater();
delete viewUpdater;
delete mapper;
extractor=new com.sap.glx.adapter.internal.Transformer:DataExtractor();
yves_in=new com.sap.glx.adapter.internal.Transformer:Data();
data=context_1:getData();
yves_in:setData("example.org/orderreq/Ariba_Order_request/Ariba_Order_request", "$example.org/orderreq/Ariba_Order_request/Ariba_Order_request:reqdata", data, "B0A4F97FB4313113B63F888AA86D7449");
data=context_4:getData();
yves_in:setData("example.org/orderreq/Ariba_Order_request/Ariba_Order_request", "$example.org/orderreq/Ariba_Order_request/Ariba_Order_request:payloadID", data, "349213D98BEBBF54C08B2D9F20B3D5C7");
value1=extractor:extractAs("E0AAACCD28D4CDD4F78711E3840300059A3C7A00_5b8dad8a77346e54760570e1d1c8c088", yves_in, "BOOLEAN");
delete yves_in;
delete extractor;
subscription=new com.sap.glx.adapter.internal.CorrelationAdapter:Subscription_0_Wait_for_response_message_5b8dad8a77346e54760570e1d1c8c088(instance, value1, null, null);
subscription:addModifier(2, context_1);
subscription:addModifier(2, context_4);
new com.sap.glx.adapter.internal.LoggingAdapter:FlightRecorder_0_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
eventLogger=new com.sap.glx.adapter.internal.EventLogAdapter:EventLogger_0_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088();
eventLogger:createEntryWithMessageId(1, "E0B249478AE020FCF78611E3925F00059A3C7A00", instance, "E0B249478BB1FD54F78611E3B53000059A3C7A00", kicker, messageId);
delete eventLogger;
}"
at com.sap.glx.core.kernel.execution.transition.ScriptTransition.execute(ScriptTransition.java:83)
at com.sap.glx.core.kernel.execution.transition.Transition.commence(Transition.java:196)
at com.sap.glx.core.kernel.mmtx.DirectNestedTransaction.inPrepare(DirectNestedTransaction.java:69)
at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:194)
... 82 more
Caused by: com.sap.glx.core.kernel.api.TransitionException: An exception occurred while executing the script command "context_3=new com.sap.glx.adapter.internal.ContainerAdapter:Context_2_respdata_5b8dad8a77346e54760570e1d1c8c088(instance, scope, 0, false, false, null)"
at com.sap.glx.core.kernel.trigger.config.Script.execute(Script.java:803)
at com.sap.glx.core.kernel.execution.transition.ScriptTransition.execute(ScriptTransition.java:78)
... 85 more
Caused by: com.sap.glx.core.kernel.api.TransitionRollbackException
at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.rollback(AbstractTransactionBase.java:701)
at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.rollback(AbstractTransactionBase.java:710)
at com.sap.glx.core.dock.impl.GalaxyClassImpl.create(GalaxyClassImpl.java:234)
at com.sap.glx.core.kernel.trigger.config.Script$NewInstance.execute(Script.java:368)
at com.sap.glx.core.kernel.trigger.config.Script.execute(Script.java:798)
... 86 more
Caused by: com.sap.glx.core.kernel.api.TransitionException: Cannot find type for :#cXML
at com.sap.glx.core.internaladapter.typeregistry.TypeRegistryImpl.instantiateSDO(TypeRegistryImpl.java:176)
at com.sap.glx.core.internaladapter.typeregistry.TypeRegistryImpl.access$000(TypeRegistryImpl.java:51)
at com.sap.glx.core.internaladapter.typeregistry.TypeRegistryImpl$3.invoke(TypeRegistryImpl.java:372)
at com.sap.glx.core.dock.impl.DockObjectImpl.invokeMethod(DockObjectImpl.java:657)
at com.sap.glx.core.internaladapter.ContainerAdapter$InstanceContainerHandler.onConstruction(ContainerAdapter.java:769)
at com.sap.glx.core.dock.impl.DockObjectImpl.creation(DockObjectImpl.java:284)
at com.sap.glx.core.dock.impl.GalaxyClassImpl.create(GalaxyClassImpl.java:224)
... 88 more --Divyesh

Attachments

Process.JPG (35.8 kB)