Wednesday, September 01, 2010

No transport pr ovider registered with ID: bpel-10g

When we install OSB by default bpel10gtransport.ear gets installed in following location

C:\OSB\osb_10.3\lib\transports

But we can not use this ear file to call bpel process we need to do some modification to make this working.

I didn't find much details about the same anywhere except in this blog

I followed this blog and unzipped my bpel10gtransport.ear file and then i got two folder

APP-INF and META-INF

It is the APP-INF in which we need to do modification.

If you will go to APP-INF\lib

you will find the following jar files which needs to be replaced.

xmlparserv2.jar should be replaced by the same jar file from following location

D:\product\10.1.3.1\OracleAS_2\bpel\lib i.e SOA_HOME\bpel\lib

You can get other two file also here

those are orabpel.jar and orabpel-common.jar

again you can find the oc4jclient.jar in following location

D:\product\10.1.3.1\OracleAS_2\j2ee\home which is SOA_home\J2ee\home

here SOA_HOME Is the soa suite home.

YOu should be using SOA suite 10.1.3.4 mlr#5 +

Once you will make the changes zip these files in to .ear file again and try to restart the server and you will get following issue


<Error> <OSB Kernel> <BEA-380006> <No transport pr
ovider registered with ID: bpel-10g>
<Aug 26, 2010 9:20:43 PM IST> <Error> <OSB Kernel> <BEA-380003> <Exception on Tr
ansportManagerImpl.loadCommitted, com.bea.wli.sb.transports.TransportException:
No transport provider registered with ID: bpel-10g
com.bea.wli.sb.transports.TransportException: No transport provider registered w
ith ID: bpel-10g
at com.bea.wli.sb.transports.TransportManagerImpl.getProvider(TransportM
anagerImpl.java:630)
at com.bea.wli.sb.transports.ResourceLifecycleListenerImpl$EndPointOpera
tionCommon.getProvider(ResourceLifecycleListenerImpl.java:719)
at com.bea.wli.sb.transports.ResourceLifecycleListenerImpl$EndPointOpera
tionCreate.execute(ResourceLifecycleListenerImpl.java:847)
at com.bea.wli.sb.transports.ResourceLifecycleListenerImpl.processServic
eNotifications(ResourceLifecycleListenerImpl.java:300)
at com.bea.wli.sb.transports.ResourceLifecycleListenerImpl.loadCommitted
(ResourceLifecycleListenerImpl.java:245)



you will be able to log in to sbconsole but when you will check in transport you will not find bpel-10 transport over there.

This error occurs because the way you have unjar and jar the .ear file is not correct we should do it through command console using jar command

i.e to unzip the .ear file we will use the following command

jar -xvf bpel10gtransport.ear

and to zip to again to .ear file we will be using following command

jar -cvf bpel10gtransport.ear APP-INF META-INF


so it should be something like this.





NOw try to restart your server you won't find this issue.

Also bpel10g transport will be visible in the transport.

No comments: