Revisioning for SOA Composites SOA12c

Dear team,
Please suggest how different revisions can be provided for SOA composites in SOA12c.
Option I know is to provide new revisionid for SOA Composite in jdeveloper.
Please suggest other options.
Thanks in advance

JDeveloper is the best option to change the composite's revision.  It is guaranteed to be compatible for all releases and is the only supported way of modifying composites I know of.

Similar Messages

  • Work Managers for SOA composites

    Hi All,
    We have couple composites which needs to be deployed on Oracle SOA 11g, weblogic as platform. My question is can we set work managers for different composites like we generally set dispatch policy for proxy services in OSB. Please let me know.
    Regards.

    Hi
    I don't believe you set workmanagers on a composite by composite basis but it may be possible to setup new application scoped work managers in Weblogic although I have never tried this...
    Damien

  • How does B2B Adapter for Inbound operation for SOA Composite works

    Hai,
    I am new to B2B. can any one share samples or links or doc's on B2B Adapter for inbound operation (receive)?
    Can any one share B2B inbound channel configuration ?

    1. How does the above can be achieved using JMS protocol?Where would you like to pitch-in JMS? You want to receive inbound message at B2B over JMS or between SOA and B2B, you want to use JMS?
    For receiving inbound message at B2B over JMS, please create a non-internal listening channel at B2B. Make sure to set JMS headers -
    http://docs.oracle.com/cd/E23943_01/user.1111/e10229/app_interface.htm#CACDFEAE
    For using JMS between, SOA and B2B, create a JMS channel in Host TP profile and add it in the inbound agreement (for inbound scenario). For outbound scenario, create an internal listening channel and make sure that from back-end, headers mentioned on above link, are being set.
    2. Will SOA Composite having B2B Adapter receive operation has first operation can get triggered automatically or not as soon as EDI----->XML message is found?Yes, it can be triggered. Provided the steps in your another thread.
    3. will B2B Adapter receive operation in SOA Composite will take EDI--------> xml msg as opaque?No, if while modelling B2B adapter, you selected a doc-def otherwise yes.
    Regards,
    Anuj

  • How to create incident rule for SOA composite faulted instances

    Hi Experts,
    How can I create an incident rule for creating an incident when a SOA composite instance goes faulted. I want to notify the administrator when any of the SOA composite instance gets faulted but I am not able to undestand in my incident rule what type of event should be used,in-short I am not able to understand how can I create a rule for eveluating SOA composite faulted instances.
    I am posting this query third time here. Please suggest me a solution or is this a limitation of OEM 12c Cloud Control ?
    Please help...its eally urgent!!!

    Creating Incident rules is a very simple process as long as you know what event you wanna create your rule one. In your case specifically, its even more simple since you already know your target type and metric name.
    Steps:
    1) Create a rule set.
    2) On the same page hit "Targets" tab and select "All target types" and select "SOA Composite" from the target type list.
    3) Now hit "Rules" tab and then hot "Create" and then select first radio button - "Incoming events" since you wanna wrap SOA composite fault metric alert event into a rule.
    4) Now select "Type" and select "Metric Alert"
    5) Now since you are interested in a "specific event" - SOA composite fault metric alert event, select that radio button and hit "Add"
    6) From the "Target Type" dropdown, select "SOA Composite" target type and type "%Fault%" in the Metric name textbox and hit Search.
    7) Select you Metric name and select you severity as you wish.
    8) Add Actions - create notification, emails etc. (Refer docs to understand how best you can use these options as needed)
    9) Save your rule and save your Rule set.
    You have a rule (Make sure its enabled) that will execute your specified actions when any SOA Composite will breach your the selected metric (Fault metric in your case)

  • Launching flow trace for SOA composite leads to login page

    Hi,
    I am using windows vista, oracleXEuniv, oracle fusion middleware 11g 11.1.1.3.0, SOA 11g PS2+PS3, jdev 11.1.1.3.0+SCA composite editor 11.1.1.3.0.25.57
    Now after logging into enterprise manager fusion middleware control when I browse to my soa composite by clicking
    SOA->soa-infra(soa_server1)->default->validationForCC[1.0]
    This list me all the recent composite instances. Now if I click on any of the instance ids a new pop up window is open which displays enterprise manager login screen.
    In addition if i click on 'Launch Message Flow Trace' on Test composite page then also it happens the same way.
    Does anyone know what configuration I might be missing?
    In logs i only get following
    ####<07/12/2010 12:27:14 PM EST> <Warning> <org.apache.myfaces.trinidad.bean.PropertyKey> <kapilPC> <AdminServer> <[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <4a432b45d3fd32e0:-302436ff:12cbe3b48bc:-8000-000000000000016f> <1291685234358> <BEA-000000> <Unserializable value:oracle.sysman.core.view.tgtctls.common.DefaultTreeModel@148f6b5 for key:UINodePropertyKey[value,17]>
    [2010-12-07T12:27:14.358+11:00] [AdminServer] [WARNING] [] [org.apache.myfaces.trinidad.bean.PropertyKey] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 0000ImyS3Tv2jKYFLryGOA1CzNyi00003x,0] [APP: em] [dcid: 4a432b45d3fd32e0:-302436ff:12cbe3b48bc:-8000-000000000000016f] Unserializable value:oracle.sysman.core.view.tgtctls.common.DefaultTreeModel@148f6b5 for key:UINodePropertyKey[value,17]
    Kapil Sapra

    Hi,
    I followed the information given in the thread. I downloaded the version 11.1.1.0.0.52.19 and tried to install it. But JDeveloper gave an error saying
    This update cannot be installed. It requires other extensions which are not installed, or which are installed but incompatible.
    Extension...................Required Version.......................Installed Version
    Oracle.studio..............min=11.1.1.1.33.54.07...............min=11.1.1.0.31.51.88
    Oracle.j2ee................min=11.1.1.1.33.54.07...............min=11.1.1.0.31.51.88
    I am giving the details of the JDeveloper version installed on my machine.
    About
    Oracle JDeveloper 11g 11.1.1.0.1
    Studio Edition Version 11.1.1.0.1
    Version
    ADF Business Components........... 11.1.1.51.88
    CVS Version.............................. Internal to Oracle JDeveloper 11g (client-only)
    Java(TM) Platform...................... 1.6.0_05
    Oracle IDE................................. 11.1.1.0.31.51.88
    Versioning Support.....................11.1.1.0.31.51.88
    Properties
    All the properties are of version....11.1.1.0.31.51.88
    There are only two version of downloads available. Can anyone help in getting the correct version of SOA composite editor which might had been archived?
    Regards,
    Pavan

  • Where to upload custom jars for SOA composites?

    I have a SOA composite which uses 3rd party jars. Where do I need to upload those jar files? I'm getting java.lang.NoClassDefFoundError error in the logs.

    DJ wrote:
    I have a SOA composite which uses 3rd party jars. Where do I need to upload those jar files? I'm getting java.lang.NoClassDefFoundError error in the logs.You need to add those jars to the SCA-INF\lib directory of your approval project and then do a build and deploy.
    HTH

  • SQL to retrieve faulted instances and fault reason code for SOA composites

    Hi,
    Could you please provide me some SQL which will retrieve composite faults with details on a particular period?
    Thanks in advance.

    SELECT ID, COMPOSITE_DN, STATE, CREATED_TIME FROM COMPOSITE_INSTANCE. You can add filters for created_time and state. Refer to this link for a list of composite states. https://blogs.oracle.com/dasoa/entry/list_of_all_states_from

  • Building SOA Composite application using Ant

    I am tring to write an ant script to build a SOA composite application.
    I have written the script as follows -
    *<project name="SOA-Build" default="sca-package" basedir=".">*
    *<description> Automated Build file for SOA composite application </description>*
    *<!-- import global properties for this build -->*
    *<property file="build.properties"/>*
    *<target name="init">*
    *<delete dir="./${sca_name}/deploy" />*
    *<delete dir="./logs" />*
    *<mkdir dir="./${sca_name}/deploy" />*
    *<mkdir dir="./logs" />*
    *</target>*
    *<target name="sca-compile" depends="init">*
    *<ant antfile="${soa_home}/bin/ant-sca-compile.xml" inheritAll="false">*
    *<property name="wl_home" value="${weblogic_home}"/>*
    *<property name="scac.input" value="./${sca_name}/composite.xml"/>*
    *<property name="scac.output" value="./logs/out.xml" />*
    *<property name="scac.error" value="./logs/out.err" />*
    *<property name="scac.application.home" value="."/>*
    *</ant>*
    *</target>*
    *<target name="sca-package" depends="sca-compile">*
    *<ant antfile="${soa_home}/bin/ant-sca-package.xml" inheritAll="false">*
    *<property name="compositeDir" value="./${sca_name}"/>*
    *<property name="compositeName" value="${sca_name}"/>*
    *<property name="revision" value="${rev_id}"/>*
    *<property name="sca.application.home" value="."/>*
    *</ant>*
    *</target>*
    *</project>*
    the build.properties file contains
    sca_name=my_processes
    rev_id=1.0
    weblogic_home=C:\\Oracle\\Middleware\\home_ps2\\
    soa_home=C:\\Oracle\\Middleware\\home_ps2\\Oracle_SOA1\\
    while running ant I am getting following error in ant-sca-package.xml
    +*[scac] error: BPM-71504: Unexpected error parsing 'oramds:/soa/shared/work*+
    flow/TaskEvidenceService.xsd'.  Cause: oracle.mds.exception.MDSException: MDS-00+
    *054: The file to be loaded oramds:/soa/shared/workflow/TaskEvidenceService.xsd d*
    oes not exist..  Action: Verify that file is valid and accessible+
    +*[scac] error: BPM-71504: Unexpected error parsing 'oramds:/soa/shared/work*+
    flow/WorkflowCommon.xsd'.  Cause: oracle.mds.exception.MDSException: MDS-00054:+
    The file to be loaded oramds:/soa/shared/workflow/WorkflowCommon.xsd does not ex+
    ist..  Action: Verify that file is valid and accessible+
    +*[scac] error: BPM-71504: Unexpected error parsing 'oramds:/soa/shared/work*+
    flow/WorkflowTask.xsd'.  Cause: oracle.mds.exception.MDSException: MDS-00054: Th+
    e file to be loaded oramds:/soa/shared/workflow/WorkflowTask.xsd does not exist.+
    *.  Action: Verify that file is valid and accessible*
    Can anybody help me on this?
    Thanks in Advance,
    Arpan

    Have a look at this... May be helpful...
    http://biemond.blogspot.com.au/2009/11/soa-suite-11g-mds-deploy-and-removal.html
    Cheers,
    Vlad

  • In 12C, SOA Composite homepage, Topology tab is missing

    Hi,
    I did install 12c cloud control.
    After that, deploy agents to monitor soa 11.1.1.5.
    Then i installed ADP manager, JVM diagnostics manager, deploy ADP, JVM agents.
    All status are succeeded and adp/jvm managers are up, agent status is reporting.
    But when I hit any composite link of Deployed Composite in soa-infra home page, it goes to composite home page,
    Only 3 tab pages there, home, fault and rejected message and web service policy.
    From document it mentioned there should be Topology tab at the end. so normally 4 tab pages.
    Is there anything else need to be done to show this Topology tab page for SOA composite?
    Appreicate any help and comments on this issue.
    Regards
    Julia

    hi,
    Can i pass multiple composite name like
    mvn pre-integration-test –f soa-pom.xml –Dcomposite.name=TestSOAProj –Dcomposite.name2="xxx"
    can you please suggest me for same.
    Hint- passing project1,project2.....

  • Create ADF Task Flow for Human task outside of SOA Composite

    Hi,
    Is there any way you can create ADF Task Flow form (for the task Details to be display in worklistapp) for a Human task out side of the SOA Composite applicaiton?. I know we can create ADF Task flow form for task details based on Human Task in SOA composite application. But I dont want to do that. I dont want to keep any association between Human task and ADF Task Flow.
    If there is a way to do this, How can we assiciate this ADF Task flow form with worklist applicaiton?
    Thanks
    --Sreeny                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    By using these services appropriately:
    http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10224/bp_workflow.htm

  • Error while deploying SOA composite via ant

    I am getting following error while deploying SOA composite through ant from SOA server (UNIX).It is unable to get mds configuration.
    Jdeveloper is not installed in SOA server.
    I am trying to copy the SOA project from local machine to SOA server and trying to deploy from SOA server.
    Error
    Parse of component type files failed, check the adf-config.xml file : "oracle.fabric.common.FabricException: oracle.mds.config.MDSConfigurationException: MDS-01330: unable to load MDS configuration document
    MDS-01329: unable to load element "persistence-config"
    MDS-01370: MetadataStore configuration for metadata-store-usage "mstore-usage_1" is invalid.
    MDS-00503: The metadata path "/u01/orasoa/Oracle/Middleware/Oracle_SOA1/integration" does not contain any valid directories.
    I checked /u01/orasoa/Oracle/Middleware/Oracle_SOA1 directory. Integretion directory is not available.
    Am I missing anything?
    *Please advise.*
    build.propeties
    ============
    # build file for HelloWorldComposite
    composite.name=AntScriptDeployPOCService
    # revision of the composite
    composite.revision=1.0
    # Set oracle.home to <JDEV_HOME>/jdeveloper, where <JDEV_HOME> is JDEV # installation directory
    #oracle.home=C:/Oracle/Middleware/jdeveloper
    oracle.home=/u01/orasoa/Oracle/Middleware/Oracle_SOA1
    # soa-server side oracle home directory - needed for deployment plan
    # and the weblogic sca library deployment
    soa.server.oracle.home=/u01/orasoa/Oracle/Middleware/Oracle_SOA1
    ###### Deployment server connection information
    # the admin server connection information
    admin.server.host=10.40.237.106
    admin.server.port=7001
    # the domain where soa infra is installed
    server.domain.name=soa_domain
    # connection information for the managed server, used for soa-deployment
    managed.server.host=10.40.237.106
    managed.server.port=8001
    # User and credentials for the servers
    server.user=weblogic
    server.password=<password>
    # wls server where soa is targeted.
    server.targets=soa_server1
    #local.java.home=C:/Oracle/Middleware/jdk160_14_R27.6.5-32
    local.java.home=/u01/orasoa/Oracle/Middleware/jdk160_14_R27.6.5-32
    Build.xml
    <?xml version="1.0" encoding="UTF-8" ?>
    <project name="AntScriptDeployPOCService" default="all">
    <!-- build.properties -->
    <property file="build.properties"/>
    <property name="deploy.dir" value="../deploy"/>
    <!-- Add targets here -->
    <target name="compile-package">
    <property name="sca-inf.classes.dir" value="../SCA-INF/classes"/>
    <mkdir dir="${sca-inf.classes.dir}"/>
    <ant antfile="${oracle.home}/bin/ant-sca-package.xml" target="package" inheritall="false">
    <property name="oracle.home" value="${oracle.home}"/>
    <property name="compositeDir" value="${basedir}/../"/>
    <!-- needed for adf config -->
    <property name="scac.application.home" value="${basedir}/../.."/>
    <!-- name of the composite -->
    <property name="compositeName" value="${composite.name}"/>
    <!-- revision of the composite -->
    <property name="revision" value="${composite.revision}"/>
    <!-- java.passed.home passed to scac, this property will be
    overwritten to the env.JAVA_HOME if such env variable is defined in OS level-->
    <property name="java.passed.home" value="${local.java.home}"/>
              <!--property name="java.passed.home" value="C:/Oracle/Middleware/jdk160_14_R27.6.5-32"-->
    </ant>
    </target>
    <target name="deploy">
    <condition property="deploymentplan.name" value="null">
    <not>
    <isset property="${deploymentplan.name}"/>
    </not>
    </condition>
    <echo>Deploying to http://${managed.server.host}:${managed.server.port}/soa-infra/deployer</echo>
    <ant antfile="${oracle.home}/bin/ant-sca-deploy.xml" target="deploy" inheritall="false">
    <!-- reformat of prop names -->
    <property name="user" value="${server.user}"/>
    <property name="password" value="${server.password}"/>
    <!-- create the url for deployment -->
    <property name="serverURL" value="http://${managed.server.host}:${managed.server.port}/soa-infra/deployer"/>
    <!-- location of the sar -->
    <property name="sarLocation" value="${deploy.dir}/sca_${composite.name}_rev${composite.revision}.jar"/>
    <!-- force overwrite if already there -->
    <property name="overwrite" value="true"/>
    <!-- configplan-->
    <property name="configplan" value="${deploymentplan.name}"/>
    </ant>
    </target>
    <target name="all" depends="compile-package,deploy"/>
    </project>

    Check whether the adf-config.xml file in your app is having proper mds path similar to this:
    <adf-mds-config xmlns="http://xmlns.oracle.com/adf/mds/config">
    <mds-config xmlns="http://xmlns.oracle.com/mds/config">
    <persistence-config>
    <metadata-namespaces>
    <namespace metadata-store-usage="mstore-usage_1" path="/soa/shared"/>
    </metadata-namespaces>
    <metadata-store-usages>
    <metadata-store-usage id="mstore-usage_1">
    <metadata-store class-name="oracle.mds.persistence.stores.file.FileMetadataStore">
    <property value="${oracle.home}/integration"
    name="metadata-path"/>
    <property value="seed" name="partition-name"/>
    </metadata-store>
    </metadata-store-usage>
    </metadata-store-usages>
    </persistence-config>
    </mds-config>
    </adf-mds-config>
    "

  • 12c SOA composite deployment issue using maven

    I am facing issue with 12c SOA composite deployment using maven. I execute the below command for deploying any composite. (Note: Update and run init.cmd file before running the below maven command)
    mvn pre-integration-test –f soa-pom.xml –Dcomposite.name=TestSOAProj –Dcomposite.version=1.1
    Issues:
    As seen above, I specified composite version to be deployed as 1.1 in pom.xml file, but maven deploys the composite with version that is present in composite.xml. It does build the jar file with the version specified in the pom i.e. TestSOAProj_rev1.1.jar, but when it deploys I see the composite with version as 1.0 (this version is in composite.xml). The out of the box maven script is not overwriting the revision in the composite.xml with the value specified in the pom file.
    Also, is there a way to pass the partition name as an user input parameter in the pom file. I tried this with the out of the box pom file by giving the partition name as something other than ‘default’, but the maven script ignores this and always deploys to ‘default’.
    I am not sure if I am missing anything here. Please suggest.
    inti.cmd:
    SET JAVA_HOME=D:\12c-Installation-Path\Java\jdk1.7.0_60
    SET ANT_HOME=D:\12c-Installation-Path\Oracle\Middleware\Oracle_Home\oracle_common\modules\org.apache.ant_1.9.2
    SET M2_HOME=D:\12c-Installation-Path\Oracle\Middleware\Oracle_Home\oracle_common\modules\org.apache.maven_3.0.5
    SET PATH=%PATH%;%JAVA_HOME%\bin;%M2_HOME%\bin;%ANT_HOME%\bin
    soa-pom.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
             <!--
               This POM was automatically generated during SOA project creation.          
               This POM relates to this SOA Composite, i.e. the one in this same directory.
               There is another POM in the SOA Application directory which handles
               the whole SOA Application, which may contain additional projects.
            -->
        <modelVersion>4.0.0</modelVersion>
        <groupId>TestSOAApp</groupId>
        <artifactId>${composite.name}</artifactId>   
      <version>${composite.version}</version>
        <packaging>sar</packaging>
        <!--
               The parent points to the common SOA parent POM.  That is a special POM that is
               shipped by Oracle as a point of customization (only). You can add default values
               for properties like serverUrl, etc. to the SOA common parent POM, so that you
               do not have to specify them over and over in every project POM.
        -->
        <!--<parent>
            <groupId>com.oracle.soa</groupId>
            <artifactId>sar-common</artifactId>
            <version>12.1.3-0-0</version>
        </parent>-->
        <properties>
      <!-- These parameters are used by the compile goal -->
      <code.basedir>${soa.app.source}/${project.artifactId}</code.basedir>
            <scac.input.dir>${code.basedir}/SOA</scac.input.dir>
            <scac.output.dir>${project.basedir}/target</scac.output.dir>
            <scac.input>${scac.input.dir}/composite.xml</scac.input>
            <scac.output>${scac.output.dir}/out.xml</scac.output>
            <scac.error>${scac.output.dir}/error.txt</scac.error>
            <scac.displayLevel>1</scac.displayLevel>
      <!-- if you are using a config plan, uncomment the following line and update to point
                 to your config plan -->
            <configplan>${code.basedir}/${project.artifactId}_cfgplan.xml</configplan>
      <!-- These parameters are used by the deploy and undeploy goals -->
      <composite.name>${project.artifactId}</composite.name>
      <composite.revision>${project.version}</composite.revision>       
      <composite.partition>default</composite.partition>
            <serverUrl>http://${target.hostname}:${target.port}</serverUrl>       
            <!--user>weblogic</user>
            <password>${pwd}</password-->       
      <overwrite>true</overwrite>
            <forceDefault>true</forceDefault>
            <regenerateRulebase>false</regenerateRulebase>
            <keepInstancesOnRedeploy>false</keepInstancesOnRedeploy>
            <!--<jndi.properties.input>UNDEFINED</jndi.properties.input>-->
            <scatest.result>${scac.output.dir}/testResult</scatest.result>
            <!--  input is the name of the composite to run test suties against -->
            <input>${project.artifactId}</input>       
            <!--<scac.ant.buildfile>${env.MW_HOME}/soa/bin/ant-sca-compile.xml</scac.ant.buildfile>
            <sca.ant.testfile>${env.MW_HOME}/soa/bin/ant-sca-test.xml</sca.ant.testfile>
            -->
        </properties>
      <build>
           <plugins>
       <plugin>
      <groupId>org.codehaus.mojo</groupId>
      <artifactId>properties-maven-plugin</artifactId>
      <version>1.0-alpha-2</version>
      <executions>
       <execution>
      <phase>initialize</phase>
      <goals>
       <goal>read-project-properties</goal>
      </goals>
      <configuration>
       <files>
      <file>build-${env}.properties</file>
       </files>
      </configuration>
       </execution>
      </executions>
       </plugin>
      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-antrun-plugin</artifactId>
      <version>1.6</version>
      <executions>
      <execution>
      <id>read-input</id>
      <phase>prepare-package</phase>
      <inherited>false</inherited>
      <goals>
      <goal>run</goal>
      </goals>
      <configuration>
      <target>
      <property name="fmw.app.basedir" value="${soa.app.source}" />
      <property name="fmw.composite.name" value="${project.artifactId}" />
      <property name="configplan.target.path" value="${scac.output.dir}" />
      <ant antfile="${project.basedir}/replace-tokens.xml" target="replaceConfig" />
      </target>
      </configuration>
      </execution>
      </executions>
      </plugin>
                <plugin>
                    <groupId>com.oracle.soa.plugin</groupId>
                    <artifactId>oracle-soa-plugin</artifactId>
                    <version>12.1.3-0-0</version>
                    <configuration>
                        <compositeName>${project.artifactId}</compositeName>
                        <composite>${scac.input}</composite>
                        <sarLocation>${scac.output.dir}/sca_${project.artifactId}_rev${composite.revision}.jar</sarLocation>
                        <serverUrl>${serverUrl}</serverUrl>
      <user>{}</user>            
      <password>{}</password>
                        <!-- Note: compositeRevision is needed to package, revision is needed to undeploy -->
                        <compositeRevision>${composite.revision}</compositeRevision>
                        <revision>${composite.revision}</revision>
                        <scacInputDir>${scac.input.dir}</scacInputDir>                   
      <input>${input}</input>
      <!--<appHome>${soa.app.source}</appHome>
      <oracleHome>${oracle.home}/soa</oracleHome>                   
      <configplan>${scac.output.dir}/${project.artifactId}_cfgplan_generated.xml</configplan>-->
                    </configuration>
                     <!-- extensions=true is needed to use the custom sar packaging type -->
                    <extensions>true</extensions>
                </plugin>
            </plugins>
        </build>
    </project>
    replace-tokens.xml:
    <?xml version="1.0" encoding="UTF-8" ?>
    <project name="EA_SOA_Build"  default="replaceConfig">
      <target name="replaceConfig">
      <echo>Replacing tokens in configuration file</echo>
      <!-- Following logic copies the dev deployment plan and generates one to meet the target environment. -->
      <delete failonerror="true" file="${fmw.app.basedir}/${fmw.composite.name}/${fmw.composite.name}_cfgplan_generated.xml"/>
      <copy overwrite="true" failonerror="true"
      file  ="${fmw.app.basedir}/${fmw.composite.name}/${fmw.composite.name}_cfgplan.xml"
      tofile="${configplan.target.path}/${fmw.composite.name}_cfgplan_generated.xml"/>
      <replace file="${configplan.target.path}/${fmw.composite.name}_cfgplan_generated.xml">   
       <!-- replace filter for soa source and target endpoints. -->
       <replacefilter token="dmnh1i.manheim.com" value="dmnh2i.manheim.com" />  
      </replace>
      </target>
    </project>
    build-local.properties:
    soa.app.source=D:/Oracle_SOA12c13/Jdev_mywork/OVCApp
    mds.outer.dir=D:/Oracle_SOA12c13/Jdev_mywork/OVCApp/MDS
    target.hostname=localhost
    target.port=7001
    oracle.home=D:/Oracle_SOA12c13/Middleware/Oracle_Home

    hi,
    Can i pass multiple composite name like
    mvn pre-integration-test –f soa-pom.xml –Dcomposite.name=TestSOAProj –Dcomposite.name2="xxx"
    can you please suggest me for same.
    Hint- passing project1,project2.....

  • SOA Composite (having refernce to MDS )Deployment thru ANT script

    I have been trying to deploy SOA composite which has reference to 'oramds:/soa/shared/workflow/TaskServiceInterface.wsdl' thru ANT script.But getting below error -
    scac-validate:
    [echo] Running scac-validate in D:\apps\saurabhk\deployment\Error Logging\Ev
    entHandlerSubscriberComposite\bin/..//composite.xml
    [echo] oracle.home = D:/apps/common/mw_home/jdeveloper
    [input] skipping input as property compositeDir has already been set.
    [input] skipping input as property compositeName has already been set.
    [input] skipping input as property revision has already been set.
    scac:
    [scac] Validating composite "D:\apps\saurabhk\deployment\Error Logging\Event
    HandlerSubscriberComposite\bin/..//composite.xml"
    [scac] FATAL_ERROR: location {ns:composite}(12,61): Parse of component type
    files failed, check the adf-config.xml file : "oracle.fabric.common.FabricExcept
    ion: oracle.mds.config.MDSConfigurationException: MDS-01330: unable to load MDS c
    onfiguration document
    [scac] MDS-01329: unable to load element "persistence-config"
    [scac] MDS-01370: MetadataStore configuration for metadata-store-usage "msto
    re-usage_1" is invalid.
    [scac] MDS-01259: The metadata store "oracle.mds.persistence.stores.db.DBMet
    adataStore" cannot be instantiated.
    [scac] oracle.jdbc.driver.T4CConnection.isValid(I)Z
    [scac] : MDS-01330: unable to load MDS configuration document
    [scac] MDS-01329: unable to load element "persistence-config"
    [scac] MDS-01370: MetadataStore configuration for metadata-store-usage "msto
    re-usage_1" is invalid.
    [scac] MDS-01259: The metadata store "oracle.mds.persistence.stores.db.DBMet
    adataStore" cannot be instantiated.
    [scac] oracle.jdbc.driver.T4CConnection.isValid(I)Z
    [scac] : oracle.mds.config.MDSConfigurationException: MDS-01330: unable to l
    oad MDS configuration document
    [scac] MDS-01329: unable to load element "persistence-config"
    [scac] MDS-01370: MetadataStore configuration for metadata-store-usage "msto
    re-usage_1" is invalid.
    [scac] MDS-01259: The metadata store "oracle.mds.persistence.stores.db.DBMet
    adataStore" cannot be instantiated.
    [scac] oracle.jdbc.driver.T4CConnection.isValid(I)Z
    [scac] : MDS-01330: unable to load MDS configuration document
    [scac] MDS-01329: unable to load element "persistence-config"
    [scac] MDS-01370: MetadataStore configuration for metadata-store-usage "msto
    re-usage_1" is invalid.
    [scac] MDS-01259: The metadata store "oracle.mds.persistence.stores.db.DBMet
    adataStore" cannot be instantiated.
    [scac] oracle.jdbc.driver.T4CConnection.isValid(I)Z
    [scac] "
    BUILD FAILED
    I have mentioned MSD information in build.properties file and adf-config.xml file.
    build.properties :-
    foreign.mds.type=db
    mds.db.userid=XXX
    mds.db.password=XX
    mds.db.jdbc-url=jdbc:oracle:thin:@XXX.XXX.XXX.XXX:1521:DBC
    adf-config.xml:-
    <?xml version="1.0" encoding="windows-1252" ?>
    <adf-config xmlns="http://xmlns.oracle.com/adf/config"
    xmlns:sec="http://xmlns.oracle.com/adf/security/config">
    <!-- server side db backed mds settings -->
    <adf-mds-config xmlns="http://xmlns.oracle.com/adf/mds/config">
    <mds-config xmlns="http://xmlns.oracle.com/mds/config">
    <persistence-config>
    <metadata-namespaces>
    <!-- shared namespace for soa artifacts, such as xsd / wsdl -->
    <namespace metadata-store-usage="mstore-usage_1" path="/soa/shared"/>
    <!-- customer namespace for sharing stuff -->
    <namespace metadata-store-usage="mstore-usage_1" path="/apps"/>
    <!-- configuration namespace for the SE/BCs, only exists on the server -->
    <namespace metadata-store-usage="mstore-usage_1" path="/soa/configuration"/>
    </metadata-namespaces>
    <metadata-store-usages>
    <metadata-store-usage id="mstore-usage_1">
    <metadata-store class-name="oracle.mds.persistence.stores.db.DBMetadataStore">
    <property name="jdbc-userid" value="XXXX"/>
    <property name="jdbc-password" value="XXXX"/>
    <property name="jdbc-url"
    value="jdbc:oracle:thin:@XXX.XXX.XXX.XX:1521:DBC"/>
    <property name="partition-name" value="soa-infra"/>
    </metadata-store>
    </metadata-store-usage>
    </metadata-store-usages>
    </persistence-config>
    </mds-config>
    </adf-mds-config>
    <sec:adf-security-child xmlns="http://xmlns.oracle.com/adf/security/config">
    <CredentialStoreContext credentialStoreClass="oracle.adf.share.security.providers.jps.CSFCredentialStore"
    credentialStoreLocation="../../src/META-INF/jps-config.xml"/>
    </sec:adf-security-child>
    </adf-config>
    Please let me know if you need any more informattion.
    Thanks in advance

    [scac] MDS-01259: The metadata store "oracle.mds.persistence.stores.db.DBMetadataStore" cannot be instantiated.This error tells that the parameters you have given in build.properties are incorrect. Cross check them again. Make sure that property mds.db.userid points to a MDS schema (for example dev_mds)
    Regards,
    Anuj

  • Versioning of SOA composites

    Dear team,
    I have few queries about SOA composites versioning.
    1) Different ways of doing SOA composites versioning.
    2) if we deploy a  composite with new revision ,how the calling process that invokes older SOA composite revision will get updated to this new updated revision.
    Please suggest.
    thanks

    1) Different ways of doing SOA composites versioning.
    Basically you version the different revisions using the following
    formant N[.M[.O]], i.e. major, minor, patch versions. As far as I
    remember you can not use letters in the revision version number.
    2) if we deploy a  composite with new revision ,how the calling process
    that invokes older SOA composite revision will get updated to this new
    updated revision.
    Depends on how you deploy the new revision. If you deploy the new
    revision as default version then there is no need to change the clients.
    On the other hand if you deploy the new revision as NON default version,
    then you will have to make the clients change the URLs they use to call
    your composite (in case you are using HTTP binding. If you using
    adapters, they always work with the default revision).
    To better understand this try to implement very simple HelloWorld
    composite and then deploy two revisions, i.e. 1.0 and 2.0 which should
    be the default. Then use the Enterprise Manager to test both composites.
    Thoroughly explore the URL that are used to invoke the two revisions. In
    short for the non-default revisions in the URL the version number is
    included.
    Hope this helps,
    Anatoli

  • Error in installing SOA Composites step in Oracle GRC8.6.3 Installation

    Hi all,
    i am installing oracle grc8.6.3 in windows 64 bit.
    i have installed database,rcu,weblogic,soa successfully.in next step i have to install SOA Composite.
    when i am running the wlst from oracle_soa1/common/bin and passing the parameter in the wls:/offline i am getting following error
    i have set JAVA_HOME,WL_HOME,SOA_HOME correctly
    please help me
    wls:/offline> sca_deployComposite("http://localhost:8001","
    D:\oracle\dist\composites1.zip",overwrite=true,user="weblogic",password="Newuser")
    serverURL = http://localhost:8001
    sarLocation = D:\oracle\dist\composites1.zip
    partition = default
    overwrite = 1
    user = weblogic
    forceDefault = 1
    configplan = None
    keepInstancesOnRedeploy = 0
    timeout = -1
    set user and password...
    Processing sar=D:\oracle\dist\composites1.zip
    created temp dir =C:\Users\A-EXT-~4\AppData\Local\Temp\deploy_client_24c31e3a-db
    09-43dd-92c7-cea134ccd56a
    Adding sar file - C:\Users\A-EXT-~4\AppData\Local\Temp\deploy_client_24c31e3a-db
    09-43dd-92c7-cea134ccd56a\sca_EmailComposite_rev2.0.jar
    INFO: Creating HTTP connection to host:sfre001t.statoilfuelretail.com, port:8001
    INFO: Received HTTP response from the server, response code=500
    ---->Response code=500, error:There was an error deploying the composite on soa_
    server1: Deployment Failed: Error occurred during deployment of component: Email
    Process to service engine: implementation.bpel, for composite: EmailComposite: O
    RABPEL-05250
    Error deploying BPEL suitcase.
    error while attempting to deploy the BPEL component file "D:\oracle\app\product\
    OFM\domain\user_projects\domains\grc_domain\servers\soa_server1\dc\soa_d7580aa1-
    6af4-4360-b47a-ce198c3d1d89"; the exception reported is: java.lang.NoClassDefFou
    ndError: Could not initialize class com.collaxa.cube.util.JavaHelper
    This error contained an exception thrown by the underlying deployment module.
    Verify the exception trace in the log (with logging level set to debug mode).
    thanks
    Edited by: 902535 on May 2, 2012 10:59 AM

    I think you may have gotten confused with the installation guide.
    If you're installing GRC, you should not be installing SOA or other components. There are 2 applications you can install from that distribution, GRCC or EGRCM. EGRCM is the one that refers to SOA's if needed, so even then you shouldn't need to install it for testing out the product.
    I hope that helps!

Maybe you are looking for