Connect to database in SOA composite

Gurus,
Please let me know the steps to connect to external database in SOA composite using code not using DB adapter.

Properties connectionProps = new Properties();
connectionProps.setProperty("user", admin);
connectionProps.setProperty("password", password);
Class.forName(driver);
Connection con = null;
con = DriverManager.getConnection(url, connectionProps);
Add the jdbc driver to your bpelclasspath attribute.
There is tons of code on the internet for connection to a database with code.
-Kevin

Similar Messages

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

  • Error While executing the SOA Composite application.

    Hi Gurus,
    I have recently installed the VM box "oel6-64bit-soasuite-11gr1-ps6-otn.ovi" for Learning the SOA and also gone through the SOA Oracle training so i have the lab exercise documents with me. So i was trying to follow the steps mentioned in the training document for chapter 5 (CCValidate) for credit card Validation in which SOA composite application uses the DB adapter to query the DA and return the Credit card status.
    I'm using the JNDI as "eis/DB/SOADemo" and when i looked in the Admin Console i can see the DB adapter status is OK .
    Domain Structure --> dev_soasuite --> Services --> Data Source --> I dont See the eis/DB/SOADemo listed.
         also tried to add the eis/DB/SOADemo in data Source but thorws Java exception saying already exists.
    Domain Structure --> Environment --> Servers --> View JNDI Tree --> I can see the above mentioend JNDI i.e. eis/DB/SOADemo.
    Please let me know what is wrong and how i can get rid of it.
    But when i deployed the SOA Composite application on Server and tested the same it is throwing exception as below
    ava.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Client received SOAP Fault from server : Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'CreditCardDBServiceSelect' failed due to: DBReadInteractionSpec Execute Failed Exception. Query name: [CreditCardDBServiceSelect], Descriptor name: [CreditCardDBService.Creditcards]. Caused by java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist . See root exception for the specific exception. This exception is considered retriable, likely due to a communication failure. To classify it as non-retriable instead add property nonRetriableErrorCodes with value "942" to your deployment descriptor (i.e. weblogic-ra.xml). To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff. All properties are integers. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:813) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:385) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:303) 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.sun.el.parser.AstValue.invoke(AstValue.java:187) at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297) at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1415) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:93) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:103) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:93) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:958) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:427) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:102) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:131) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:181) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:183) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460) at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256) at weblogic.work.ExecuteThread.run(ExecuteThread.java:221) Caused by: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Client received SOAP Fault from server : Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'CreditCardDBServiceSelect' failed due to: DBReadInteractionSpec Execute Failed Exception. Query name: [CreditCardDBServiceSelect], Descriptor name: [CreditCardDBService.Creditcards]. Caused by java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist . See root exception for the specific exception. This exception is considered retriable, likely due to a communication failure. To classify it as non-retriable instead add property nonRetriableErrorCodes with value "942" to your deployment descriptor (i.e. weblogic-ra.xml). To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff. All properties are integers. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:362) at oracle.sysman.emSDK.webservices.wsdlparser.OperationInfoImpl.invokeWithDispatch(OperationInfoImpl.java:1004) at oracle.sysman.emas.model.wsmgt.PortName.invokeOperation(PortName.java:750) at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:808) ... 77 more Caused by: oracle.j2ee.ws.client.jaxws.JRFSOAPFaultException: Client received SOAP Fault from server : Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'CreditCardDBServiceSelect' failed due to: DBReadInteractionSpec Execute Failed Exception. Query name: [CreditCardDBServiceSelect], Descriptor name: [CreditCardDBService.Creditcards]. Caused by java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist . See root exception for the specific exception. This exception is considered retriable, likely due to a communication failure. To classify it as non-retriable instead add property nonRetriableErrorCodes with value "942" to your deployment descriptor (i.e. weblogic-ra.xml). To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff. All properties are integers. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.j2ee.ws.client.jaxws.DispatchImpl.throwJAXWSSoapFaultException(DispatchImpl.java:1053) at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:839) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:235) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:106) at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:358) at oracle.sysman.emSDK.webservices.wsdlparser.OperationInfoImpl.invokeWithDispatch(OperationInfoImpl.java:1004) at oracle.sysman.emas.model.wsmgt.PortName.invokeOperation(PortName.java:750) at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:807) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:385) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:302) 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.sun.el.parser.AstValue.invoke(AstValue.java:187) at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297) at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1415) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:103) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:957) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:427) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460) at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) ... 9 more
    Thanks
    -Viajy G

    > Domain Structure --> dev_soasuite --> Services --> Data Source --> I dont See the eis/DB/SOADemo listed.
    Do you see jdbc/SOADataSource? If you go to connection pool, what are the connection parameters: host, database, user, etc? I bet the user is not SOADEMO there...
    > When i queried it from the database using the user SOADEMO it returns data
    What other parameters are you using to query the database? host, database, etc... Are them the SAME you see on the connection pool above? I bet something is different...
    Hope this helps...

  • 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

  • Can't connect to Database from Database Adapter in BPM 11g

    I added a database adapter in BPM 11g to the composite.xml. This database adapter is just to load data into a XML document (UI payload). I can’t seem to get a connection to the database. I am getting a error, see below.
    <bpelFault><faultType>0</faultType><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'GetRequestInfoSelect' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. FundsDisbursementProject:GetRequestInfo [ GetRequestInfo_ptt::GetRequestInfoSelect(GetRequestInfoSelect_inputParameters,FdRequestHeaderCollection) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element &lt;connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the &lt;connection-factory/> element: location='jndi/FDF_Database'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '&lt;jndi-name>' element in weblogic-ra.xml has not been set to jndi/FDF_Database. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary></part><part name="detail"><detail>JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element &lt;connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the &lt;connection-factory/> element: location='jndi/FDF_Database'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '&lt;jndi-name>' element in weblogic-ra.xml has not been set to jndi/FDF_Database. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server </detail></part><part name="code"><code>12510</code></part></bindingFault></bpelFault>
    The docs says I need to add an Outbound Connection Pool to to SOA DbAdaptor in WebLogic. The problem is I can’t seem to make my changes take effect. This is the same error recorded here:
    BPEL DB adapter
    The problem is when trying to change the property, xADataSourceName, the changes don’t take effect. I also notice that in our test environment I get a dialog box to change the deployment plan. On my local WLS, I don’t get this dialog box. Either way the changes to xADataSourceName will not take effect.
    There must be a simple solution, I just don’t see it.
    Any help is greatly appreciated.
    Regards,
    Mark
    Edited by: M Peterson on Jul 15, 2010 5:33 AM

    When you enter the xADataSourceName property, did you hit enter on the field? If you simply tab off the field and hit save changes without hitting the enter key then it doesn't record the change to the property.

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

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

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

  • Error during deploying SOA Composite

    I have created a SOA Composite in which I am trying to access an External Web Service.
    The compilation goes fine but its failing at the time of deployment to Soa Server.
    My BPEL consists of following activities-> RecieveInput-> Assign -> Invoke -> Assign -> Callback client
    In my composite I have configured WS policies and in BPEL’s invoke activity , I have added headers and endpoint URI as an expression in properties tab.
    I am getting the following error at the time of deployment :-
    1)     Through Jdeveloper and Manually through Soa Server :-
    Caused By: ORABPEL-05250
    Error deploying BPEL suitcase.
    error while attempting to deploy the BPEL component file : the exception reported is: java.lang.Exception: BPEL 1.1 compilation failed
    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).
    at com.collaxa.cube.engine.deployment.DeploymentManager.deployComponent(DeploymentManager.java:200)
    at com.collaxa.cube.ejb.impl.CubeServerManagerBean._deployOrLoadComponent(CubeServerManagerBean.java:876)
    at com.collaxa.cube.ejb.impl.CubeServerManagerBean.deployComponent(CubeServerManagerBean.java:122)
    at com.collaxa.cube.ejb.impl.bpel.BPELServerManagerBean.deployComponent(BPELServerManagerBean.java:88)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Truncated. see log file for complete stacktrace
    2)     If I deploy manually through XML files, deployment happens successfully but while testing , I get the following error
    Caused by: java.net.ConnectException: Tried all: '1' addresses, but could not connect over HTTP to server: 'www.w3.org', port: '80'
    Kindly provide any suggestions to rectify the issue.
    Thanks.

    When starting SOA Suite after upgrading from 11.1.1.4 to 11.1.1.6, I experienced a similar error in the soa_server?.out logs:
    <Error> <oracle.soa.bpel.engine.deployment> <BEA-000000> <
    java.lang.Exception: BPEL 1.1 compilation failed
    Anyone have a suggestion on how to resolve this error?

  • In my SOA Composite, Can I use file/FTP adapter to get the EDI X12 850

    Our requirement is to build a SOA Composite to dump all the details in a EDI X12 850 ( Purchase order ) document in to a database table. In my SOA Composite, Can I use file/FTP adapter to get the EDI X12 850 element details to map them to a base base columns.

    Drop the File Adapter to the left lane of the composite i.e., Services lane...
    Go to Step 2, give a meaningful name....
    Step 3, select "define from operation and schema"
    Step 4, select the operation type as "read"
    Step 5, select physical path and give the folder path in the "Directory for incoming files" field.,
    Step 6, select wildcards and give the expression depending on the file name it would be at run time...
    Step 7, select the polling frequency as required....
    Step 8, in the URL field, adjacent to that , select "browse for schema file" and select the XSD which you have exported from B2B Editor.
    say next and finish, you will be good to go.
    Hope this helps,
    Thanks,
    N

  • Error in deploying SOA composite using ant

    Hi,
    When I try to deploy a SOA composite using ant utility, I am getting error as follows:
    C:\JDeveloper11\MiddlewareHome\jdeveloper\bin>ant -f ant-sca-deploy.xml -Dserver
    URL=http://gdiora001.in.ibm.com:7001 -DsarLocation=C:\po\POProcessing\POProcessi
    ng\deploy\sca_POProcessing_rev6-cmdline.jar -Doverwrite=true -Duser=weblogic -Dp
    assword=<<password>> -DforceDefault=true -Dconfigplan=C:\po\POProcessing\POProcessin
    g\POProcessing_dev_cfgplan.xml
    Buildfile: ant-sca-deploy.xml
    [echo] oracle.home = C:\JDeveloper11\MiddlewareHome\jdeveloper\bin/..
    deploy:
    [input] skipping input as property serverURL has already been set.
    [input] skipping input as property sarLocation has already been set.
    [deployComposite] setting user/password..., user=weblogic
    [deployComposite] Processing sar=C:\po\POProcessing\POProcessing\deploy\sca_POPr
    ocessing_rev6-cmdline.jar
    [deployComposite] Adding sar file - C:\po\POProcessing\POProcessing\deploy\sca_P
    OProcessing_rev6-cmdline.jar
    [deployComposite] Creating HTTP connection to host:gdiora001.in.ibm.com, port:70
    01
    [deployComposite] Received HTTP response from the server, response code=404
    [deployComposite] Problem in sending HTTP request to the server. Check standard
    HTTP response code for 404
    [deployComposite] ---->response code=404, error:null
    BUILD SUCCESSFUL
    Total time: 14 seconds
    C:\JDeveloper11\MiddlewareHome\jdeveloper\bin>
    Please note that I am able to successfully deploy the composite from EM, using same SAR and Config Plan files.
    The server URL is also correct.
    I am not sure what is wrong with above ant command.
    Can someone please help me.
    Thanks

    Hi,
    404 response indicates that soa-infra is not running in the host:port/gdiora001.in.ibm.com, port:7001
    Pl make sure that you have soa-infra running in that host/port.
    http://host:port/soa-infra
    For the logs,
    you can find the soa server logs under $DOMAIN_HOME/servers/soa_server1/logs

  • Binding fault in SOA composite

    Hi all,
    we are having trouble with a soa composite wich has 1 web service and 3 jca db adapters.
    After deployment, only the first time the web service is consumed all is ok and the ws client receive the response (some data from db), but starting from the second intent we obtain the following error:
    <messages><input>
    <InvokeConsDeCuentasPorIdentificacion_ConsDeCuentasPorIdentificacion_InputVariable><part name="InputParameters" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><InputParameters xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/FB_PKG/NAOS_PQCON_DOM_CUENTAS/PRCONCUENTASPORIDENTIFICACION/">
    <PVTIPODEIDENTIFICACION>ced</PVTIPODEIDENTIFICACION>
       <PVIDENTIFICACION>0914390612</PVIDENTIFICACION>
    </InputParameters></part></InvokeConsDeCuentasPorIdentificacion_ConsDeCuentasPorIdentificacion_InputVariable></input><fault>
    <bpelFault><faultType>0</faultType><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'ConsDeCuentasPorIdentificacion' failed due to: Stored procedure invocation error.
    Error while trying to prepare and execute the NAOS_PQCON_DOM_CUENTAS.PRCONCUENTASPORIDENTIFICACION API.
    An error occurred while preparing and executing the NAOS_PQCON_DOM_CUENTAS.PRCONCUENTASPORIDENTIFICACION API. Cause: java.sql.SQLException: ORA-06550: line 1, column 7:
    PLS-00201: identifier 'NAOS_PQCON_DOM_CUENTAS.PRCONCUENTASPORIDENTIFICACION' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    Check to ensure that the API is defined in the database and that the parameters match the signature of the API.  This exception is considered not retriable, likely due to a modelling mistake.  To classify it as retriable instead add property nonRetriableErrorCodes with value "-6550" to your deployment descriptor (i.e. weblogic-ra.xml).  To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff.  All properties are integers.
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    </summary></part><part name="detail"><detail>ORA-06550: line 1, column 7:
    PLS-00201: identifier 'NAOS_PQCON_DOM_CUENTAS.PRCONCUENTASPORIDENTIFICACION' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    </detail></part><part name="code"><code>6550</code></part></bindingFault></bpelFault></fault><faultType>
    <message>0</message></faultType></messages></details>
    The oracle package and sp exist and are compiled without errors, and the user has the rights to execute it.
    Thank you.
    Efren.

    Hi Kevin,
    Thanks for the idea!!
    Just wanted to check if there is a way to set the variable from within the soa composite with the error message which can then be displayed on OIM UI. Like if there is any error i.e., if we try to assign a task to the user who is not present in OIM, the error gets displayed and the status of the task is shown as "ALERTED" . Is it possible to achieve the similar behaviour with custom errors!!
    Thanks,
    Hrushi

  • Register soa composite has wrong hostname dest unreachable

    Hi All,
    I am trying to register an SOA Composite and getting dest unreachable because the hostname originally configured no longer exists. I have searched the file system looking for anything that has the old hostname but find nothing.
    where can i change the hostname? not sure if its a weblogic thing or a manager server thing
    Thanx
    Fred

    Hi,
    Yes it is the command line. Yes I give it the correct OIM url. but it seems as part of registering the composite it wants to turn around
    and connect to soa-infra so it fails with this
    t3://oimvm.THEOLDHOSTNAME.net:8001/soa-infra: Destination unreachable.
    I recently changed the hostname on this machine and I know if I change it back it will work but I would like to know where to change the hostname so I can make the old one match the new one.
    Thanx for the reply.
    Fred

  • OSB 10.3 connectivity to Database: Recommended approach?

    Hi
    OSB 10.3 doesnt yet provide JCA adapter framework to connect to database. In Oracle integration world, this is one of the foundational requirement. We understand that we can write and call a BPEL wrapper and fetch data using SOA suite DB adapter. However this would mean calling the web service over SOAP with lot of overhead.
    Could anyone suggest what are the workable and acceptable workaround which could be practically useful in high load/volume scenario.
    Thanks
    Jaydeep

    Hi Chris,
    Thanks a lot for your prompt response.
    Considering the alternatives available, I am trying to use BPEL transport but I am getting some error. Would appreciate your assistance in resolving this.
    The BPEL process endpoint URI is
    [default/DBRead/1.0|http://localhost:7777/*orabpel*/default/DBRead/1.0]
    I am creating the business service using "bpel-10g" as the protocol (synchronous client). For endpoint URI, I am trying with the following:
    opmn://localhost:6003/*oc4j_soa*/default/DBRead/1.0
    where: oc4j_soa = soa home name; default = domain name;
    Could you kindly indicate what am I doing wrong here? On testing through test console I get the following exception. Do I need to do any further setup to use BPEL transport with OSB?
    The invocation resulted in an error: The Oracle BPEL delivery service could not be accessed: java.lang.Exception: Failed to create "ejb/collaxa/system/DomainManagerBean" bean; exception reported is: "javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: Not authorized; nested exception is:
    javax.naming.AuthenticationException: Not authorized --Root exception is javax.naming.AuthenticationException: Not authorized--
    at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:69)
    at javax.naming.InitialContext.lookup(Unknown Source)
    at com.oracle.bpel.client.util.BeanRegistry.lookupDomainManagerBean(BeanRegistry.java:239)
    at com.oracle.bpel.client.Locator.getDomainAuth(Locator.java:975)
    at com.oracle.bpel.client.Locator.&lt;init&gt;(Locator.java:73)
    at com.bea.wli.sb.transports.bpel10g.BPELTransportEndpoint.getDeliveryService(BPELTransportEndpoint.java:757)
    at com.bea.wli.sb.transports.bpel10g.BPELTransportEndpoint.sendMessageAsync(BPELTransportEndpoint.java:316)
    at com.bea.wli.sb.transports.bpel10g.BPELTransportEndpoint.sendMessageAsync(BPELTransportEndpoint.java:282)
    at com.bea.wli.sb.transports.bpel10g.BPELTransportProvider.sendMessageAsync(BPELTransportProvider.java:519)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:612)
    at com.bea.wli.sb.transports.Util$1.invoke(Util.java:82)
    at $Proxy96.sendMessageAsync(Unknown Source)
    I had another unrelated query if I may ask. BPEL/OESB services can be directly invoked through web browser using the endpoint URI. However, this doesnt work for OSB. How do we invoke OSB services? (In BPEL PM, if we create a partner link using the wsdl, we can invoke the OSB service). Are the OSB services not exposed as web service? What/why is this difference? Any pointers would be appreciated.
    Thanks again for your kind assistance
    Jaydeep

  • Not able to connect to database: ORA-28001: the password has expired

    I started getting the 'password has expired' error in my SOA server log today (six months after installing my SOA Suite 11.1.1.4 development environment). I found a tip in an old forum thread:
    Failed to connect to database instance: ORA-28001: the password has expired
    and changed the password expiration time as suggested, and bounced my SOA server hoping for the best. But I'm still getting the password has expired error. Is there a way to clear that out so that I don't have to go back and figure out which user(s) are being affected and what their passwords should be reset back to so that my SOA environment will work again? Thanks!

    Hi,
    Better to check the password_life_time unlimited for all your schemas, suppose your prefix is DEV you may have:
    DEV_MDS
    DEV_ORABAM
    DEV_ORASDPM
    DEV_SOAINFRA
    Cheers,
    Vlad

Maybe you are looking for

  • How to do manual back up in conjunction with T.M.

    hello i want to use time machine to perform ongoing back ups of my entire account. however, there is one grouping of files that has to be manually dragged to my back up drive on a daily basis. my question is: if time machine backs up account until dr

  • HTML instead of text for the worksetItems of the SAPUI5 Shell

    How to put HTML for the worksetItems? Now, it is only text (example with the dashboard title): worksetItems: [new sap.ui.ux3.NavigationItem("WI_home",{key:"wi_home",text:"Dashboard"}), Do you know how to put HTML instead of text? I need it to to put

  • Default Page Template for Portal Page Group

    Release 2 of Portal (9.0.2.2.22) Created a page group and several templates. Edit Page Group Properties, Configure, locate the Default Page Template drop list. The drop list has only the templates from the shared object page group. The online help st

  • InDesign xml stories Export to InCopy issue.

    Hi When I try to export the xml contents from InDesign to InCopy Document (while root element mapped with main textframe) through Edit menu InCopy Export option All Stories, where child root element placed separtely with individual frame. those conte

  • How to batch export certain pages from pdf to excel

    I have several thousand pdf files that I need to convert into excel files. The files are 20 pages each but I only need 4 pages from these. I worked with a sample and was able to convert the entire document for each file but would like to sellect cert