This is the error received in ESB Control:
oracle.tip.esb.server.common.exceptions.BusinessEventFatalException: An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: Unable to parse jca:address; nested exception is:
ORABPEL-12511
Adapter Framework unable to create outbound JCA connection.
esb:///ESB_Projects/ErrorHandling_AdapterFailover2/AQOut.wsdl [ {http://xmlns.oracle.com/pcbpel/adapter/aq/AQOut/}Enqueue_ptt ]: : The Adapter Framework was unable to establish an outbound JCA connection due to the following issue: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
Please examine the log file for any reasons. Enable DEBUG logging in the BPEL Console.
at oracle.tip.adapter.fw.wsif.jca.WSIFPort_JCA.(WSIFPort_JCA.java:148)
at oracle.tip.adapter.fw.wsif.jca.WSIFDynamicProvider_JCA.createDynamicWSIFPort(WSIFDynamicProvider_JCA.java:91)
at org.collaxa.thirdparty.apache.wsif.base.WSIFServiceImpl.createDynamicWSIFPort(WSIFServiceImpl.java:415)
at org.collaxa.thirdparty.apache.wsif.base.WSIFServiceImpl.getPort(WSIFServiceImpl.java:467)
at org.collaxa.thirdparty.apache.wsif.base.WSIFServiceImpl.getPort(WSIFServiceImpl.java:433)
at oracle.tip.esb.server.common.wsif.WSIFInvoker.createWSIFPort(WSIFInvoker.java:251)
at oracle.tip.esb.server.common.wsif.WSIFInvoker.initialize(WSIFInvoker.java:191)
at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:423)
at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:447)
at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(OutboundAdapterService.java:184)
at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(OutboundAdapterService.java:112)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(InitialEventDispatcher.java:106)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:85)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1418)
at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:105)
at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:273)
at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:212)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:197)
at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:82)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1418)
at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:69)
at oracle.tip.esb.server.service.impl.inadapter.ESBListenerImpl.processMessage(ESBListenerImpl.java:369)
at oracle.tip.esb.server.service.impl.inadapter.ESBListenerImpl.onMessage(ESBListenerImpl.java:295)
at oracle.tip.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:293)
at oracle.tip.adapter.file.inbound.ProcessWork.publishMessage(ProcessWork.java:826)
at oracle.tip.adapter.file.inbound.ProcessWork.doTranslation(ProcessWork.java:580)
at oracle.tip.adapter.file.inbound.ProcessWork.processMessages(ProcessWork.java:266)
at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:179)
at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
at java.lang.Thread.run(Thread.java:595)
Caused by: ORABPEL-12511
The error above was because my outbound AQ adapter's WSDL file AQOut.wsdl did not have the following connection information, which is my design time connection information:
<service name="AQOut">
<port name="Enqueue_pt" binding="tns:Enqueue_binding">
<!--Your runtime connection is declared in
J2EE_HOME/application-deployments/default/AqAdapter/oc4j-ra.xml
These mcf properties here are from your design time connection and
save you from having to edit that file and restart the application server
if eis/AQ/DB_AHMED is missing.
These mcf properties are safe to remove.-->
<jca:address location="eis/AQ/DB_AHMED" UIConnectionName="DB_AHMED"
ManagedConnectionFactory="oracle.tip.adapter.aq.AQManagedConnectionFactory"
mcf.XADataSourceName="jdbc/AhmedDS"
mcf.ConnectionString="jdbc:oracle:thin:@//localhost:1521/ORCL"
mcf.UserName="ahmed"
mcf.Password="E0E2B6C35D058B847A71C48A10172C55CA3E0D98E81686C2" />
</port>
</service>
|