Deployment of AIA Demo application fails during AIA Install (Doc ID 1115174.1)

Last updated on OCTOBER 20, 2016

Applies to:

Oracle Application Integration Architecture Foundation Pack - Version 11gR1 and later
Information in this document applies to any platform.

Symptoms

After completing the Foundation Pack 11gR1 install and while deploying the AIA Demo, the AIA Demo fails after entering the first order with multiple errors shown on the Enterprise Manager Console for Fusion Middleware.  Errors occur whilst the Mediator AIADemoJMSConsumer is trying to invoke the BPEL process AIADemoProcessSalesOrderShopReqABCSImpl.  These errors are:

a) oracle.fabric.common.FabricInvocationException
b) java.lang.NullPointerException
c) ORAMED-03302:[Exception in oneway execution]Unexpected exception in oneway operation "AIADemoProcessSalesOrder" on reference "AIADemoProcessSalesOrderShopReqABCSImpl".

An extract from the SOA Server Out log file shows:

...
SEVERE: AbstractWebServiceBindingComponent.dispatchRequest Unable to dispatch
request to http://aiasup06.au.oracle.com:8001/soa-infra/services/default/AIADemoProcessSalesOrderShopReqABCSImpl!1.0*5b5286b0-0ad7-4fbd-8d8d-eb2cafbf2d66/AIADemoProcessSalesOrderShopReqABCSImplClient due to
exceptionjavax.xml.ws.soap.SOAPFaultException: Invalid URI "ID:<1014637.1260532957407.0>" in Addressing element RelatesTo.
at oracle.j2ee.ws.client.jaxws.DispatchImpl.throwJAXWSSoapFaultException(DispatchImpl.java:882)
at oracle.j2ee.ws.client.jaxws.DispatchImpl.invokeOneWay(DispatchImpl.java:1006)
at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:224)
at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invokeOneWay(OracleDispatchImpl.java:102)
at oracle.integration.platform.blocks.soap.AbstractWebServiceBindingComponent.dispatchRequest(AbstractWebServiceBindingComponent.java:448)
at oracle.integration.platform.blocks.soap.WebServiceExternalBindingComponent.processOutboundMessage(WebServiceExternalBindingComponent.java:185)
at oracle.integration.platform.blocks.soap.WebServiceExternalBindingComponent.sendSOAPMessage(WebServiceExternalBindingComponent.java:635)
at oracle.integration.platform.blocks.soap.WebServiceExternalBindingComponent.post(WebServiceExternalBindingComponent.java:589)
at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost(AsynchronousMessageHandler.java:142)
at oracle.integration.platform.blocks.mesh.MessageRouter.post(MessageRouter.java:194)
at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.java:204)
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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy188.post(Unknown Source)
at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.post2Mesh(MediatorServiceEngine.java:1020)
at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:200)
at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:94)
at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:74)
at oracle.tip.mediator.service.OneWayActionHandler.process(OneWayActionHandler.java:47)
at oracle.tip.mediator.service.ActionProcessor.onMessage(ActionProcessor.java:64)
at oracle.tip.mediator.dispatch.MessageDispatcher.executeCase(MessageDispatcher.java:124)
at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCase(InitialMessageDispatcher.java:514)
at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:417)
at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:301)
at oracle.tip.mediator.dispatch.InitialMessageDispatcher.dispatch(InitialMessageDispatcher.java:137)
at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.process(MediatorServiceEngine.java:779)
at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.post(MediatorServiceEngine.java:603)
at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost(AsynchronousMessageHandler.java:142)
at oracle.integration.platform.blocks.mesh.MessageRouter.post(MessageRouter.java:194)
at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.java:204)
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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy188.post(Unknown Source)
at oracle.integration.platform.blocks.adapter.fw.jca.mdb.AdapterServiceMDB.onMessage(AdapterServiceMDB.java:602)
at oracle.integration.platform.blocks.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:401)
at oracle.tip.adapter.jms.inbound.JmsConsumer.doSend(JmsConsumer.java:639)
at oracle.tip.adapter.jms.inbound.JmsConsumer.sendInboundMessage(JmsConsumer.java:416)
at oracle.tip.adapter.jms.inbound.JmsConsumer.send(JmsConsumer.java:1085)
at oracle.tip.adapter.jms.inbound.JmsConsumer.run(JmsConsumer.java:974)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:77)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)

<Dec 11, 2009 4:02:41 AM PST> <Warning> <oracle.integration.platform>
<SOA-20136> <WS Binding: exception durign SOAP invocation:
java.lang.NullPointerException>
<Dec 11, 2009 4:02:41 AM PST> <Error> <oracle.soa.mediator.serviceEngine>
<BEA-000000> <Post 2 mess failed oracle.fabric.common.FabricInvocationException
at oracle.integration.platform.blocks.soap.WebServiceExternalBindingComponent.sendSOAPMessage(WebServiceExternalBindingComponent.java:653)
at oracle.integration.platform.blocks.soap.WebServiceExternalBindingComponent.post(WebServiceExternalBindingComponent.java:589)
at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost(AsynchronousMessageHandler.java:142)
at oracle.integration.platform.blocks.mesh.MessageRouter.post(MessageRouter.java:194)
at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.java:204)
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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy188.post(Unknown Source)
at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.post2Mesh(MediatorServiceEngine.java:1020)
at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:200)
at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:94)
...


After enabling detailed debug, the following can be seen inthe SOA Server Out log file (EM->soa_infra->SOA_INFRASTRUCTURE->Logs->Log Configuration.  Set all to "Trace:32 FINEST and Apply)

Extract from SOA Server Out log file:

...
FINE: AbstractWebServiceBindingComponent.isLocalInvocationPossible
Comparing http://aiasup06.au.oracle.com:8001/soa-infra/services/default/AIADemoProcessSalesOrderShopReqABCSImpl/AIADemoProcessSalesOrderShopReqABCSImplClient to http://localhost.localdomain:8001 to determine local invocation status

FINE: AbstractWebServiceBindingComponent.getLocalInvocationCandidate Local invocation candidate available: false

FINE: AbstractWebServiceBindingComponent.dispatchRequest Invoking external request:
http://aiasup06.au.oracle.com:8001/soa-infra/services/default/AIADemoProcessSalesOrderShopReqABCSImpl/AIADemoProcessSalesOrderShopReqABCSImplClient

SEVERE: AbstractWebServiceBindingComponent.dispatchRequest Unable to dispatch request to http://aiasup06.au.oracle.com:8001/soa-infra/services/default/AIADemoProcessSalesOrderShopReqABCSImpl/AIADemoProcessSalesOrderShopReqABCSImplClient due to exceptionjavax.xml.ws.soap.SOAPFaultException: Invalid URI "ID:<1048435.1274868074142.0>" in Addressing element RelatesTo.
at oracle.j2ee.ws.client.jaxws.DispatchImpl.throwJAXWSSoapFaultException(DispatchImpl.java:882)
at oracle.j2ee.ws.client.jaxws.DispatchImpl.invokeOneWay(DispatchImpl.java:1006)
at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:224)
at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invokeOneWay(OracleDispatchImpl.java:102)
...

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms