Friday, August 1, 2008

BPEL : ORABPEL-09903

I am back with ORABPEL error topic again. This time I will show you how to get rid of the error ORABPEL-09903.

Problem:
Error shown below is reported sometimes when you deploy a BPEL project:

C:\jdevstudio10133\jdev\test\testApps\build.xml:79: A problem occured while connecting to server using port "7777":
bpel_testApps_1.0.jar failed to deploy.
Exception message is: ORABPEL-09903
Could not initialize activation agent.

Solution:
This type of error happens when the JNDI entry is not proper or you have insufficient priviledges.
Check for the following things to get rid of this error:

1) Check the JNDI names, as they may be pointing to a different location. Test it.

2) Test that the user connecting to the queue has enough priviledges.

In my case, I was not having proper priviledges for accessing the queue.


Now compile and try to deploy your process.

Happy Learning...

5 comments:

Lalit Jolania said...

But if we remove activationAgents from bpel.xml, then how our BPEL process gets initialized...

There may be some different method to remove this error...

Sankash Thakuria said...

Removing that xml fragment from the bpel.xml file will essentially render the adapter unserviceable because you have removed the activation agent linked with the adapter. Thus, despite the process getting deployed successfully, the adapter will not work and you will get a run-time error. In the event that you wanted to the file adapter to initiate the bpel process, it would have failed to do so.

Abhishek Saurabh said...

Oh yes. Thanks to both of you for pointing it. Yesterday I only tried deploying it and due to lack of time I had not tested. You guys are very much correct, By removing or commenting the activationAgent section, BPEL process will not poll for the files or the messages.

Now I have kept the Activation agent section back in the code.
I have found out the other solution for it which I am going to update in my blog.

Thanks guys, thanks for pointing out.

Abhishek Saurabh said...

One more thing, by mistake I copy-pasted content of bpel.xml of file adapter from a different project instead of original one.

karthik prabhu said...

Hi Abhishek..
I am pretty new to BPEL. Please could show me how to check on the below

1) Check the JNDI names, as they may be pointing to a different location. Test it.

2) Test that the user connecting to the queue has enough priviledges.