Oracle DB Adapter Connection - Deadlock issue

Hi
We have a query where records are fecthed and updated viz DB Adapter.
The first query which is a select returns multiple records and then we take and update each record one by one based on certain conditions.
There are multiple instances of BPEL running and the same table is being acted on. Now we are getting a deadlock exception on the table.
We are updating certain rows on table and are selecting the same row while the update is on because of some logic check.
But there are no instances in which same row can be updated at same time. Then how is the table lock happening ? Will the table itself be locked when an update happens ? i thought only row level locks happen and hence we can do multiple updates and select on the same table.
Is there any way by which we can capture the details of what records are being updated then and also the total log details ?
Thanks

can you explain more like..for retrieving the records which option are you using.in DB adapter and for updation...
in case you are selecting polling option,you may need select the check box for Distributed polling aswell.

Similar Messages

  • Oracle Apps adapter: User name issue

    Hi All,
    I am using SOA 11g to call an API in EBS using Oracle Apps Adapter .I am passing User name,Responsibility Name and other parameteres in invoke properties. Now the API is called successfully with most of the user names while for few usenames it's not able able to resolve user id based on user name. Although if the API is called from Oracle Apps/PL SQL ,it is working for all the users.
    Please suggest.
    Thanks in advance

    At what stage are you seeing this error?

  • Safe to remove mcf properties for Oracle Application Adapter?

    Hello all,
    I want to remove mcf properties from my Oracle application adapter (Connect to a business event), but I can't deploy the process any more.
    Anyone can help?
    Jdev: 10.1.3.4.0.4270
    SOA Suite: 10.1.3.4 on AIX 5.3
    --> From
    <!-- These mcf properties are safe to remove.-->
    <jca:address location="jdbc/fmis" UIConnectionName="FMIS" UIOracleAppType="WFBES" UIWfEventName="xx.oracle.apps.ap.event.xmlRemit"
    ManagedConnectionFactory="oracle.tip.adapter.apps.AppsManagedConnectionFactory"
    mcf.ConnectionString="jdbc:oracle:thin:@server1.test.com.au:1524:B2B1"
    mcf.UserName="apps"
    mcf.Password="7CC4D295E4DDDA919427B6716C0BDD1D" />
    --> To
    <jca:address location="jdbc/fmis" UIConnectionName="FMIS" UIOracleAppType="WFBES" UIWfEventName="xx.oracle.apps.ap.event.xmlRemit"
    ManagedConnectionFactory="oracle.tip.adapter.apps.AppsManagedConnectionFactory" />
    --> Error message
    BUILD FAILED
    C:\projects\eProcurement\PAEBSToB2B\build.xml:78: A problem occured while connecting to server "server1.test.com.au" using port "7783": bpel_PAEBSToB2B_1.0.jar failed to deploy. Exception message is: ORABPEL-09903
    Could not initialize activation agent.
    An error occured while initializing an activation agent for process "PAEBSToB2B", revision "1.0".
    Please ensure that the activation agents are configured correctly in the bpel deployment descriptor (bpel.xml).
    oracle.tip.adapter.fw.agent.jca.JCAActivationAgent: ORABPEL-12517
    AdapterFrameworkImpl::endpointActivation - Endpoint Activation Error.
    The Resource Adapter Oracle Applications Resource Adapter was unable to activate the endpoint oracle.tip.adapter.apps.AppsWFBesQueueDequeueActivationSpec:{OpaqueSchema=false, DatabaseSchema=APPS, QueueName=WF_BPEL_Q, Consumer=ORA_6os32h1m84r38di684rj2c1k61, MessageSelectorRule=tab.user_data.event_name = 'xx.oracle.apps.ap.event.xmlRemit', AppsEventSchema=NO_SCHEMA} due to the following reason: ORABPEL-00000
    Error in creating the managed connection pool.Invalid Connection Cache Name. Must be a valid String and Unique
    Please correct the reported issue and redeploy the BPEL process.
    at com.collaxa.cube.engine.core.BaseCubeProcess.startAllActivationAgents(BaseCubeProcess.java:428)
    at com.collaxa.cube.engine.deployment.DeploymentManager.activateDefaultRevision(DeploymentManager.java:1733)
    at com.collaxa.cube.engine.deployment.DeploymentManager.setDefaultRevision(DeploymentManager.java:1691)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:950)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:792)
    at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:455)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:618)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:693)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
    at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:319)
    at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:341)
    at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:376)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:400)
    at java.security.AccessController.doPrivileged(AccessController.java:279)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:727)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:414)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:810)
    Total time: 40 seconds
    Regards,
    Kerr

    Thanks James,
    I feel it is not my configuration problem.
    Here are my configurations.
    All oc4j-ra.xml configuration point to connection pool AppsB2BPool, with a JNDI name jdbc/fmis.
    And I only hit this problem when I try to deploy a BPEL process with an application adapter to use e-business event.
    $ORACLE_HOME/j2ee/oc4j_soa/config/data-sources.xml
    <connection-pool name="AppsB2BPool">
    <connection-factory factory-class="oracle.jdbc.pool.OracleDataSource" user="apps" password="PASSWORD" url="jdbc:oracle:thin:@(DESCRIPTIO
    N=(ADDRESS_LIST=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=tcp)(HOST=testserver.nsw.gov.au)(PORT=1524)))(CONNECT_DATA=(SERVICE_NAME=B2B))
    )" commit-record-table-name=""/>
    <managed-data-source connection-pool-name="AppsB2BPool" jndi-name="jdbc/fmis" name="FMIS"/>
    $ORACLE_HOME/j2ee/oc4j_soa/application-deployments/default/DbAdapter/oc4j-ra.xml
    add:
         <connector-factory location="eis/DB/FMIS" connector-name="FMIS Database Adapter">
    <config-property name="xADataSourceName" value="jdbc/fmis"/>
    <config-property name="dataSourceName" value=""/>
    <config-property name="platformClassName" value="oracle.toplink.platform.database.Oracle9Platform"/>
    <config-property name="usesNativeSequencing" value="true"/>
    <config-property name="sequencePreallocationSize" value="50"/>
    <config-property name="defaultNChar" value="false"/>
    <config-property name="usesBatchWriting" value="true"/>
    <connection-pooling use="none">
    </connection-pooling>
    <security-config use="none">
    </security-config>
         </connector-factory>
    $ORACLE_HOME/j2ee/oc4j_soa/application-deployments/default/AqAdapter/oc4j-ra.xml
    add:
         <connector-factory location="eis/AQ/FMIS" connector-name="FMIS AQ Adapter">
    <config-property name="xADataSourceName" value="jdbc/fmis"/>
    <config-property name="dataSourceName" value=""/>
    <config-property name="connectionString" value=""/>
    <config-property name="userName" value=""/>
    <config-property name="password" value=""/>
    <config-property name="defaultNChar" value="false"/>
    <config-property name="useDefaultConnectionManager" value="false"/>
    <connection-pooling use="none">
    </connection-pooling>
    <security-config use="none">
    </security-config>
    </connector-factory>
    $ORACLE_HOME/j2ee/oc4j_soa/application-deployments/default/AppsAdapter/oc4j-ra.xml
    add:
         <connector-factory location="eis/Apps/FMIS" connector-name="FMIS Applications Adapter">
    <config-property name="xADataSourceName" value="jdbc/fmis"/>
    <config-property name="dataSourceName" value=""/>
    <connection-pooling use="none">
    </connection-pooling>
    <security-config use="none">
    </security-config>
    </connector-factory>
    By the way, I have raised a SR 7551800.992 at the same time.
    Regards,
    Kerr

  • Oracle ActiveSync Adapter issue

    Hi,
    I am facing an issue with oracle activeSync adapter. I am trying to connect to an oracle table and pull some records into IDM. I created the resource and tested connection to the resource and everything seems to work fine. Also I am able to poll the oracle table and create some records within IDM. The issue is with updates.
    The following is are the two scenarios in which I am getting errors.
    1) When the XML content of the activeSync form is (This is the same entry when the feedOp is create and Update) This works fine when the operation is create
         <Field name='waveset.accounts[Lighthouse].firstname'>
              <Expansion>
              <block trace='true'>
                   <ref>activeSync.firstname</ref>
              </block>
              </Expansion>
         </Field>
         and so on for all the fileds, update fails totally, though create works. It does not push the changes to IDM and throws an error "An error occurred connecting to resource 'NBCIDMDeltaActiveSync'".
    2) When the XML content of the activeSync form is (Since the previous entry did not work, I added this entry only when feedOp is Update)
         <Field name='global.firstname'>
              <Expansion>
              <block trace='true'>
                   <ref>activeSync.firstname</ref>
              </block>
              </Expansion>
         </Field>
         The values are getting pushed into IDM. However the error "An error occurred connecting to resource 'NBCIDMDeltaActiveSync'". still prevails.
    Though the second one throws an error, it still works the way it should.
    Can anyone help me figure out how I can fix the error. Though the error says that it has something to do with the connection, it is working fine for creates and I can test the resource connection successfully.

    Create and Update use different default resource, user forms and views. Is the resoruce error you get is the name of one of your adapters? NBCIDMDeltaActiveSync
    Look for Proxy admin assinged to the adapter, if it has a form attached. Review the logic.
    Look for update user form assigned to the update. Review logic in the forms.
    Look for the Update Workflow, review logic differences in the create Workflow.

  • Deadlock issue in Oracle 10g Partitioned Tables

    Hi ALL,
    I am facing an issue of Deadlock while inserting data into a partitioned table.
    I get an error "ORA-00600: Deadlock detected". when i see the trace files, following lines are appearing in them:
    "Single resource deadlock: blocking enqueue which blocks itself".
    Here is the detail of my test case:
    1. I have a list-partitioned table, with partitioning defined on some business codes.
    2. I have a query that merges data into partitioned table (actually compares unique keys between temporary table and partitioned table and then issue an insert if keys not matched, no update part).
    3. The temporary table contains transactional data against many business codes.
    3. when calling the above query from multiple (PL/SQL) sessions, i observe that when we merge data in same partition (from different sessions) than deadlock issue occurs, otherwise it is OK.
    4. Note that all sessions are executed at same time. Also note that Commit is called after each session is completed. Each session contains 2-3 more queries after the mentioned merge statement.
    Is there an issue with oracle merge/insert on same partition (from different sessions)? What is the locking mechanism for this particular case (partitioned tables)?
    My oracle version is Oracle 10g (10.2.0.4). Kindly advice.
    Thanks,
    QQ.

    Could you print the deadlock tree so we can see the type and mode of the locking. (Please use the 'code' tags - see FAQ at top right of screen - to showthe output in fixed font). can you list any SQL operated by this session that gets reported in the trace file.
    Does the table reference itself in a foreign key.
    Is this table involved in any referential integrity constraints.
    Do you have a global primary key index, or a local primary key index ?
    Are there any triggers on the table - if so do they contain autonomous transactions.
    At present the only though that springs to mind is that the merge command has to lock the target table to do the insert/update, but it also has to lock any child table. The mode of the child lock depends on whether it has a suitable index or not, and whether the child table IS also the parent table. If you have two merges to the same partition one partition may get its locks, and the other partition may be in a state where it can't get one of the locks because it's wait for the other. (This shouldn't be a self-deadlock, though, but the scenario might be heading in the right direction for a self-deadlock).
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    "The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge." (Stephen Hawking)

  • Oracle Apps Adapter Issue

    Hi All,
      when i am trying to create the oracle app adapter in jdeveloper , I am getting the following error.
    java.lang.nullpointerexception at oracle.tip.tools.ide.adapters.designtime.adapter.apps.iRep.IRepStartPage.buildWSDL(IRepStartPage.java:1508)
    Could please any suggestions on this issue.
    Thank You,
    Vamsi

    At what stage are you seeing this error?

  • Issue with Oracle Application Adapter (11g) for SAP

    Hi,
    I need to call a WSDL file that is generated through Oracle Application Adapter Application Explorer from a BPEL Composite in SOA 11g.
    The wsdl files are stored under the path $SOA_HOME/soa/thirdparty/ApplicationAdapters/wsdls by default.
    I’m not able to see the wsdls in the Resource Pallette while trying to invoke the adapter. Kindly let me know the workaround for the issue.
    Regards,
    CC

    Hi Chandu
    For SOA 11G, in order to access the BAPI WSDLs ,you need a third party adapter service which comes with Jdeveloper version 11.1.1.2.0 . I am not sure if this is available with Jdeveloper version 11.1.1.1.0. So make sure you have the correct version of Jdev for development.
    Also in 11g when you generate the WSDL(outbound service) from AE, 4 files are generated.
    XXXX_invoke.jca
    XXXX_invoke_request.xsd
    XXXX_invoke_response.xsd
    XXXX_invoke.wsdl
    You need to copy these 4 files to your Jdev project folder and configure the third party adapter service to invoke the SAP BAPIs. Hope this helps.
    Thanks
    Subhankar

  • Oracle Apps Adapter issues

    Hi,
    I have just downloaded and installed SOA 11.1.1.4.0 and am trying to work through the basic labs. I would like to be able to use the Oracle Apps adapter, but am getting the below error when trying to update the apps adapter (to change the status from Installed to Active):
    An error occurred during activation of changes, please see the log for details.
    [1] The ra.xml <connection-interface> class 'oracle.tip.adapter.apps.IAppsConnection' was not found in the resource adapter archive/application. [2] The ra.xml <connection-impl-class> class 'oracle.tip.adapter.apps.AppsConnection' was not found in the resource adapter archive/application. [3] The ra.xml <managedconnectionfactory-class> class 'oracle.tip.adapter.apps.AppsManagedConnectionFactory' was not found in the resource adapter archive/application. [4] The ra.xml <connectionfactory-impl-class> class 'oracle.tip.adapter.apps.AppsConnectionFactory' was not found in the resource adapter archive/application.
    I logon to the consiole (localhost:7001/console), under Deployments, query on OracleAppsAdapter (whose status is 'Installed').
    Source Path - C:\ Oracle\ Middleware\ Oracle_SOA1\ soa\ connectors\ AppsAdapter. rar
    Configuration Tab -> Outbound Connections Pool (sub-tab) ->
    Connection Factory -> eis/Apps/Apps
    dataSourceName = NULL
    xADataSourceName = jdbc/AppsDataSource
    I navigate to Service -> Data Sources
    Datasource Name = eBizDS, JNDI name = jdbc/AppsDataSource
    The datasource is able to connect to the DB.
    Am I missing any steps? One thing which I noticed is that the OracleAppsAdapter is not deployed on the 'AdminServer' (under Target tab). When I try to deploy it, I get the above error.
    Please let me know if I posted in the wrong forum, or if you need any more information.
    Versions:
    SOA Suite - 11.1.1.4.0
    WLS - 10.3.4
    Thanks,
    Ashish

    I deleted the existing OracleAppsAdapter .
    1) Clicked on Install
    2) Selected AppsAdapter.rar
    3) Selected "Install this deployment as application"
    4) Selected "AdminServer" as target
    5) Changed Name to EBizAppsAdapter.
    Under Source accessibility, selected "Use the defaults defined by the deployment's targets"
    6) Clicked on 'Activate Changes'.
    At this point I can see the new Adapter in Prepared state. When I try to update it, it gives the same error:
    An error occurred during activation of changes, please see the log for details.
    [1] The ra.xml <connection-interface> class 'oracle.tip.adapter.apps.IAppsConnection' was not found in the resource adapter archive/application. [2] The ra.xml <connection-impl-class> class 'oracle.tip.adapter.apps.AppsConnection' was not found in the resource adapter archive/application. [3] The ra.xml <managedconnectionfactory-class> class 'oracle.tip.adapter.apps.AppsManagedConnectionFactory' was not found in the resource adapter archive/application. [4] The ra.xml <connectionfactory-impl-class> class 'oracle.tip.adapter.apps.AppsConnectionFactory' was not found in the resource adapter archive/application.

  • Unable create Connection pool for Oracle apps Adapter.

    Hi All,
    We are trying to create a connection pool for Oracle Apps adapter in 11G SOA suite.
    However during the process getting the following error:
    An error occurred during activation of changes, please see the log for details.
    A <jndi-name> is specified for the resource adapter bean in weblogic-ra.xml, however no <resourceadapter-class> element is specified in ra.xml
    Can any one help us on this.
    Thanks
    Parker.

    Please refer section "Configuring Connection Information" at below link -
    http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10537/T430238T430340.htm#T464886
    Regards,
    Anuj

  • Steps to create Connection pool for Oracle apps Adapter.

    Hi All,
    Could please tel me the steps to create connection pool for Oracle Apps Adapter.
    Thanks,
    Parker

    Steps are given in section "Configuring Connection Information" in Apps Adapter User guide at below link -
    http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10537/T430238T430340.htm#T464886
    Regards,
    Anuj

  • DB Adapter connectivity issue

    Hi,
    I am trying to create a BPEL process which connect to a Custom oracle database using DB adapter. This process is supposed to read data from custom table and populate elsewhere. In BPEL designer I am able to create the connection, view the tables and create mapping. Then I deployed the process. Now when I try to test the process by inserting data to the table, it is throwing following error message in the log and no process is getting initiated in the console. Any thoughts on what could be the problem? Is there anything that I am missing after creating and deploying the process?
    <2006-02-21 17:42:16,023> <WARN> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.InboundWork runOnce> Exception during polling of the database ORABPEL-11624
    DBActivationSpec Polling Exception.
    Query name: [DatabaseAdapter], Descriptor name: [CDHTestPrj1.CustomerMaster]. Polling the database for events failed on this iteration.
    If the cause is something like a database being down successful polling will resume once conditions change. Caused by Local Exception Stack:Exception [TOPLINK-4002] (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)): oracle.toplink.exceptions.DatabaseException
    Exception Description: java.sql.SQLException: ORA-00904: "COMPLETE": invalid identifier

    Hi,
    I am trying to create a BPEL process which connect to a Custom oracle database using DB adapter. This process is supposed to read data from custom table and populate elsewhere. In BPEL designer I am able to create the connection, view the tables and create mapping. Then I deployed the process. Now when I try to test the process by inserting data to the table, it is throwing following error message in the log and no process is getting initiated in the console. Any thoughts on what could be the problem? Is there anything that I am missing after creating and deploying the process?
    <2006-02-21 17:42:16,023> <WARN> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.InboundWork runOnce> Exception during polling of the database ORABPEL-11624
    DBActivationSpec Polling Exception.
    Query name: [DatabaseAdapter], Descriptor name: [CDHTestPrj1.CustomerMaster]. Polling the database for events failed on this iteration.
    If the cause is something like a database being down successful polling will resume once conditions change. Caused by Local Exception Stack:Exception [TOPLINK-4002] (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)): oracle.toplink.exceptions.DatabaseException
    Exception Description: java.sql.SQLException: ORA-00904: "COMPLETE": invalid identifier

  • Error while running BPEL Process with Oracle Apps Adapter.

    Hi All,
    I am trying to configure the oracle apps adapter in JDeveloper.
    Here my EBS is running on different database where as SOA is installed on different database.
    I am able to properly configure the adapter & deploy the process to weblogic server.
    But when I am trying to run the process I am getting following errorr.
    <p>
    The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510\nJCA Resource Adapter location error.\nUnable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/>\nThe JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='*<JNDI Name passed in Oracle apps Adapter.>*'.\nThe reason for this is most likely that either \n 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or \n 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to <JNDI Name passed in Oracle apps Adapter.>
    </p>
    Please suggest the solution for the same.
    its really urgent . waiting for reply.
    Edited by: aumathe on Dec 16, 2010 2:33 PM

    Have you created a connection pool with the JNDI specified while configuring adapter in Oracle Apps adapter on weblogic admin console. You should create it at Deployments --> OracleAppsAdapter --> Configuration--> Outbound Connection pools
    Make sure to update the adapter after creating a connection pool so that changes can take effect.
    Regards,
    Anuj

  • Oracle Apps Adapter with jboss

    Hi,
    I'm using BPEL 10.1.2 with JBoss and I'm having trouble getting the Apps Adapter to work. I've tried configuring AppsAdapter-ds.xml in the deploy directory but I get the error message below when I invoke the process. Basically, the connection URL is invalid ? Looks ok to me, am I missing something. All the doco, even that with JBoss only talks about oracle BPEL engine. Not particularly helpful.
    matt.
    13:42:22,835 INFO [STDOUT] <2006-02-06 13:42:22,835> <INFO> <default.collaxa.cube.ws> <AdapterFramework::Outbound> file:/C:/development/orabpel_jboss1012/domains/default/tmp/.bpel_BPELProcess1_1.0.jar/OracleDev11.wsdl [ OracleDev11_ptt::OracleDev11Select(OracleDev11Select_inparameters,ArCustomersCollection) ] - Using JCA Connection Pool - max size = <unbounded>
    13:42:23,788 INFO [STDOUT] <2006-02-06 13:42:23,788> <ERROR> <default.collaxa.cube.ws> <Database Adapter::Outbound> <oracle.tip.adapter.db.DBManagedConnectionFactory acquireClientSession> unable to build the TopLink Session
    13:42:23,804 INFO [STDOUT] <2006-02-06 13:42:23,804> <ERROR> <default.collaxa.cube.ws> <Database Adapter::Outbound> <oracle.tip.adapter.db.DBInteraction executeOutboundRead> unable to execute the NamedQuery: BPELProcess1.ArCustomers.OracleDev11Select
    13:42:23,804 INFO [STDOUT] <2006-02-06 13:42:23,804> <ERROR> <default.collaxa.cube.ws> <AdapterFramework::Outbound> file:/C:/development/orabpel_jboss1012/domains/default/tmp/.bpel_BPELProcess1_1.0.jar/OracleDev11.wsdl [ OracleDev11_ptt::OracleDev11Select(OracleDev11Select_inparameters,ArCustomersCollection) ] - Could not invoke operation 'OracleDev11Select' against the 'Database Adapter' due to:
    ORABPEL-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    See root exception for the specific exception. You may need to configure the connection settings in the deployment descriptor (i.e. orabpel/system/app
    server/jboss/server/default/deploy/DbAdapter-ds.xml) and restart the server. Caused by Exception [TOPLINK-4002] (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)): oracle.toplink.exceptions.DatabaseException
    Exception Description: java.sql.SQLException: Invalid Oracle URL specified
    Internal Exception: java.sql.SQLException: Invalid Oracle URL specified
    Error Code: 17067.
    13:42:23,804 INFO [STDOUT] <2006-02-06 13:42:23,804> <INFO> <default.collaxa.cube.ws> <AdapterFramework::Outbound> Change logging level for Logger 'default.collaxa.cube.ws' to DEBUG to see full error stack
    13:42:23,804 INFO [STDOUT] <2006-02-06 13:42:23,804> <ERROR> <default.collaxa.cube.ws> <AdapterFramework::Outbound> file:/C:/development/orabpel_jboss1012/domains/default/tmp/.bpel_BPELProcess1_1.0.jar/OracleDev11.wsdl [ OracleDev11_ptt::OracleDev11Select(OracleDev11Select_inparameters,ArCustomersCollection) ] - Rolling back JCA LocalTransaction
    13:42:23,976 INFO [STDOUT] <2006-02-06 13:42:23,976> <ERROR> <default.collaxa.cube.sensor> <PCException::<init>> JMS connection factory lookup failed.
    13:42:23,976 INFO [STDOUT] <2006-02-06 13:42:23,976> <ERROR> <default.collaxa.cube.sensor> <PCException::<init>> Please verify the JMS configuration.
    13:42:23,976 INFO [STDOUT] <2006-02-06 13:42:23,976> <ERROR> <default.collaxa.cube.sensor> <DefaultDataRouter::send> JMS connection factory lookup failed.
    13:42:23,976 INFO [STDOUT] <2006-02-06 13:42:23,976> <ERROR> <default.collaxa.cube.sensor> <DefaultDataRouter::send> Please verify the JMS configuration.

    I don't know if this is the answer or not, but at least worth a try.
    A few years ago, JBoss was VERY unforgiving if installed on a windows machine with a space in the path. Most JBoss functionality would work fine, but in some situations, it would complain about the URL, just as it has in your case. It looks to me as if you do have a space in your path. I don't know if they ever got around to fixing it (I filed the original bug on the JBoss bug system). It's at least worth a try, or at least a search through the JBoss site to see if this issue still exists.
    Catherine

  • Error - Oracle Apps Adapter

    Hi,
    I am getting the following error when I invoke oracle Apps Adapter.
    The same working pretty well in DEV and when we moved the code to SIT its behaving this way.
    Another issue is even though in the flow trace, it says faulted, but I can still see the record in the db and on top it adds as many duplicate records as no of faults in the flow trace.
    <fault>
    <bpelFault>
    <faultType>0</faultType>
    <remoteFault>
    <part name="summary">
    <summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'invoke_ar_inbound_st_proc' failed due to: DBWriteInteractionSpec Execute Failed Exception. unknown failed. Descriptor name: [unknown]. Caused by java.sql.SQLException: Cannot call Connection.commit in distributed transaction. Transaction Manager will commit the resource manager when the distributed transaction is committed.. Please see the logs for the full DBAdapter logging output prior to this exception. This exception is considered retriable, likely due to a communication failure. To classify it as non-retriable instead add property nonRetriableErrorCodes with value "0" 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>Cannot call Connection.commit in distributed transaction. Transaction Manager will commit the resource manager when the distributed transaction is committed.</detail>
    </part>
    <part name="code">
    <code>0</code>
    </part>
    </remoteFault>
    </bpelFault>
    </fault>
    ___________________________________________________________________

    Either remove the hard commit statements from your PL/SQL procedure/package or use non-XA data-source.
    Regards,
    Anuj

  • Timeout when calling long running Oracle Apps Adapter API calls

    When making a Oracle Apps Based adapter from ESB, Transactions are getting timedout for running calls (~ > 5 mins)
    1) Created a Oracle Apps Adapter to execute a API call that returns, in our case, customer data.
    2) Created a BPEL Which invokes this API based Adapter via. a partner link.
    3) Following errors for calls which take ~ >5, transaction is timeout, when invoked from BPEL/ESB/SOAP UI Client.
    From domain.log
    ==========
    <2009-04-21 18:54:25,718> <DEBUG> <yeruvp.collaxa.cube.ws> <WSIFInvocationHandler::invoke> invoke failed
    org.collaxa.thirdparty.apache.wsif.WSIFException: exception during SOAP invoke: Timed out; nested exception is:
         javax.xml.rpc.soap.SOAPFaultException: Timed out
         at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.populateFaultMessage(WSIFOperation_JaxRpc.java:3086)
         at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeOperation(WSIFOperation_JaxRpc.java:1728)
         at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeRequestResponseOperation(WSIFOperation_JaxRpc.java:1473)
         at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.executeRequestResponseOperation(WSIFOperation_JaxRpc.java:1196)
         at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:476)
         at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:436)
         at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:251)
         at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:790)
         at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:395)
         at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:195)
         at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3715)
         at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1655)
         at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:220)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:317)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5710)
         at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1085)
         at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.createAndInvoke(CubeEngineBean.java:132)
         at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.syncCreateAndInvoke(CubeEngineBean.java:161)
         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:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:646)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiresNewInterceptor.invoke(TxRequiresNewInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at CubeEngineBean_LocalProxy_4bin6i8.syncCreateAndInvoke(Unknown Source)
         at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequestAnyType(DeliveryHandler.java:515)
         at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequest(DeliveryHandler.java:457)
         at com.collaxa.cube.engine.delivery.DeliveryHandler.request(DeliveryHandler.java:131)
         at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java:95)
         at sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:646)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at DeliveryBean_RemoteProxy_4bin6i8.request(Unknown Source)
         at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processNormalOperation(SOAPRequestProvider.java:451)
         at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processBPELMessage(SOAPRequestProvider.java:274)
         at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processMessage(SOAPRequestProvider.java:120)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:956)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:466)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.xml.rpc.soap.SOAPFaultException: Timed out
         at oracle.j2ee.ws.client.StreamingSender._raiseFault(StreamingSender.java:568)
         at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:396)
         at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
         at oracle.j2ee.ws.client.dii.CallInvokerImpl.directInvoke(CallInvokerImpl.java:726)
         at oracle.j2ee.ws.client.dii.BasicCall.directInvoke(BasicCall.java:743)
         at oracle.j2ee.ws.client.dii.BasicCall.invoke(BasicCall.java:649)
         at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeOperation(WSIFOperation_JaxRpc.java:1714)
         ... 83 more
    <2009-04-21 18:54:25,721> <ERROR> <yeruvp.collaxa.cube.ws> <WSIFInvocationHandler::invoke> Fault happened: exception during SOAP invoke: Timed out; nested exception is:
         javax.xml.rpc.soap.SOAPFaultException: Timed out
    <2009-04-21 18:54:25,752> <DEBUG> <yeruvp.collaxa.cube.engine> AJPRequestHandler-RMICallHandler-61, a4 <invoke> partner OrgCustAdapter_pl, wikey:7990001-BpInv0-BpSeq0.3-3, bpel code line:84, Connection info:oracle_jdbc_driver_T4CConnection_Proxy@17f3851, connection hashCode:25114705, autocommit:false, Transaction info:[Transaction : orabpel : Xid( Global Id 1b.16.00.7d.00.00.00.00.2f.d3.6d.ca.20.01.00.00.17.41.03.00.00.00.00.00, Format Id 1330790740)], jtaTxState:1, CubeInstance:7990001, Process name:testCustomer_BPEL
    Now looking to troubleshoot this Timed out issue.
    i, Does this need to increase any configuration file timeout parameter on EBS Adapter or other component ?
    Any suggessions to fix/towards resolution is appricated.
    Thanks,
    sgaraga

    After increasing sync-time-out and global transaction time out to 1800. Issue is still reported.
    We are not using the jdbc pool.
    Still not sure what we are missing here and running into this:
    WSIFInvocationHandler::invoke> invoke failed
    org.collaxa.thirdparty.apache.wsif.WSIFException: exception during SOAP invoke: Timed out; nested
    exception is:
    javax.xml.rpc.soap.SOAPFaultException: Timed out
    In addition:
    ========
    Tested calling this PL/SQL API (exactly the same API CALLED in BPEL) in TOAD and this ran for 20 mts in DB.
    With the changes(sync-time-out,global transaction time,hpptd.conf, and transaction-manager.xml ) in SOA configuration then we are getting the exception ..
    So, we need help with SOA configuration to get the BPEL service working when the API called within BPEL service is taking approximately 20 mts.
    Edited by: sgaraga on Apr 22, 2009 4:29 PM

Maybe you are looking for

  • Error when creating decision table

    Hi, I am on a Netweaver 7.0 EHP2 SP 6. Using the BRF+ Workbench I created two applications and some other objects, but when trying to create a decision table in one of the applications I am getting a shortdump after confirming the popup where you can

  • Help, since my update to my Iphone 4, it will no longer charge on my alarm clock docking station. The station I purchased four months ago from Target.

    It will still charge my ipod,but not my iphone. I keep getting a message on my phone when I put it on the dock, saying that it is not supported by this divise. Please help. I am not going to go out and spend another 35.00 on an alarm clock when this

  • Conversion of Unit of Measure in ALV Grid

    Hi all, I am using function 'REUSE_ALV_GRID_DISPLAY' to display some records in ALV grid. The record displays material, the quantity of the material consumed and the unit of measure (UoM) of the quantity. I am fetching the data from the table AUFM an

  • J2me vs j2ee

    which one of these technology is emerging which has better job security and which one has better future

  • Acrobat 8 raster issue

    I'm using Acrobat 8 print to Apdobe PDF to create a pdf document, but it seems every .joboptions setting I use creates rasterized artwork. I am printing from a pdf form to pdf in order to be able to step and repeat. The source PDF form is using a vec