Forum Stats

  • 3,769,466 Users
  • 2,252,967 Discussions


MQ adapter in BPEL shows Error while deploying

Jithu Member Posts: 151
edited Oct 14, 2008 4:27AM in SOA Suite Discusssions

I am using SOA Suite and Jdeveloper

I am creating a simple BPEL process to dequeue the message from IBM MQ and to enqueue it in another queue in same queue manager.

I have created a bpel process, and I have added the tag for imported shared library: <import-shared-library name="oracle.mqseries"/>
I have copied file in C:\mqjar and added in the server.xml file as below:

<shared-library name="oracle.mqseries" version="10.1.3">
<code-source path="C:\mqjar\"/>

and modified the oc4j-ra.xml as below:
<connector-factory location="eis/MQ/MQSeriesAdapterTest"
<config-property name="hostName" value="localhost"/>
<config-property name="portNumber" value="1415"/>
<config-property name="queueManagerName" value="QM"/>
<config-property name="channelName" value="MYCHANNEL"/>
<config-property name="userID" value=""/>
<config-property name="password" value=""/>
<config-property name="clientEncoding" value=""/>
<config-property name="hostOSType" value=""/>
<connection-pooling use="private">
<property name="waitTimeout" value="300" />
<property name="scheme" value="fixed_wait" />
<property name="maxConnections" value="50" />
<property name="minConnections" value="0" />
<security-config use="none">

But when I am trying to deploy my BPEL process it is giving me error:

Could not initialize activation agent.
An error occured while initializing an activation agent for process "Simple_Dequeue_Enqueue", revision "1.0".
Please ensure that the activation agents are configured correctly in the bpel deployment descriptor (bpel.xml).
oracle.tip.adapter.fw.agent.jca.JCAActivationAgent: java.lang.reflect.InvocationTargetException
at com.collaxa.cube.engine.core.BaseCubeProcess.startAllActivationAgents(

Can anybody let me know if I am missing anything while using MQ adapter.

Thanks in advance.


  • The error is saying it cannot connect to the queue.

    Not sure if the channel you provide in this is the actual channel name you are using but you should use the default channel SYSTEM.DEF.SVRCONN.

    Also make sure you bounce the App server after you add the shared libraries in the server.xml

  • Jithu
    Jithu Member Posts: 151
    Hi everyone / James,

    Yes I am using the same channel you said, I have created new one using that.

    Have anyone tried using MQ adapter, is it working.

This discussion has been closed.