BAPI Transaction commit in JCo

Hi,
I am posting a GL document via JCo (Java Program ) into SAP using the BAPI_ACC_DOCUMENT_POST and then calling the BAPI_TRANSACTION_COMMIT to commit the transaction so that it gets updated in SAP system.
After i execute my program, i get the posting successful message and document number is returned to me. But when i look for this document in the SAP system, it is not found.
Any help will be appreciated.
Below is the piece of code where i execute the BAPI's in java after mapping the required data.
                 function.execute(destination);
                 System.out.println("Function BAPI_ACC_DOCUMENT_POST executed .");
                 commFunct.getImportParameterList().setValue("WAIT", "10");
                 commFunct.execute(destination);
                 System.out.println("Function BAPI_TRANSACTION_COMMIT executed .");
Regards,
Ganesh.

Hi Ganesh,
With JCo3 the connections are no longer stateful by default, so each RFC call is executed within it's own context. In your case though, you want the commit to occur in the same context where you posted the document. You can do this by adding the following static method calls:
JCoContext.begin(destination);
// Execute both RFC functions here
JCoContext.end(destination);
You can also check the Java API help for JCoContext, which explains this in more detail. Once you added the two lines (ideally end the context in a finally block), you should see the document in SAP.
Cheers, harald

Similar Messages

  • Wait upto one second v/s BAPI TRANSACTION COMMIT

    Hi All,
    I calling the FM BAPI_EQUI_CHANGE and then   CALL FUNCTION 'BAPI_TRANSACTION_COMMIT 'EXPORTING  wait = 'X'.
    But it seems like in the production environment the commit does not happen immediately and happens only when I add a "wait upto one second" statement. I want to avoid the wait and also a bit confused on why the commit  BAPI  does not work quickly enough. PLease enlightenme on this.
    Best REgards,
    Shankar.

    BAPI_TRANSACTION_COMMIT executes
    - a COMMIT WORK, so it starts update task, if WAIT specified, it waits until task are ended, and execute a database commit (native SQL commit on database server)
    - a buffer refresh of the BAPI tools only not of the whole database on server...
    There can nevertheless be some delay due to database server even if database commit is required it may take time and Abap don't wait at this step, so even a WAIT UP TO n SECONDS can fail ( So [it will happen|http://en.wikipedia.org/wiki/Murphy%27s_law]). If you want to actually be sure that database is updated, you must execute a SELECT from database[ BYPASSING BUFFER|http://help.sap.com/abapdocu_70/en/ABAPFROM_CLAUSE.htm#&ABAP_ADDITION_3@3@] in a DO/ENDDO loop to insure data is created/updated (Of course put a limit at the number of tries performed)
    Regards,
    Raymond

  • BIM of BAPI transaction MR22 ?

    Hi,
    I'am recording BIM for transaction MR22,  is it true that I can only use 9 items when recording BIM and no more?
    CKI_MR22_0250-MATNR(01)
    CKI_MR22_0250-MATNR(02)
    CKI_MR22_0250-MATNR(03)
    CKI_MR22_0250-MATNR(04)
    CKI_MR22_0250-MATNR(05)
    CKI_MR22_0250-MATNR(06)
    CKI_MR22_0250-MATNR(07)
    CKI_MR22_0250-MATNR(08)
    CKI_MR22_0250-MATNR(09)
    Or is there BAPI that I can use?
    tnx, Adibo.

    Hi,
    Hmm. Ok thanks. Any good tips/tutorials/documentation on using an Enterprise Service?
    How do these premade Enterprise Service definitions differentiate from exposing BAPI's as a service? They don't require transaction commit?
    EDIT: You can copy the BAPI and call the TRANSACTION COMMIT directly in the new one. (Not sure if this is the best practice)
    Edited by: Wouter Peeters on Mar 22, 2011 7:53 PM

  • Transaction commit unsuccessfully - during import of Profit center in 8.81

    Hello Experts!
    Good day! I've been trying to upload using DTW template for cost center.  During "run simulation" it was run successfully, but during actual import, the error per line is transaction commit unsuccessfully.  I have tried several date format but the only format accepted is yyyy-mm-dd.  I cannot figure out the reason for this. Kindly help me in solving this issue.
    My SAP 8.81 patch level is: 5 and my DTW version is 88.1.4.
    CenterCode     CenterName     GroupCode     InWhichDimension     EffectiveFrom     
    CenterCode     CenterName     GroupCode     InWihchDimension     EffectiveFrom     
    SV-1     FORD FIERRA/PFL-128     SV     1     2011-01-01     
    SV-4     ISUZU ELF/UJZ-630             SV     1     2011-01-01
    Regards,
    Luz A. Cornejo

    Hi Luz,
    You're already said that you could successfully upload it in Test Run mode, so I don't think you made any mistake whatsoever with date format, field mapping rules, etc. considering if you made any mistake in that regard, you will get error message even in Test Run mode.
    I'm not sure if this could help you, but I once encountered same problem like you back then few years ago, if I remember correctly in SBO 2005. The very same problem, Test Run mode success, when I wanted to upload it permanently, error. The problem is, I didn't use DTW from latest patch. You said that you use PL 5 but your DTW PL 4. Maybe you should try upgrade your DTW to PL 5? Not sure if this helps, good luck.
    Best Regards,
    Hendry Wijaya

  • How to permit a transaction commit in applet?

    my code like this:
    Registry.set("secure.allowSaveFileFromApplets", JMFI18N.getResource("jmfregistry.settings.allowfilewrite") );
    Registry.set("secure.allowCaptureFromApplets", JMFI18N.getResource("jmfregistry.settings.allowcapture") );
    try {
    Registry.commit();
    catch (IOException ioe) {
    System.err.println("Error:"+ioe);
    I have signed the applet,but when execute,Exception as follows,
    java.lang.SecurityException: commit: Permission denied
         at com.Registry.commit(Registry.java:274)
         at com..JMFRegistry.doCommit(JMFRegistry.java:22)
    the line:Registry.commit(),sames use a transaction commit,but java.policy file no the permission,so,how to add the permission to the file?
    dying for help!!!
    s.

    I face with the same problem. i can do it in standalone java application but i cannot do the same thing in web start. i get the same "commit: Permission denied" exception. i got really stuck with the problem. i will greatly appreciate if you post the solution if you can find or found any.
    i will post any solution if i can find any.

  • Error  ESB to outbound AQ adapter - CCI Local Transaction COMMIT failed

    We are trying to enqueue a ESB message to a AQ adapter and recieve a "CCI Local Transaction COMMIT failed due to: SQL Error performing commit(). I have checked all the logs for both ESB and B2B to try to find out why this happening, but I am stuck and don't know where to go look next. We are running ESB 10.1.3.4 and B2B 10.1.2.3.
    Any information would help at this point.
    Here is what I see in the ESB logs:
    oracle.tip.esb.server.common.exceptions.BusinessEventRejectionException: Error occured while handling monitor message dequeued from monitor
    topic. Message text is "<activityMessages><activityMessage order='47' type='6'><flowId>pO9ODoC-ZkO7SVXEBy6IUA==</flowId><subFlowId>1236800149642</subFlowId><timestamp>1236800159806</timestamp><operationGUID>B6F20D90044311DEBF61EB90ED96C71E</operationGUID><
    perationQName>nsvs.cra.CRABirthSendebMS.Enqueue</operationQName><errorMessage><![CDATA[An unhandled exception has been thrown in the ESB
      system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: esb:///ESB_Projects/ESBApplication_VitalStatsESBCRAProject/CRABirthSendebMS.wsdl
      [ Enqueue_ptt::Enqueue(CRAVitalEvent) ] - WSIF JCA Execute of operation 'Enqueue' failed due to: CCI Local Transaction COMMIT failed.
    CCI Local Transaction COMMIT failed due to: SQL Error performing commit().
    ; nested exception is:
    ORABPEL-11901
    CCI Local Transaction COMMIT failed.
    CCI Local Transaction COMMIT failed due to: SQL Error performing commit().
    Please examine the log file to determine the problem.
    at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:644)
    at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeInputOnlyOperation(WSIFOperation_JCA.java:739)
    at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(WSIFInvoker.java:894)
    at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:810)
    at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:832)
    at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(OutboundAdapterService.java:223)
    at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(OutboundAdapterService.java:135)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(InitialEventDispatcher.java:406)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:164)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1988)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1467)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:205)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:136)
    at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:309)
    at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:545)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:527)
    at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:160)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1988)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1467)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:205)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:136)
    at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:309)
    at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:545)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:527)
    at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:160)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1988)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1467)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:205)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:136)
    at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:309)
    at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:545)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:527)
    at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:160)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1988)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1467)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:119)
    at oracle.tip.esb.server.service.EsbRouterSubscription.processOperationResponse(EsbRouterSubscription.java:483)
    at oracle.tip.esb.server.service.EsbRouterSubscription.processEventResponse(EsbRouterSubscription.java:418)
    at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:321)
    at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:545)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:527)
    at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:160)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1988)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1467)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:205)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:136)
    at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:309)
    at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:545)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:527)
    at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:160)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1988)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1467)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:119)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:65)
    at oracle.tip.esb.server.service.impl.inadapter.ESBListenerImpl.processMessage(ESBListenerImpl.java:702)
    at oracle.tip.esb.server.service.impl.inadapter.ESBListenerImpl.onMessage(ESBListenerImpl.java:395)
    at oracle.tip.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:307)
    at oracle.tip.adapter.db.InboundWork.onMessageImpl(InboundWork.java:1476)
    at oracle.tip.adapter.db.InboundWork.onMessage(InboundWork.java:1395)
    at oracle.tip.adapter.db.InboundWork.transactionalUnit(InboundWork.java:1349)
    at oracle.tip.adapter.db.InboundWork.runOnce(InboundWork.java:575)
    at oracle.tip.adapter.db.InboundWork.run(InboundWork.java:475)
    at oracle.tip.adapter.db.inbound.InboundWorkWrapper.run(InboundWorkWrapper.java:43)
    at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
    at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
    at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:830)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: ORABPEL-11901
    CCI Local Transaction COMMIT failed.
    CCI Local Transaction COMMIT failed due to: SQL Error performing commit().
    Please examine the log file to determine the problem.
    at oracle.tip.adapter.aq.AQCciLocalTransactionImpl.commit(AQCciLocalTransactionImpl.java:89)
    at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:515)
    ... 77 more
    ]]></errorMessage><exception><![CDATA[oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: An unhandled exception
      has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: esb:///ESB_Projects/ESBApplication_VitalStatsESBCRAProject/CRABirthSendebMS.wsdl
      [ Enqueue_ptt::Enqueue(CRAVitalEvent) ] - WSIF JCA Execute of operation 'Enqueue' failed due to: CCI Local Transaction COMMIT failed.
    CCI Local Transaction COMMIT failed due to: SQL Error performing commit().
    ; nested exception is:
    ORABPEL-11901
    CCI Local Transaction COMMIT failed.
    CCI Local Transaction COMMIT failed due to: SQL Error performing commit().
    Please examine the log file to determine the problem.
    at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:644)
    at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeInputOnlyOperation(WSIFOperation_JCA.java:739)
    at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(WSIFInvoker.java:894)
    at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:810)
    at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:832)
    at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(OutboundAdapterService.java:223)
    at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(OutboundAdapterService.java:135)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(InitialEventDispatcher.java:406)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:164)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1988)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1467)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:205)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:136)
    at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:309)
    at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:545)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:527)
    at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:160)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1988)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1467)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:205)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:136)
    at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:309)
    at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:545)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:527)
    at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:160)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1988)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1467)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:205)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:136)
    at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:309)
    at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscriptio]]></exception><inPayload><![CDATA[<CRAVitalEvent>
    <Code/>
    <RecordTypeCode/>
    <Year/>
    <PlaceOfOccurrence>
    <City/>
    <CountryCode/>
    <ProvinceCode/>
    </PlaceOfOccurrence>
    <RegistrationNumber/>
    <AmendmentDate/>
    <Birth>
    <Child>
    <Name>
    <Surname/>
    <First/>
    <Second/>
    <Third/>
    </Name>
    <BirthDate/>
    <GenderCode/>
    </Child>
    <Mother>
    <Name>
    <MaidenName/>
    <Surname/>
    <First/>
    <Second/>
    <Third/>
    </Name>
    <SIN/>
    <BirthDate/>
    <BirthPlace>
    <ProvinceCode/>
    </BirthPlace>
    <UsualResidence>
    <StreetAddress/>
    <City/>
    <ProvinceCode/>
    <CountryCode/>
    <PostalCode/>
    </UsualResidence>
    </Mother>
    </Birth>
    </CRAVitalEvent>
    ]]></inPayload><retryable>false</retryable></activityMessage></activityMessages>"
    at oracle.tip.esb.monitor.manager.ActivityMessageReceiver.handleMessage(ActivityMessageReceiver.java:96)
    at oracle.tip.esb.server.dispatch.agent.ESBWork.process(ESBWork.java:178)
    at oracle.tip.esb.server.dispatch.agent.ESBWork.run(ESBWork.java:132)
    at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
    at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
    at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:825)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.tip.esb.monitor.MonitorException: Due to the error "ORA-00904: "REQUEST_HEADER": invalid identifier
    ", the activity message could not be stored.
    at oracle.tip.esb.monitor.manager.database.AbstractFaultPersister.persist(AbstractFaultPersister.java:107)
    at oracle.tip.esb.monitor.manager.database.DBActivityMessageStore.persistMessage(DBActivityMessageStore.java:340)
    at oracle.tip.esb.monitor.manager.database.DBActivityMessageStore.store(DBActivityMessageStore.java:131)
    at oracle.tip.esb.monitor.manager.ActivityMessageReceiver.handleMessage(ActivityMessageReceiver.java:83)
    ... 7 more
    Caused by: java.sql.SQLException: ORA-00904: "REQUEST_HEADER": invalid identifier
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
    at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:633)
    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.oc4j.sql.proxy.PreparedStatementBCELProxy.executeUpdate(PreparedStatementBCELProxy.java:37)
    at oracle.tip.esb.monitor.manager.database.oracle.OracleFaultPersister.persist(OracleFaultPersister.java:137)
    at oracle.tip.esb.monitor.manager.database.AbstractFaultPersister.persist(AbstractFaultPersister.java:105)
    ... 10 more

    an updated output of the diagnostics logs are here:
    Throwing back the main exception PCRetriableResourceExceptionGeneric error.
    oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: An unhandled exception has been thrown in the ESB system.
    The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: esb:///ESB_Projects/ESBApplication_VitalStatsESBCRAProject/CRABirthSendebMS.wsdl
    [ Enqueue_ptt::Enqueue(CRAVitalEvent) ] - WSIF JCA Execute of operation 'Enqueue' failed due to: CCI Local Transaction COMMIT failed.
    CCI Local Transaction COMMIT failed due to: SQL Error performing commit().
    ; nested exception is:
    ORABPEL-11901
    CCI Local Transaction COMMIT failed.
    CCI Local Transaction COMMIT failed due to: SQL Error performing commit().
    Please examine the log file to determine the problem.
    at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:644)
    at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeInputOnlyOperation(WSIFOperation_JCA.java:739)
    at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(WSIFInvoker.java:894)
    at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:810)
    at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:832)
    at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(OutboundAdapterService.java:223)
    at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(OutboundAdapterService.java:135)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(InitialEventDispatcher.java:406)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:164)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1988)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1467)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:205)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:136)
    at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:309)
    at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:545)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:527)
    at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:160)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1988)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1467)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:205)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:136)
    at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:309)
    at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:545)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:527)
    at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:160)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1988)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1467)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:205)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:136)
    at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:309)
    at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:545)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:527)
    at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:160)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1988)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1467)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:119)
    at oracle.tip.esb.server.service.EsbRouterSubscription.processOperationResponse(EsbRouterSubscription.java:483)
    at oracle.tip.esb.server.service.EsbRouterSubscription.processEventResponse(EsbRouterSubscription.java:418)
    at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:321)
    at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:545)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:527)
    at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:160)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1988)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1467)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:205)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:136)
    at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:309)
    at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:545)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:527)
    at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:160)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1988)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1467)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:119)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:65)
    at oracle.tip.esb.server.service.impl.inadapter.ESBListenerImpl.processMessage(ESBListenerImpl.java:702)
    at oracle.tip.esb.server.service.impl.inadapter.ESBListenerImpl.onMessage(ESBListenerImpl.java:395)
    at oracle.tip.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:307)
    at oracle.tip.adapter.db.InboundWork.onMessageImpl(InboundWork.java:1476)
    at oracle.tip.adapter.db.InboundWork.onMessage(InboundWork.java:1395)
    at oracle.tip.adapter.db.InboundWork.transactionalUnit(InboundWork.java:1349)
    at oracle.tip.adapter.db.InboundWork.runOnce(InboundWork.java:575)
    at oracle.tip.adapter.db.InboundWork.run(InboundWork.java:475)
    at oracle.tip.adapter.db.inbound.InboundWorkWrapper.run(InboundWorkWrapper.java:43)
    at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
    at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
    at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:830)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: ORABPEL-11901
    CCI Local Transaction COMMIT failed.
    CCI Local Transaction COMMIT failed due to: SQL Error performing commit().
    Please examine the log file to determine the problem.
    at oracle.tip.adapter.aq.AQCciLocalTransactionImpl.commit(AQCciLocalTransactionImpl.java:89)
    at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:515)
    ... 77 more
    at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(WSIFInvoker.java:1015)
    at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:810)
    at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:832)
    at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(OutboundAdapterService.java:223)
    at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(OutboundAdapterService.java:135)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(InitialEventDispatcher.java:406)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:164)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1988)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1467)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:205)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:136)
    at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:309)
    at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:545)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:527)
    at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:160)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1988)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1467)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:205)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:136)
    at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:309)
    at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:545)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:527)
    at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:160)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1988)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1467)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:205)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:136)
    at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:309)
    at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:545)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:527)
    at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:160)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1988)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1467)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:119)
    at oracle.tip.esb.server.service.EsbRouterSubscription.processOperationResponse(EsbRouterSubscription.java:483)
    at oracle.tip.esb.server.service.EsbRouterSubscription.processEventResponse(EsbRouterSubscription.java:418)
    at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:321)
    at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:545)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:527)
    at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:160)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1988)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1467)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:205)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:136)
    at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:309)
    at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:545)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:527)
    at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:160)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1988)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1467)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:119)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:65)
    at oracle.tip.esb.server.service.impl.inadapter.ESBListenerImpl.processMessage(ESBListenerImpl.java:702)
    at oracle.tip.esb.server.service.impl.inadapter.ESBListenerImpl.onMessage(ESBListenerImpl.java:395)
    at oracle.tip.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:307)
    at oracle.tip.adapter.db.InboundWork.onMessageImpl(InboundWork.java:1476)
    at oracle.tip.adapter.db.InboundWork.onMessage(InboundWork.java:1395)
    at oracle.tip.adapter.db.InboundWork.transactionalUnit(InboundWork.java:1349)
    at oracle.tip.adapter.db.InboundWork.runOnce(InboundWork.java:575)
    at oracle.tip.adapter.db.InboundWork.run(InboundWork.java:475)
    at oracle.tip.adapter.db.inbound.InboundWorkWrapper.run(InboundWorkWrapper.java:43)
    at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
    at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
    at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:830)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: org.collaxa.thirdparty.apache.wsif.WSIFException: esb:///ESB_Projects/ESBApplication_VitalStatsESBCRAProject/CRABirthSendebMS.wsdl
    [ Enqueue_ptt::Enqueue(CRAVitalEvent) ] - WSIF JCA Execute of operation 'Enqueue' failed due to: CCI Local Transaction COMMIT failed.
    CCI Local Transaction COMMIT failed due to: SQL Error performing commit().
    ; nested exception is:
    ORABPEL-11901
    CCI Local Transaction COMMIT failed.
    CCI Local Transaction COMMIT failed due to: SQL Error performing commit().
    Please examine the log file to determine the problem.
    at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:644)
    at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeInputOnlyOperation(WSIFOperation_JCA.java:739)
    at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(WSIFInvoker.java:894)
    ... 75 more
    Caused by: ORABPEL-11901
    CCI Local Transaction COMMIT failed.
    CCI Local Transaction COMMIT failed due to: SQL Error performing commit().
    Please examine the log file to determine the problem.
    at oracle.tip.adapter.aq.AQCciLocalTransactionImpl.commit(AQCciLocalTransactionImpl.java:89)
    at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:515)
    ... 77 more
    [Caused by: CCI Local Transaction COMMIT failed.
        CCI Local Transaction COMMIT failed due to: SQL Error performing commit().
        Please examine the log file to determine the problem.
    Please create a Service Request with Oracle Support.
    ORABPEL-12600
    Generic error.
    oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: An unhandled exception has been thrown in the ESB system.
    The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: esb:///ESB_Projects/ESBApplication_VitalStatsESBCRAProject/CRABirthSendebMS.wsdl
    [ Enqueue_ptt::Enqueue(CRAVitalEvent) ] - WSIF JCA Execute of operation 'Enqueue' failed due to: CCI Local Transaction COMMIT failed.
    CCI Local Transaction COMMIT failed due to: SQL Error performing commit().
    ; nested exception is:
    ORABPEL-11901
    CCI Local Transaction COMMIT failed.
    CCI Local Transaction COMMIT failed due to: SQL Error performing commit().
    Please examine the log file to determine the problem.
    at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:644)
    at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeInputOnlyOperation(WSIFOperation_JCA.java:739)
    at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(WSIFInvoker.java:894)
    at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:810)
    at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:832)
    at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(OutboundAdapterService.java:223)
    at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(OutboundAdapterService.java:135)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(InitialEventDispatcher.java:406)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:164)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1988)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1467)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:205)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:136)
    at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:309)
    at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:545)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:527)
    at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:160)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1988)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1467)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:205)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:136)
    at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:309)
    at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:545)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:527)
    at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:160)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1988)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1467)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:205)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:136)
    at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:309)
    at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:545)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:527)
    at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:160)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1988)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1467)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:119)
    at oracle.tip.esb.server.service.EsbRouterSubscription.processOperationResponse(EsbRouterSubscription.java:483)
    at oracle.tip.esb.server.service.EsbRouterSubscription.processEventResponse(EsbRouterSubscription.java:418)
    at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:321)
    at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:545)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:527)
    at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:160)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1988)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1467)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:205)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:136)
    at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:309)
    at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:545)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:527)
    at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:160)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1988)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1467)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:119)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:65)
    at oracle.tip.esb.server.service.impl.inadapter.ESBListenerImpl.processMessage(ESBListenerImpl.java:702)
    at oracle.tip.esb.server.service.impl.inadapter.ESBListenerImpl.onMessage(ESBListenerImpl.java:395)
    at oracle.tip.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:307)
    at oracle.tip.adapter.db.InboundWork.onMessageImpl(InboundWork.java:1476)
    at oracle.tip.adapter.db.InboundWork.onMessage(InboundWork.java:1395)
    at oracle.tip.adapter.db.InboundWork.transactionalUnit(InboundWork.java:1349)
    at oracle.tip.adapter.db.InboundWork.runOnce(InboundWork.java:575)
    at oracle.tip.adapter.db.InboundWork.run(InboundWork.java:475)
    at oracle.tip.adapter.db.inbound.InboundWorkWrapper.run(InboundWorkWrapper.java:43)
    at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
    at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
    at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:830)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: ORABPEL-11901
    CCI Local Transaction COMMIT failed.
    CCI Local Transaction COMMIT failed due to: SQL Error performing commit().
    Please examine the log file to determine the problem.

  • DBMS_BLOB: ORA-22297: warning: Open LOBs exist at transaction commit time

    Hello
    I've written this to get to understand BLOBS. I had intended it to take a VARCHAR2 string, convert it to RAW and write the contents to a blob.
    However, DBMS_LOB.Write()) returns the error message "ORA-22297: warning: Open LOBs exist at transaction commit time". Can somebody put me right? Just why is this being returned?
    Thanks in advance, Aidan
    INSERT INTO BINARY (PK ,
    BLOBDATA )
    VALUES (1 ,
    Empty_Blob());                         
    /* Lock the row. */
    SELECT BLOBDATADATA INTO V_Blob FROM BINARY WHERE PK = 1 FOR UPDATE;                                             
    /* Open the Lob. */
    DBMS_LOB.OPEN (V_Blob, DBMS_LOB.LOB_READWRITE);
    DBMS_LOB.WRITE (V_Blob ,
    V_Length ,
         V_Offset ,
    UTL_RAW.CAST_TO_RAW (p_Data));
    DBMS_LOB.CLOSE (V_Blob);

    I get the abocve error when running using the GUI
    when running from command prompt i get the following
    begin
       -- Remove Application
    wwv_flow_api.remove_flow(nvl(wwv_flow_application_install.get_application_id,99000));
    end;
    ORA-20001: Package variable g_security_group_id must be set.
    ORA-06512: at "APEX_040200.WWV_FLOW_API", line 998
    ORA-06512: at "APEX_040200.WWV_FLOW_API", line 1569
    ORA-06512: at line 5
    I am assuming there are some permissions problems
    I have DBA role in Database
    We are on databasae > 11 (11.0.2 i think)
    My database DBA installed 4.2.2 but does know APEX real well he installed becasue he has SYS password which I am not privy to.
    I was able to install Pacakaged appliaction.
    Kind of Lost from Here.......
    I am assuming i have a permissions error
    I have DBA role in Database

  • Bapis not visible in BAPI transaction

    Hi,
    there are certain bapi's such as for ibas, pricing, product catalog which are not visible in BAPI transaction. Can anyone let me know what needs to be checked or is there at someplace I need to register those BAPI's or is tere some process that needs to be done to make them visible over there. Please reply urgently.
    Thanks in advance

    Hi Pravesh
    A BAPI is at heart an RFC function module, but to be released as a BAPI it must meet certain criteria such as being documented, being a released method of a BOR object, etc.
    Only then will it appear in the BAPI browser.
    Only SAP can release their own BAPI's.
    You could build your own BAPI's and implement them as method of your own subclassed BOR objects, using the SAP function modules as the core.
    The SAP documentation should be very helpful. Try googling for:
    site:help.sap.com BAPI
    Cheers
    Dom

  • CCI Local Transaction COMMIT failed due to: ERRJMS_COMMIT_FAIL.

    Dear All,
    I am using a JMS adapter in my BPEL Process. and was getting the following error in the Audit Instance:
    file:/u03/soauser/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_DiaryQuery_1.0_1f16ddcb57197b9c85f6b130f580956d.tmp/DiaryQueryMergedReqResp.wsdl [ DiaryQueryMsgProduce_ptt::DiaryQueryMsgProduce(DiaryQueryRequest) ] - WSIF JCA Execute of operation 'DiaryQueryMsgProduce' failed due to: ERRJMS_TRX_COMMIT.
    CCI Local Transaction COMMIT failed due to: ERRJMS_COMMIT_FAIL.
    Unable to commit transaction.
    Please examine the log file to determine the problem.
    ; nested exception is:
         ORABPEL-12101
    ERRJMS_TRX_COMMIT.
    CCI Local Transaction COMMIT failed due to: ERRJMS_COMMIT_FAIL.
    Unable to commit transaction.
    What could be the problem for this. How can I fix this..
    Please update....
    Many Thanks in advance...

    In the JMS configuration (oc4j-ra.xml), set the following property to false:
    <config-property name="isTransacted" value="false"/>

  • DTW Transaction Commit Unsuccessful

    Hi All,
    I'm using DTW version 2005.0.29.  When I tried to import transaction, it gave me error message "Transaction Commit Unsuccessful".  I would like to know what's causes it.
    Regards,
    Foong Yee

    Hi Foong,
    Here is the solution from SAP note:
    DTW 2005.0.27: Handling a Transaction Commit Failure
    Symptom
    If a transaction commit operation is unsuccessful, for example, the stored procedure SBO_SP_TransactionNotification failure leads to a failed transaction commit, Data Transfer Workbench shows a successful import, even though the data has not been imported.
    Other terms
    DTW, Data Transfer Workbench, B1, SAP Business One, Transaction, Commit
    Reason and Prerequisites
    Bug
    Solution
    An upgrade to DTW2005.0.27 includes this functionality. If a transaction commit operation is unsuccessful, Data Transfer Workbench shows the import as failed and generates an error message.
    Based on the note above, I think it is a bug of DTW you are currently using. I suggest to upgrade the DTW version including the DI API version so that the DTW can run.
    Rgds,
    JimM

  • Ejb3 isolated (autonomus) transaction/commit

    I'm using XA (2-phase) transaction. I want to log to one log-table through Log class and Entity Manager. My method inside EJB Session bean looks like:
    private void logError(Throwable throwable) {
        LogEntity logEntity = new LogEntity();
        // Set everything
        entityManager.persist(logEntity);
        entityManager.flush();
    }I want to it in isolated (autonomous) transaction independent of any "outer" transaction. I have already tried to add @TransactionAttribute(value = TransactionAttributeType.REQUIRES_NEW) and @TransactionAttribute(value = TransactionAttributeType.NOT_SUPPORTED) before method name and does not work.
    Before I call EJB3 method I create user transaction like:
    try {
        UserTransaction transaction = (UserTransaction)context.lookup("javax.transaction.UserTransaction");
        transaction.begin();
        // Call EJB3 method
        transaction.commit();
    } catch (Throwable t) {
        t.printStackTrace();
        try {
            transaction.rollback();
        } catch (SystemException e) {
            e.printStackTrace();
    }I want to Log no matter if commit is done or rollback is done or none. How to? I have already tried to add annotation TransactionAttribute like TransactionAttributeType.NOT_SUPPORTED. Also tried al other values for TransactionAttribute, but without luck.
    Regards

    {forum:id=972} seems like a better place for your question

  • Can we disable implicit DB commit in JCO RFC function call?

    I called RFC function provided by ABAP from JCo connection, found that each RFC function is a db LUW itself. All the db access sql in RFC function is implicit commited.
    Till now, to wrap the db access sql in seperate "Update function module" or "Perform on commit" seems to be a choice for me (like most BAPI doing so). But is it the only choice?
    The point is, can we disable(or bypass) the implicit DB commit while calling a RFC function from JCo connection?

    Hi Guru,
    Yes you approach is correct, make sure commit/rollback is possible only when a change is/was made in database.
    Go through these links will be helpful,
    BAPI_TRANSACTION_COMMIT with Web AS/SOAP Interface
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/d352a790-0201-0010-5082-b1a608d22b6c
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/d352a790-0201-0010-5082-b1a608d22b6c
    Hope that solves your problem.
    Thanks & Regards,
    Kathirvel

  • Create WS from BAPI with Commit

    Hi,
    We tried to create a WebService that uses a BAPI to post an Account and after a successfull post do the commit to store the data permanently in the system.
    The service itself is no problem, but we found no option to set the transaction values for commit or anything else.
    In the TX SOAMANAGER these values are displayed for a service, but there were no possibilities to change them. The BAPI itself does not contain the commit...
    Any ideas where to find this config? Is there a solution without using PI and creating a proxy for the BAPI?
    Thanks in advance,
    Felix

    Hello,
    Looking at
    Web Services-Based Connectivity
    I saw:
    Can you realize "transactional" behavior with Web services, that is, combine several RFC calls?
    Yes. To include several RFCs (and BAPI_TRANSACTION_COMMIT) in one Web service, use the WS Creation Wizard and select Function Group as the WS endpoint. When creating the service definition and choose (or add if not already included) the RFCs you want to use. Also, manually add BAPI_TRANSACTION_COMMIT and BAPI_TRANSACTION_ROLLBACK. Finish creating the Web service. Finally, set the Web service communication to Stateful in the Web service definition.
    Would it work? Can anybody explain me how to achieve this, if possible? I can't believe it's so easy because I posted a similar question and I got the wrapper answer from people that seemed to know their business.
    Thanks in advance,
    jmiturbe

  • Connection is closed after transaction commit

    WebLogic 10.3.0.0, Oracle 10gXE, JPA is provided by EclipseLink v1.1.2.v20090612-r4475.
    Transactions are managed by WLS.
    There is a stateless bean
    @Stateless()
    @TransactionAttribute(TransactionAttributeType.REQUIRED)
    @TransactionManagement(value = TransactionManagementType.CONTAINER)
    public class ServiceFacadeBean
    @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
    public void processResponse(....){
    //operations with DB
    which is instantiated by two concurrent threads.
    After one of the threads commits transaction, the other finds connection (or just statement) closed. For instance,
    ####<03.02.2010 10:10:04 MSK> <Notice> <Stdout> <spbnb-prc32> <AdminServer> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1265181004591> <BEA-000000> <[EL Finer]: 2010-02-03 10:10:04.591--UnitOfWork(10135841)--Thread(Thread[[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--TX afterCompletion callback, status=COMMITTED>
    ####<03.02.2010 10:10:04 MSK> <Notice> <Stdout> <spbnb-prc32> <AdminServer> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1265181004591> <BEA-000000> <[EL Finer]: 2010-02-03 10:10:04.591--UnitOfWork(10135841)--Thread(Thread[[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--end unit of work commit>
    ####<03.02.2010 10:10:04 MSK> <Notice> <Stdout> <spbnb-prc32> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1265181004607> <BEA-000000> <[EL Warning]: 2010-02-03 10:10:04.591--UnitOfWork(10135841)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Local Exception Stack:
    Exception [EclipseLink-4002] (Eclipse Persistence Services - 1.1.2.v20090612-r4475): org.eclipse.persistence.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: Statement has already been closed
    Error Code: 0
    Call: UPDATE TASK SET TSK_RESULT = ?, TSK_PROCESS_STATE = ?, TSK_END_TS = ?, TSK_CREATE_TS = ?, TSK_CHANGE_TS = ? WHERE (TSK_ID = ?)
         bind => [<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    , 4, 2010-02-03 10:10:04.435, 2010-02-03 10:10:04.435, 2010-02-03 10:10:04.435, 41]
    Query: UpdateObjectQuery(com.tsystems.tenergy.smp.mds.persistence.domain.Task@7bc43e)
         at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:332)
         at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:656)
         at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:501)
         at org.eclipse.persistence.internal.sessions.AbstractSession.executeCall(AbstractSession.java:872)
         at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:205)
         at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:191)
         at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.updateObject(DatasourceCallQueryMechanism.java:686)
         at org.eclipse.persistence.internal.queries.StatementQueryMechanism.updateObject(StatementQueryMechanism.java:430)
         at org.eclipse.persistence.internal.queries.DatabaseQueryMechanism.updateObjectForWriteWithChangeSet(DatabaseQueryMechanism.java:1135)
         at org.eclipse.persistence.queries.UpdateObjectQuery.executeCommitWithChangeSet(UpdateObjectQuery.java:84)
         at org.eclipse.persistence.internal.queries.DatabaseQueryMechanism.executeWriteWithChangeSet(DatabaseQueryMechanism.java:286)
         at org.eclipse.persistence.queries.WriteObjectQuery.executeDatabaseQuery(WriteObjectQuery.java:58)
         at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:664)
         at org.eclipse.persistence.queries.DatabaseQuery.executeInUnitOfWork(DatabaseQuery.java:583)
         at org.eclipse.persistence.queries.ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery(ObjectLevelModifyQuery.java:109)
         at org.eclipse.persistence.queries.ObjectLevelModifyQuery.executeInUnitOfWork(ObjectLevelModifyQuery.java:86)
         at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2756)
         at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1181)
         at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1165)
         at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1125)
         at org.eclipse.persistence.internal.sessions.CommitManager.commitChangedObjectsForClassWithChangeSet(CommitManager.java:232)
         at org.eclipse.persistence.internal.sessions.CommitManager.commitAllObjectsForClassWithChangeSet(CommitManager.java:163)
         at org.eclipse.persistence.internal.sessions.CommitManager.commitAllObjectsWithChangeSet(CommitManager.java:116)
         at org.eclipse.persistence.internal.sessions.AbstractSession.writeAllObjectsWithChangeSet(AbstractSession.java:3175)
         at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.commitToDatabase(UnitOfWorkImpl.java:1299)
         at org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.commitToDatabase(RepeatableWriteUnitOfWork.java:469)
         at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.commitToDatabaseWithChangeSet(UnitOfWorkImpl.java:1399)
         at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.issueSQLbeforeCompletion(UnitOfWorkImpl.java:3023)
         at org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.issueSQLbeforeCompletion(RepeatableWriteUnitOfWork.java:224)
         at org.eclipse.persistence.transaction.AbstractSynchronizationListener.beforeCompletion(AbstractSynchronizationListener.java:157)
         at org.eclipse.persistence.transaction.JTASynchronizationListener.beforeCompletion(JTASynchronizationListener.java:68)
         at weblogic.transaction.internal.ServerSCInfo.doBeforeCompletion(ServerSCInfo.java:1217)
         at weblogic.transaction.internal.ServerSCInfo.callBeforeCompletions(ServerSCInfo.java:1195)
         at weblogic.transaction.internal.ServerSCInfo.startPrePrepareAndChain(ServerSCInfo.java:118)
         at weblogic.transaction.internal.ServerTransactionImpl.localPrePrepareAndChain(ServerTransactionImpl.java:1302)
         at weblogic.transaction.internal.ServerTransactionImpl.globalPrePrepare(ServerTransactionImpl.java:2114)
         at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:263)
         at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:230)
         at weblogic.ejb.container.internal.BaseRemoteObject.postInvoke1(BaseRemoteObject.java:621)
         at weblogic.ejb.container.internal.StatelessRemoteObject.postInvoke1(StatelessRemoteObject.java:60)
         at weblogic.ejb.container.internal.BaseRemoteObject.postInvokeTxRetry(BaseRemoteObject.java:441)
         at com.tsystems.tenergy.smp.mds.service.impl.MDSServiceFacadeBean_dv9pfe_MDSServiceFacadeImpl.processMCSResponse(MDSServiceFacadeBean_dv9pfe_MDSServiceFacadeImpl.java:243)
         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 weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:69)
         at $Proxy174.processMCSResponse(Unknown Source)
         at com.tsystems.tenergy.smp.mds.access.impl.MCSResponseProcessor.processMessage(MCSResponseProcessor.java:44)
         at com.tsystems.tenergy.smp.mds.access.MDSJMSServiceAdaptor.handleMessage(MDSJMSServiceAdaptor.java:41)
         at com.tsystems.tenergy.smp.common.access.impl.AbstractJMSServiceAdaptor.onMessage(AbstractJMSServiceAdaptor.java:55)
         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.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:126)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:114)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:126)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:114)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
         at $Proxy194.onMessage(Unknown Source)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4547)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:4233)
         at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3709)
         at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5058)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.sql.SQLException: Statement has already been closed
         at weblogic.jdbc.wrapper.Statement.checkStatement(Statement.java:305)
         at weblogic.jdbc.wrapper.Statement.preInvocationHandler(Statement.java:116)
         at weblogic.jdbc.wrapper.PreparedStatement_weblogic_jdbc_base_BasePreparedStatement.getWarnings(Unknown Source)
         at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:638)
         ... 77 more>
    I would be very thankful for any help... I'm fighting with the bug already 4 days but there is still no result.....

    You need to make sure all your JDBC objects are method-level, not class or instance variables.
    Otherwise you may have two threads trying to use the same connection or statement, and
    the first one to complete a transaction may cause the connection and it's subobjects to
    be closed.

  • Transaction commit in database adapter

    Hi,
    When the commit happens when a database adapter inserts a record.
    I have two invoke process one is db adapter to insert records and second the db adapter to call the procedure to update the records inserted by first adapter, but will the records will be visible in the second adapter.
    Please advice, thanks in advance.
    Regards,
    SReejit

    Yes because it is one transaction, therfore you can roll back if the second fails.
    But if you perform a dehydration, e.g. wait, human task, receive activity then the first insert will be committed. so you will not be able to roll back. You will need to use a compensate activity.
    cheers
    James

Maybe you are looking for