Oracle SOA Suite 11g and the new Partitions feature

In the old school Oracle SOA Suite we had the functionality to create different domains in the BPEL Console to group our applications.
This functionality was gone in the 11g SOA Suite, and because it still was a wanted feature, Oracle reintroduced it as feature in the new Oracle SOA 11g Patchset2.

Now it’s called ‘Partitions’.

So let’s see how to manage them.
Go to the Enterprise Manager (http://localhost:7001/em), Farm_ > SOA > soa-infra (soa_server1).
Right mouseclick on soa-infra > Manage Partitions. Create the new partition.

The new partition should be added to the list (beneath the default partition).

JDeveloper
In JDeveloper we will create a simple SOA Composit application.
Deploy the new application and now in the wizard of the deployment when we select a server it gives us a new selectbox to select the newly created partition. By default it will use the ‘default’ partition.

Deploy the application and let’s go back to the console.
Now we will see the new deployed application in the list of the ‘test_partition’ partition.

Using ant

ant-sca-mgmt.xml createPartition – Creates a partition in the SOA Infrastructure.
Location of the file :

<ORACL_MIDDLEWARE_HOME>/bin

ant -f ant-sca-mgmt.xml createPartition -Dhost=localhost -Dport=8001 -Duser=weblogic -Dpassword=weblogic -Dpartition=my_ant_partition

Buildfile: ant-sca-mgmt.xml
     [echo] oracle.home = E:\oraclehome\11g\middleware\Oracle_SOA1\bin/..

createPartition:
    [input] skipping input as property host has already been set.
    [input] skipping input as property port has already been set.
    [input] skipping input as property user has already been set.
[secure-input] skipping secure-input as property password has already been set.
    [input] skipping input as property partition has already been set.
     [echo] oracle.home = E:\oraclehome\11g\middleware\Oracle_SOA1\bin/..

folderMgrTask:
     [java] calling FolderManager.initConnection(), m_host=localhost, m_port=8001, m_user=weblogic
     [java] Connecting to: service:jmx:t3://localhost:8001/jndi/weblogic.management.mbeanservers.runtime
     [java] connection initiated
     [java] folderMBean=oracle.soa.config:name=soa-infra,j2eeType=FolderLifecycleConfig,Application=soa-infra
     [java] Partition (my_ant_partition) is successfully created.

BUILD SUCCESSFUL

And the partitions list in the console

Using wlst

http://download.oracle.com/docs/cd/E14571_01/web.1111/e13813/custom_soa.htm#CDEHBBID
SOA Composite Application Partition Management Commands

Original blog

Share this Post:
Digg Google Bookmarks reddit Mixx StumbleUpon Technorati Yahoo! Buzz DesignFloat Delicious BlinkList Furl

3 Responses to “Oracle SOA Suite 11g and the new Partitions feature”

commenter

Hi I have one query related to partition.
Suppose I have deployed a composit on partition A. and webservice URL of this composit is being used in various applications. Now I want to move my composit from Partition A to Partition B. This causes change of my webservice URL as well. This will impact in all other applications using this webservice.
Is there any way to assign a virtual URL to my webservice ? So even the basic URL changes I won’t require to change in other applications.

Eric Elzinga | June 2nd, 2010 at 9:40 pm
commenter

Well you could place an Oracle Service Bus in front of it to virtualize these services, but maybe that’s a bit overdone in your situation?
or change your etc/hosts file and use there virtual url’s

Leave a Reply:

Name (required):
Mail (will not be published) (required):
Website:
Comment (required):
XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>