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. 

References

2 comments:

  1. A IEEE project is an interrelated arrangement of exercises, having a positive beginning and end point and bringing about an interesting result in Engineering Colleges for a particular asset assignment working under a triple limitation - time, cost and execution. Final Year Project Domains for CSE In Engineering Colleges, final year IEEE Project Management requires the utilization of abilities and information to arrange, plan, plan, direct, control, screen, and assess a final year project for cse. The utilization of Project Management to accomplish authoritative objectives has expanded quickly and many engineering colleges have reacted with final year IEEE projects Project Centers in Chennai for CSE to help students in learning these remarkable abilities.



    Spring Framework has already made serious inroads as an integrated technology stack for building user-facing applications. Spring Framework Corporate TRaining the authors explore the idea of using Java in Big Data platforms.
    Specifically, Spring Framework provides various tasks are geared around preparing data for further analysis and visualization. Spring Training in Chennai

    ReplyDelete