RESETERROR

Hello,
I have to restart a lot of workflows.
To do this I would use WF_STANDARD.RESETERROR.
However I don't know if this is gonna work because this procedures needs the activity attribute 'COMMAND'.
I know how to add an item attribute (wf_enigne.additemattr), but that is not enough, because he needs the activity attribute which is not set by adding the item attribute.
Does anyone know how to set this activity attribute in my script?
Thanks Ronald

I'd suggest that you turn on xml validation on the bpel boundaries to make sure that the xml being passed to the adapter is valid. You do this by logging in to bpel console, go to Manage Domain, at the bottom of the Configuration tab, set validateXml to true.
Then see if it is an xml validation issue - in which case you will have to fix your maps to make sure it is valid indeed.
Assuming your XML is valid and you are still seeing this error, couple of follow up questions:
- are you using synonyms ?
-- note that synonyms are not supported completely by the adapter at this time.
- could you spell out where your types/sp-pkg resides and what are you connecting as at runtime ?
-- just to keep things simple enough to debug, i'd do everything as just one user and slowly go to a scheme that you desire.
HTH

Similar Messages

  • ORABPEL-11809 - call a stored procedure - error in OUT parameter

    Hi all.
    I have a problem in a BPEL process that calls a stored procedure.
    I create a Partner Link that calls a stored procedure in the database. That procedure returns a type that is a table (is defined as a type of the database).
    When I deploy the process I have the following error:
    <messages>
    - <input>
    - <WC01_Pesquisa_Ut_InputVariable>
    - <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="InputParameters">
    - <InputParameters xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/IGIF/WC01/PESQUISA_UT/">
    <P_NIR xmlns="">
    165968274
    </P_NIR>
    <P_NOME_COMPLETO xmlns="">
    carla diogo
    </P_NOME_COMPLETO>
    <P_SEXO xmlns="">
    Feminino
    </P_SEXO>
    <P_DATA_NASC xmlns="">
    2007-03-01
    </P_DATA_NASC>
    <P_NATURALIDADE xmlns=""/>
    </InputParameters>
    </part>
    </WC01_Pesquisa_Ut_InputVariable>
    </input>
    - <fault>
    - <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    - <part name="code">
    <code>
    17002
    </code>
    </part>
    - <part name="summary">
    <summary>
    file:/oracle/product/10.1.3/SOA/Integration10131/bpel/domains/default/tmp/.bpel_SaudeIdentificarCidadao_5.0_e3768f57d137443e1ba52d4a6d809426.tmp/WC01_Pesquisa_Ut.wsdl [ WC01_Pesquisa_Ut_ptt::WC01_Pesquisa_Ut(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'WC01_Pesquisa_Ut' failed due to: Error registering an out parameter.
    An error occurred when registering parameter PESQUISA_UT as an out parameter of the IGIF.WC01.PESQUISA_UT API. Cause: java.sql.SQLException: Io exception: Connection reset [Caused by: Io exception: Connection reset]
    ; nested exception is:
         ORABPEL-11809
    Error registering an out parameter.
    An error occurred when registering parameter PESQUISA_UT as an out parameter of the IGIF.WC01.PESQUISA_UT API. Cause: java.sql.SQLException: Io exception: Connection reset [Caused by: Io exception: Connection reset]
    Check to ensure that the parameter is a valid IN/OUT or OUT parameter of the API. Contact oracle support if error is not fixable.
    </summary>
    </part>
    - <part name="detail">
    <detail>
    Internal Exception: java.sql.SQLException: Io exception: Connection resetError Code: 17002
    </detail>
    </part>
    </remoteFault>
    </fault>
    </messages>
    The code of the XSD created when I create the partner link is:
    <schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/IGIF/WC01/PESQUISA_UT/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:db="http://xmlns.oracle.com/pcbpel/adapter/db/IGIF/WC01/PESQUISA_UT/"
    elementFormDefault="unqualified" attributeFormDefault="unqualified">
    <element name="InputParameters">
    <complexType>
    <sequence>
    <element name="P_NIR" type="decimal" db:index="1" db:type="NUMBER" minOccurs="0" nillable="true"/>
    <element name="P_NOME_COMPLETO" type="string" db:index="2" db:type="VARCHAR2" minOccurs="0" nillable="true"/>
    <element name="P_SEXO" type="string" db:index="3" db:type="VARCHAR2" minOccurs="0" nillable="true"/>
    <element name="P_DATA_NASC" type="dateTime" db:index="4" db:type="DATE" minOccurs="0" nillable="true"/>
    <element name="P_NATURALIDADE" type="string" db:index="5" db:type="VARCHAR2" minOccurs="0" nillable="true"/>
    </sequence>
    </complexType>
    </element>
    <element name="OutputParameters">
    <complexType>
    <sequence>
    <element name="PESQUISA_UT" type="db:TABELA_DE_IDS" db:index="0" db:type="Array" minOccurs="0" nillable="true"/>
    </sequence>
    </complexType>
    </element>
    <complexType name="TABELA_DE_IDS">
    <sequence>
    <element name="PESQUISA_UT_ITEM" type="decimal" db:type="NUMBER" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
    </sequence>
    </complexType>
    </schema>
    Any ideia?
    Thanks in advance.
    Carla

    I'd suggest that you turn on xml validation on the bpel boundaries to make sure that the xml being passed to the adapter is valid. You do this by logging in to bpel console, go to Manage Domain, at the bottom of the Configuration tab, set validateXml to true.
    Then see if it is an xml validation issue - in which case you will have to fix your maps to make sure it is valid indeed.
    Assuming your XML is valid and you are still seeing this error, couple of follow up questions:
    - are you using synonyms ?
    -- note that synonyms are not supported completely by the adapter at this time.
    - could you spell out where your types/sp-pkg resides and what are you connecting as at runtime ?
    -- just to keep things simple enough to debug, i'd do everything as just one user and slowly go to a scheme that you desire.
    HTH

  • Connection Reset Error with Database Polling

    Hi,
    I am using DB adapter for polling records from the database. After polling I am doing physical delete for the records that have been polled. The polled record has a column for scheduledDateTime which is used to do scheduling for the process, using a Wait Activity.
    Everything works fine in development environment but shows different behaviour in testing environment.
    The records have been polled and is waiting at wait activity for time expiry. But even after time expires, the process is still in a waiting stage. When I checked logs for the process, this was the error given.
    <2010-04-20 07:59:00,477> <WARN> <ukbss.collaxa.cube.activation> <Database Adapter::Inbound>
    ORABPEL-11624
    DBActivationSpec Polling Exception.
    Query name: [ScheduleDBPoll], Descriptor name: [ScheduleDBPoll.ScheduleInformation]. Polling the database for events failed on this iteration. [Caused by: Io exception: Connection reset]
    If the cause is something like a database being down successful polling will resume once conditions change. Caused by Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.4.0) (Build 080602)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: Io exception: Connection resetError Code: 17002
    Call:DELETE FROM SCHEDULE_INFORMATION WHERE (SCHEDULE_ID = ?)
         bind => [584]
    Query:DeleteObjectQuery(<ScheduleInformation 584 />).
         at oracle.tip.adapter.db.exceptions.DBResourceException.createEISException(DBResourceException.java:461)
         at oracle.tip.adapter.db.exceptions.DBResourceException.inboundReadException(DBResourceException.java:376)
         at oracle.tip.adapter.db.InboundWork.handleException(InboundWork.java:697)
         at oracle.tip.adapter.db.InboundWork.runOnce(InboundWork.java:635)
         at oracle.tip.adapter.db.InboundWork.run(InboundWork.java:475)
         at oracle.tip.adapter.db.inbound.InboundWorkWrapper.run(InboundWorkWrapper.java:43)
         at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
         at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:280)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.4.0) (Build 080602)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: Io exception: Connection resetError Code: 17002
    Call:DELETE FROM SCHEDULE_INFORMATION WHERE (SCHEDULE_ID = ?)
         bind => [584]
    Query:DeleteObjectQuery(<ScheduleInformation 584 />)
         at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:282)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:669)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeNoSelect(DatabaseAccessor.java:721)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:501)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:441)
         at oracle.toplink.publicinterface.Session.executeCall(Session.java:728)
         at oracle.toplink.internal.sessions.IsolatedClientSession.executeCall(IsolatedClientSession.java:115)
         at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:117)
         at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:103)
         at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.deleteObject(DatasourceCallQueryMechanism.java:94)
         at oracle.toplink.internal.queryframework.StatementQueryMechanism.deleteObject(StatementQueryMechanism.java:96)
         at oracle.toplink.queryframework.DeleteObjectQuery.executeDatabaseQuery(DeleteObjectQuery.java:143)
         at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:620)
         at oracle.toplink.publicinterface.Session.internalExecuteQuery(Session.java:2089)
         at oracle.toplink.publicinterface.Session.executeQuery(Session.java:993)
         at oracle.toplink.publicinterface.Session.executeQuery(Session.java:950)
         at oracle.tip.adapter.db.inbound.DeletePollingStrategy.destroyRecord(DeletePollingStrategy.java:332)
         at oracle.tip.adapter.db.inbound.DestructivePollingStrategy.destroy(DestructivePollingStrategy.java:406)
         at oracle.tip.adapter.db.inbound.DeletePollingStrategy.destroy(DeletePollingStrategy.java:378)
         at oracle.tip.adapter.db.InboundWork.transactionalUnit(InboundWork.java:1353)
         at oracle.tip.adapter.db.InboundWork.runOnce(InboundWork.java:575)
         ... 5 more
    Caused by: java.sql.SQLException: Io exception: Connection reset
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:175)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:287)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:649)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1161)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3001)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3074)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:662)
         ... 24 more
    <2010-04-20 07:59:05,673> <INFO> <ukbss.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.exceptions.DBResourceException createEISException> A retriable exception occured. In BPEL you can configure a fault policy (starting with 10.1.3.3) to automatically perform retries. Please configure bpel/domains/<domainName>config/fault-bindings.xml
    I thought the error is due to database connection, but as per DB team, the database is up and this error happens for some records and some records are successfully executed.
    I am using Oracle SOA 10.1.3.4.0 and Jdeveloper 10.1.3.4
    Any help will be appreciated.
    Regards,
    Varun

    Nevermind, I found the problem. My school is incapable of finishing loading any sites through SSL, ever (without a proxy), and Twitter decided to lock my account to SSL without telling me. I just had to set FoxyProxy to use the proxy for https://twitter.com and it was fixed.
    I suppose other programs could still load Twitter because they didn't have the cookies to stay in my account, which means they weren't redirected to https.

Maybe you are looking for

  • Quicktime takes a LONG time to load Videos (all of a sudden)

    Since a few weeks it takes Quicktime FOREVER to open a Video file. Depending on its size, it takes longer. It takes almost 1:30 for a 700MB Video file, for instance. I dont know why this is, and I havnt really changed anything, besides the Apple Upda

  • Service PO report query

    Dear All Abapers,     I have developed a service PO report. Reference t-codes are ml81n and me23n. The query is regarding Entry sheet number for a particular PO number. If the user saves and posts an entry sheet no, a GR No. is made and it is reflect

  • How to remove device driver?

    I have put the wrong driver on my IMac running OSX 10.7.3 and need to go to an older driver. I've tried to find out where the drivers are but no sucess. There is a driver for XBox 360 game controllers that I loaded and it appears in System Preference

  • Best temperature monitoring app.? Freeware or Shareware.

    Hi, I really need to know my G4's components' temperature, so if you know which temperature app. is the best and why, I'd really appreciate if you shared! I looked last night on the Version Tracker site, but it was kinda difficult to choose an app. A

  • Some Matrox Effects giving problem

    Hi All, I am running Adobe Premiere Pro CS 5.0.3 with Matrox MX02 LE and MtxUtils Tools 5.1.1. System has Win7 x64 and NVidia Quadro 4000 graphics card. There are some effects such as mask or most filters except Black and White filter that do not app