Tuesday, September 16, 2014

Deploy custom JARs or Classes to Oracle SOA for BPEL consumption

Need to include custom JARs or classes in Weblogic so that your BPEL process can consume them?

Add JARs to oracle.soa.ext.jar Manifest

Navigate to $ORACLE_HOME/soa/modules/oracle.soa.ext_11.1.

Place any requisite JARs in this directory. You may also place custom classes in the /classes directory.

SOA comes with a version of Ant in $MW_HOME/modules/org.apache.ant_1.7.1; however, when you run the build.xml file in this directory, the build will fail.

In order to correct the problem, download ant-contrib and place it in your $MW_HOME/modules/org.apache.ant_1.7.1/lib directory. Then, edit the build.xml file placing the following node just below the <project> node.

<taskdef resource="net/sf/antcontrib/antcontrib.properties"/>

Ant will rebuild the manifest included in oracle.soa.ext.jar.

Add JARs to BpelClasspath

Login to the SOA domain Enterprise Manager console.

From the SOA Infrastructure menu, select SOA Administration > BPEL Properties.

At the bottom of the BPEL Service Engine Properties page, click More BPEL Configuration Properties.

Click BpelClasspath.

In the Value field, specify the class path - $ORACLE_HOME/soa/modules/oracle.soa.ext_11.1/*
For example, /u01/app/oracle/middleware/soa/modules/oracle.soa.ext_11.1/*

Click Apply.

Click Return.

In addition, ensure that the JARs are loaded by the SOA composite application.

Redeploy your application.

Lastly, restart your SOA managed server. 



  1. Thanks a lot for sharing a great blog I was browsing through the internet looking for Oracle SOA and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject, you can find more information blogs about Oracle SOA at Oracle SOA Blogs. Bookmarked this page, it helped me a lot and I have gained a lot of knowledge by reading your blog and oracle soa 11g training

  2. Simply wish to say your article is as astonishing. The clarity in your post is simply great, and I could assume you are an expert on this subject. Same as your blog i found another one Oracle SOA .Actually I was looking for the same information on internet for Oracle SOA Suite and came across your blog. I am impressed by the information that you have on this blog. Thanks a million and please keep up the gratifying work.