2 Replies Latest reply: Sep 19, 2011 10:03 AM by 854994 RSS

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

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