SOA composite - new revision x running instances on old revision

Hello,
We use OIM 11g R1.
I have a doubt about how to update a SOAcomposite (that has Human Task) with running instances on the old version.
I am trying to add notifications in the bpel process when the human task is approved or reject.
And will see how to add a treatment for the requirement of more information on the request.
According to the documentation I should disable the old revision, increase the revision, deploy the new one and register it.
My doubt is: how the running instances will be completed if the old version is disabled? Is there a requirement for all the running instances be completed before the update of the composite?
Thanks

Actually, I've managed to jump this hurdle. I did three things more or less simultaneously, so I can't say which did it.
First, I shaved my xorg.conf down to the most basic graphics stuff, i.e. a screen, a monitor, a device and switched the radeon for the VESA device driver. Second, I tried running startx as an ordinary user instead of as root. Finally, I ran startx (at first) without any configuration files, including .xinitrc. This got me a working X server with some xterms. I then proceeded to add bit and pieces gradually, starting with 'exec openbox-session' in .xinitrc.
Hope this helps.

Similar Messages

  • 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!

  • Events not being dequeued out of WF_BPEL_Q. No Instances on SOA composites

    We would like to capture a few business events in oracle financials that are of interest to us. In order to do this, we deploy oracle SOA composite with BEPL in the Oracle Fusion Middleware Control. The oracle SOA composite is configured for a particular business event. It listens on a specific queue WF_BPEL_Q and de-queues the messages in that queue. In jDeveloper 11g we created a SOA project with oracle applications adapter partner link and a receive.
    Specifically we are trying to capture the business outbound event oracle.apps.ar.hz.CustAccount.create just to get the event data in this receive.
    Partner link configuration: We added the database connection to the oracle financials instance. Tested it and we succeded. Chose ANY_SCHEMA in partner link configuration.
    We ensured that the JNDI Name here( eis/Apps/Apps ) match the JNDI name provided in the weblogic-->Deployments-->OracleAppsAdapter -->Configuration --> Outbound Connection Pools. For this outbound resource pool, Connection factory interface was javax.resource.cci.ConnectionFactory. Property name xADataSourceName was mapped to JNDI name of the configured JDBC datasource in the weblogic. In our case it was jdbc/AppsDataSource. When we created the connection pool. We tested and it worked fine. This data source had the connection pool configured to the oracle applications schema with APPS user.
    After adding the partner link with the above configuration, we added a receive. We deployed this configuration to the middleware. We went to the oracle financial, created a customer and account and we expected to having running instances against the deloyed composite. However, the problem is we are not having any running instance for the composite.
    We found that there are entries in the view AQ$WF_BPEL_QTAB with an ENQ_TIME and ENQ_TIMESTAMP but with no DEQ_TIME or DEQ_TIMESTAMP. The ENQ_TIMESTAMP corresponds to the time we created the customer and accounts in oracle financials and the USER_DATA column has the business event of interest. The events are enqueued in WF_BPEL_Q but not being dequeued by oracle applications adapter/composites deployed in soa server. Consumer name on AQ$WF_BPEL_QTAB matched with the consumer name on the deployed composite at the Oracle Enterprise manager.
    Any help would be highly appreciated. I have put in the initial set of information here. Please do let me know, if you would need any other information. I shall be more than happy to provide that.
    VERSION INFORMATION:
    We are using Weblogic Server 10.3.1.0 and Oracle Enterprise manager 11.1.1.1.0.
    Thanks,
    Prakash
    Edited by: user9169972 on Mar 26, 2010 5:28 PM

    I'm facing a similar problem. In my case, there is notifications on Oracle SOA Suite, but the message in wf_bpel_qtab still remains.
    Did you find something?
    Thanks.

  • Where does OEM store information about SOA composite instances

    Hi All,
    I am posting this query the third time here. I really and urgently need information on where this OEM 12c Cloud Control stores the information about the SOA composite instances like.. if the instances is completed, running,faulted,terminated in the management repository or it does not store these information at all. But then from where it fetches the information on faulted instances which it shows on a SOA composite home page in OEM console.
    I really need some concepts on this.
    Please help!!
    Thanks in Advance!!

    This forum is answered on a best effort basis. For time sensitive urgent issues, please log a service request with Oracle Support.

  • 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.

  • Running Instances in SOA EM

    Hi,
    I want to understand if we have lot of running instances in SOA , what is the impact of it.
    As far as I know that running instances means that
    1: Running instances are in dehydrated state. They should not consume systems memory continuously to make the system slow.
    2: Running instances will consume space in the database as they are nothing but a process under execution.
    If above two points are correct then, Please help me in below query,
    If we have too many running instances in the system say due to some non recoverable fault(other system is down) in target system and source system is sending transactional data
    regularly,
    Will my soa infra tablespace be filled with the same rate by which it is filled when SOA saves a completed instance ?
    Thanks,
    Ashutosh

    Ashutosh,
    I want to understand if we have lot of running instances in SOA , what is the impact of it.Depends on many factors. Depends on why are they stuck in running state, how old are they and how many of them. Also depends on server's capacity as well as DB's capacity.
    1: Running instances are in dehydrated state. They should not consume systems memory continuously to make the system slow.It's not true always. Only if a process encounters the dehydration activity then only instances are dehydrated.
    2: Running instances will consume space in the database as they are nothing but a process under execution. Running instances which are having large number of retries and are failing continuously may cause severe performance issue as load increases rapidly on DB and on server both. Remember that for each fault, data will be written in DB as well as in logs (which will consume CPU and memory both).
    Will my soa infra tablespace be filled with the same rate by which it is filled when SOA saves a completed instance ?No, because additional data about faults will also get stored in DB along with the other details of instance (which are stored in case of normal completion). Moreover if retries are enabled and one instance is failing multiple times then issue may become severe as it will impact both SOA server and DB.
    Remember that by default "RUNNING" instances are not purged so if you are having too old and too many running instances then even regular purge may not help in reducing the size of SOA INFRA tablespace and in that case, SQL queries may also start performing poorly which will eventually impact the SOA server(s).
    So it's not a good idea to have too many running instances for a too long time specially in high load messaging systems.
    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)

  • How SOA composite Application Instance ID gets generated

    Hi,
    While I was working with one of my minor SOA project, I noticed one thing that the SOA composite application instance IDs are not generated in a particular sequence. The numbers specified as Instance ID are random. Sometimes there is a difference of hundreds, sometimes of thousands and other times of difference reaches in lakhs. I am unable to understand the Procedure how these Instance IDs get generated when we deploy our project.
    Thanks & Regards
    Parul Nagpal

    Instance Id's (CIKEY) are generated from ID_RANGE table, every call to this table returns a different range of sequences. Instance Ids will not collide across different Managed servers. Instance ID gets refreshed with each server restarts and is not equal across nodes or after restart.
    Information to configure this range can be found in 12.2.9 InstanceKeyBlockSize in the Oracle BPEL Process Manager Performance Tuning Guide.  
    Reference : http://docs.oracle.com/cd/E14571_01/core.1111/e10108/bpel.htm  
    Reference :CIKEY or Instance ID generation for composites in SOA Suite 11.1.1.4 (Doc ID 1312037.1)
    Regards,
    Anshul

  • 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.....

  • Cannot deploy SOA composite to a managed server

    My problem: cannot deploy SOA composite to a managed server.
    The following is what I did:
    1. I created a domain "devDomain". admin server is created automatically for me.
    *2. I created a manged server (soa_server1) on my domain after.*
    2. started the admin server
    3. started soa_server1
    4. see both servers in WLS control, both server state=running
    5. see both server in EM console, both server status are up
    6. in JDev(11.1.1.5.0), created an application server connection, and tested the connection successfully
    7. when I tried to deploy my composite from JDev, I selected the application server connection, on step "SOA servers", it only lists AdminServer.
    8. Then I tried to deploy the composite from EM by right-click soa_server1, but "SOA deployment" is not in the list.
    My guess: there should be some libraries or other resources applied to soa_server1 before it could accept soa deployment. What are these libraries/resources?
    I tried to target all 10 libraries under the path "oracle.soa." to soa_server1, and checked the config.xml and found the file was updated correcly, reboot my pc, restarted the servers, but still face the same problem.
    My environment is weblogic 10.3.5.
    Basically, my question is:
    after a domain is created and admin server is there, if I want to add a managed server which will host soa composites, what should I do to configure the managed server?
    Edited by: wiky on Jul 20, 2011 11:39 AM

    How can I add new code to a clustered environment without causing an          outage. Right
              > now I have to deploy the new code using the admin server to both managed
              servers.
              > My question is if I pull one managed server out of the cluster, add new
              code and
              > test it, how do I add this one managed server back to the cluster that is
              referencing
              > the old code without causing an outage for the site?
              This is something addressed much better in the 7.0 release.
              Peace,
              Cameron Purdy
              Tangosol, Inc.
              Clustering Weblogic? You're either using Coherence, or you should be!
              Download a Tangosol Coherence eval today at http://www.tangosol.com/
              "William" <[email protected]> wrote in message
              news:3cc9847a$[email protected]..
              >
              

  • Unable to Harvest a SOA composite from SOA suite server to OER11g

    Hi All,
    I wanted to harvest a SOA composite from SOA suite server to OER11g.For that i had followed this portion *5.2.6.1 Harvesting from Oracle SOA Suite Server* from Oracle® Fusion Middleware Configuration Guide for Oracle Enterprise Repository11g Release 1 (11.1.1) E16580-01 document.
    The Version of OER is : OER 11.1.1.2.0 , the version of SOA suite is : 11.1.1.3.0 and the version of SOA weblogic server is :10.3.3
    OER and SOA domain are different but under the same Middleware home.
    Database is also located at same machine.
    The steps i had followed:
    1.The User of the weblogic server has these three roles i.e 1. Admin 2. Operator 3. Monitor
    2.Unzip the Harvester.zip into the repository location.
    3.Modified the <RemoteQuery> section and OER section of HarvesterSettings.xml file
    4.using encrypt.bat file encrypted the password.
    5.executed the harvester.bat file
    The HarvesterSetting.xml file :
    <?xml version="1.0" encoding="UTF-8"?>
    <tns:harvesterSettings xmlns:tns="http://www.oracle.com/oer/integration/harvester" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.oracle.com/oer/integration/harvester Harvester_Settings.xsd ">
    <!--Description to set on created Assets in OER.-->
    <harvesterDescription/>
    <!--Registration status to set on created Assets in OER.
    The Valid Registration states are 1) Unsubmitted 2)Submitted - Pending Review 3)Submitted - Under Review 4)Registered -->
    <registrationStatus>Unsubmitted</registrationStatus>
    <!--Namespace to set on created Assets in OER. If left empty, this is set based on information from SOA Suite and OSB projects
    when available. That's generally the best practice, so override this with caution.-->
    <namespace/>
    <!--If true, trigger OER events for use by Workflow. Warning: this can decrease performance.-->
    <triggerEvent>false</triggerEvent>
    <!--Connection info to OER-->
    <repository>
    <uri>http://localhost:7101/oer</uri>
    <credentials>
    <user>admin</user>
    <password>v2_1.PHQe8yYXiqU=</password><!--run encrypt.bat to encrypt this-->
    </credentials>
    <timeout>30000</timeout>
    </repository>
    <!--Query: the files to harvest-->
    <query>
    <!--To specify design-time files to harvest: Uncomment the section below and specify the file(s) you want to harvest.
    Or specify on the command-line via the -file parameter.-->
    <!--
    <fileQuery>
    <rootDir>C:\wsdls\adapter\file\DynamicSynchronousReadTutorial\DynamicSyncRead</rootDir>
    <files>bpel</files>
    </fileQuery>
    -->
    <!--To specify run-time files to harvest: Uncomment this and specify the file(s) you want to harvest.
    Or specify on the command-line via the -file parameter.
    The serverType must be one of: SOASuite, OSB, or WLS.
    Run encrypt.bat to encrypt the password.-->
    <remoteQuery>
    <serverType>SOASuite</serverType>
    <projectName>TestOER_rev1.0</projectName>
    <uri>http://localhost:7403/</uri>
    <credentials>
    <user>weblogic</user>
    <password>v2_1.G+NTr3az8thaGGJBn0vwPg==</password>
    </credentials>
    </remoteQuery>
    </query>
    <introspection>
    <reader>com.oracle.oer.sync.plugin.reader.file.FileReader</reader>
    <writer>com.oracle.oer.sync.plugin.writer.oer.OERWriter</writer>
    </introspection>
    </tns:harvesterSettings>
    Error Message ::
    C:\Oracle\Middleware\repository111\11.1.1.2.0-OER-Harvester>harvest.bat
    Connecting to: service:jmx:t3://localhost:7403/jndi/weblogic.management.mbeanservers.runtime
    0 [main] WARN com.oracle.oer.sync.framework.impl.DefaultPluginManager - Unable to initialize harvester plugin: C:\Oracle\Middleware\repository111\11.1.1.2.0-OER-
    9624 [main] INFO com.oracle.oer.sync.framework.MetadataManager - Oracle Enterprise_Repository_Harvester version: v11.1.1.2.0-100119_0001-1293556
    Connecting to: service:jmx:t3://localhost:7403/jndi/weblogic.management.mbeanservers.runtime
    18669 [main] WARN com.oracle.oer.sync.framework.impl.DefaultPluginManager - Unable to initialize harvester plugin: C:\Oracle\Middleware\repository111\11.1.1.2.0-OER
    Connecting to: service:jmx:t3://localhost:7403/jndi/weblogic.management.mbeanservers.runtime
    45196 [main] ERROR com.oracle.oer.sync.framework.MetadataManager - Artifact harvest failed due to:
    org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 203 completed: No
    at com.sun.corba.se.impl.logging.ORBUtilSystemException.writeErrorSend(ORBUtilSystemException.java:2259)
    at com.sun.corba.se.impl.logging.ORBUtilSystemException.writeErrorSend(ORBUtilSystemException.java:2281)
    at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.writeLock(SocketOrChannelConnectionImpl.java:957)
    at com.sun.corba.se.impl.encoding.BufferManagerWriteStream.sendFragment(BufferManagerWriteStream.java:86)
    at com.sun.corba.se.impl.encoding.BufferManagerWriteStream.sendMessage(BufferManagerWriteStream.java:104)
    at com.sun.corba.se.impl.encoding.CDROutputObject.finishSendingMessage(CDROutputObject.java:144)
    at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.finishSendingRequest(CorbaMessageMediatorImpl.java:247)
    at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete1(CorbaClientRequestDispatcherImpl.java:355)
    at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:336)
    at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:129)
    at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:213)
    at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
    at weblogic.corba.j2ee.naming.Utils.narrowContext(Utils.java:126)
    at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:94)
    at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:31)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:41)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:197)
    at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:143)
    at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:79)
    at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:338)
    at com.oracle.oer.sync.plugin.reader.soasuite11g.SOASuite11gRemoteReader.initConnection(SOASuite11gRemoteReader.java:286)
    at com.oracle.oer.sync.plugin.reader.soasuite11g.SOASuite11gRemoteReader.read(SOASuite11gRemoteReader.java:84)
    at com.oracle.oer.sync.plugin.reader.soasuite11g.SOASuite11gRemoteReader.getFilesToRead(SOASuite11gRemoteReader.java:62)
    at com.oracle.oer.sync.plugin.reader.file.FileReader.getFilesToRead(FileReader.java:198)
    at com.oracle.oer.sync.plugin.reader.file.FileReader.read(FileReader.java:79)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.flashline.util.classloader.ContextClassLoaderHandler.invoke(ContextClassLoaderHandler.java:39)
    at $Proxy14.read(Unknown Source)
    at com.oracle.oer.sync.framework.MetadataManager.start(MetadataManager.java:598)
    at com.oracle.oer.sync.framework.Introspector.<init>(Introspector.java:191)
    at com.oracle.oer.sync.framework.Introspector.main(Introspector.java:395)
    com.oracle.oer.sync.framework.MetadataIntrospectionException: Artifact harvest failed due to:
    at com.oracle.oer.sync.framework.MetadataManager.start(MetadataManager.java:603)
    at com.oracle.oer.sync.framework.Introspector.<init>(Introspector.java:191)
    at com.oracle.oer.sync.framework.Introspector.main(Introspector.java:395)
    Caused by: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 203 completed: No
    at com.sun.corba.se.impl.logging.ORBUtilSystemException.writeErrorSend(ORBUtilSystemException.java:2259)
    at com.sun.corba.se.impl.logging.ORBUtilSystemException.writeErrorSend(ORBUtilSystemException.java:2281)
    at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.writeLock(SocketOrChannelConnectionImpl.java:957)
    at com.sun.corba.se.impl.encoding.BufferManagerWriteStream.sendFragment(BufferManagerWriteStream.java:86)
    at com.sun.corba.se.impl.encoding.BufferManagerWriteStream.sendMessage(BufferManagerWriteStream.java:104)
    at com.sun.corba.se.impl.encoding.CDROutputObject.finishSendingMessage(CDROutputObject.java:144)
    at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.finishSendingRequest(CorbaMessageMediatorImpl.java:247)
    at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete1(CorbaClientRequestDispatcherImpl.java:355)
    at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:336)
    at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:129)
    at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:213)
    at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
    at weblogic.corba.j2ee.naming.Utils.narrowContext(Utils.java:126)
    at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:94)
    at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:31)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:41)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:197)
    at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:143)
    at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:79)
    at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:338)
    at com.oracle.oer.sync.plugin.reader.soasuite11g.SOASuite11gRemoteReader.initConnection(SOASuite11gRemoteReader.java:286)
    at com.oracle.oer.sync.plugin.reader.soasuite11g.SOASuite11gRemoteReader.read(SOASuite11gRemoteReader.java:84)
    at com.oracle.oer.sync.plugin.reader.soasuite11g.SOASuite11gRemoteReader.getFilesToRead(SOASuite11gRemoteReader.java:62)
    at com.oracle.oer.sync.plugin.reader.file.FileReader.getFilesToRead(FileReader.java:198)
    at com.oracle.oer.sync.plugin.reader.file.FileReader.read(FileReader.java:79)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.flashline.util.classloader.ContextClassLoaderHandler.invoke(ContextClassLoaderHandler.java:39)
    at $Proxy14.read(Unknown Source)
    at com.oracle.oer.sync.framework.MetadataManager.start(MetadataManager.java:598)
    ... 2 more
    Please provide some solution.Any help would be useful to me.
    Thanks in advance.
    Sharmistha.

    You have to import the OER-Harvester-Solution-Pack located at C:\Oracle\Middleware\repository111\core\tools\solutions\11.1.1.4.0-OER-Harvester-Solution-Pack.zip
    (path may change under your custom installation) to the OER using the admin option import/export -> import

  • 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

  • Accessing the stored OIM password in CSF from SOA composite

    Is there a guide on how to access CSF - OIM credentials from your SOA composite. I found this example ( http://docs.oracle.com/cd/E14571_01/doc.1111/e14309/soa_api.htm ) which hard codes the xelsysadm's password in the SOA composite. It says See SOA documentation for more information about how to get credentials from CSF inside a SOA composite. I can't find any documentation describing how to access the credentials.
    I'm trying to access the lookup definitions I have defined in OIM.

    This is the code to retrieve the username and password from the CSF:
    >
         String oimUserName = "";
         String oimPassword = "";
         //get system administrator's credentials
         oracle.security.jps.JpsContext ctx = oracle.security.jps.JpsContextFactory.getContextFactory().getContext();
         final oracle.security.jps.service.credstore.CredentialStore cs = (oracle.security.jps.service.credstore.CredentialStore)ctx.getServiceInstance(oracle.security.jps.service.credstore.CredentialStore.class);
         oracle.security.jps.service.credstore.CredentialMap cmap = cs.getCredentialMap("oracle.oim.sysadminMap");
         oracle.security.jps.service.credstore.Credential cred = cmap.getCredential("sysadmin");
         if (cred instanceof oracle.security.jps.service.credstore.PasswordCredential) {     
              oracle.security.jps.service.credstore.PasswordCredential pcred = (oracle.security.jps.service.credstore.PasswordCredential)cred;
              char[] p = pcred.getPassword();
              oimUserName = pcred.getName();
              oimPassword = new String(p);
    >
    It will retrieve the username and password for a map called "oracle.oim.sysadminMap" with key user of "sysadmin". In my instance, i have added xelsysadm and password for this key.
    -Kevin

  • 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

Maybe you are looking for