Transaction rolled back......soa 11g

I have a bpel process 1 which calls bpel process 2. Bpel process 2 is a file write. In my instance bpel process 2 is called and the file is written successfully. but bpel process 1 gets errored out with no errors being displayed. The bpel process 1 has a red colour at the point where it invokes the child process. and also a line saying transaction rolled back.
But there is no error in the child process instance
Please do suggest me the solution.

The issue may be due to the transaction timeout, verify the configured timeouts and the processing time of the process B.
Try increasing Sync Max Time Out and the other timeouts accordingly and test it.
Refer the below URL for the details of configuring the timeouts.
http://www.albinsblog.com/2011/11/oracle-soa-11g-configure-transaction_20.html
Regards
Albin I

Similar Messages

  • Remote or transactional roll back exception

    Hi All,
    I have deployed CMP2 entity bean to SUN ONE with Oracle as DB. There is no problem while retrieving/updating values to the table. But throws following
    exception while adding values to the table.
    Exception from the server log is below:
    SEVERE: EJB5071: Some remote or transactional roll back exception occurred
    com.sun.jdo.api.persistence.support.JDOFatalInternalException: Got an unknown ex
    ception.
    NestedException: java.lang.NullPointerException
    at com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.updatePe
    rsistent(Unknown Source)
    at com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerI
    mpl.beforeCompletion(Unknown Source)
    at com.sun.jdo.spi.persistence.support.sqlstore.impl.TransactionImpl.not
    ifyBeforeCompletion(Unknown Source)
    at com.sun.jdo.spi.persistence.support.sqlstore.impl.TransactionImpl.com
    mitBefore(Unknown Source)
    at com.sun.jdo.spi.persistence.support.sqlstore.impl.TransactionImpl.bef
    oreCompletion(Unknown Source)
    at com.sun.ejb.containers.ContainerSynchronization.beforeCompletion(Unkn
    own Source)
    at com.sun.enterprise.distributedtx.J2EETransaction.commit(Unknown Sourc
    e)
    at com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.commit(Unk
    nown Source)
    at com.sun.ejb.containers.BaseContainer.completeNewTx(Unknown Source)
    at com.sun.ejb.containers.BaseContainer.postInvokeTx(Unknown Source)
    at com.sun.ejb.containers.BaseContainer.postInvoke(Unknown Source)
    at com.siptech.pdf.ejb.config.session.ConfigSessionBean_EJBObjectImpl.se
    tCountry(ConfigSessionBean_EJBObjectImpl.java:558)
    at com.siptech.pdf.ejb.config.session._ConfigSessionBean_EJBObjectImpl_T
    ie._invoke(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(Un
    known Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(Unk
    nown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(Unknown Sou
    rce)
    at com.sun.corba.ee.internal.iiop.ORB.process(Unknown Source)
    at com.sun.corba.ee.internal.iiop.RequestProcessor.process(Unknown Sourc
    e)
    at com.iplanet.ias.corba.ee.internal.iiop.ServicableWrapper.service(Unkn
    own Source)
    at com.iplanet.ias.util.threadpool.FastThreadPool$ThreadPoolThread.run(U
    nknown Source)
    at java.lang.Thread.run(Thread.java:536)
    WARNING: CORE3283: stderr: java.lang.NullPointerException
    WARNING: CORE3283: stderr: at com.sun.jdo.spi.persistence.support.sqlstore.
    sql.generator.UpdateQueryPlan.addConstraint(Unknown Source)
    WARNING: CORE3283: stderr: at com.sun.jdo.spi.persistence.support.sqlstore.
    sql.generator.UpdateQueryPlan.addBasetableConstraint(Unknown Source)
    WARNING: CORE3283: stderr: at com.sun.jdo.spi.persistence.support.sqlstore.
    sql.generator.UpdateQueryPlan.processStatements(Unknown Source)
    WARNING: CORE3283: stderr: at com.sun.jdo.spi.persistence.support.sqlstore.
    sql.generator.UpdateQueryPlan.build(Unknown Source)
    WARNING: CORE3283: stderr: at com.sun.jdo.spi.persistence.support.sqlstore.
    model.ClassDesc.getUpdateQueryPlanForUpdate(Unknown Source)
    WARNING: CORE3283: stderr: at com.sun.jdo.spi.persistence.support.sqlstore.
    model.ClassDesc.getUpdateQueryPlan(Unknown Source)
    WARNING: CORE3283: stderr: at com.sun.jdo.spi.persistence.support.sqlstore.
    SQLStoreManager.executeBatch(Unknown Source)
    WARNING: CORE3283: stderr: at com.sun.jdo.spi.persistence.support.sqlstore.
    SQLStateManager.updatePersistent(Unknown Source)
    WARNING: CORE3283: stderr: at com.sun.jdo.spi.persistence.support.sqlstore.
    impl.PersistenceManagerImpl.beforeCompletion(Unknown Source)
    WARNING: CORE3283: stderr: at com.sun.jdo.spi.persistence.support.sqlstore.
    impl.TransactionImpl.notifyBeforeCompletion(Unknown Source)
    WARNING: CORE3283: stderr: at com.sun.jdo.spi.persistence.support.sqlstore.
    impl.TransactionImpl.commitBefore(Unknown Source)
    WARNING: CORE3283: stderr: at com.sun.jdo.spi.persistence.support.sqlstore.
    impl.TransactionImpl.beforeCompletion(Unknown Source)
    WARNING: CORE3283: stderr: at com.sun.ejb.containers.ContainerSynchronizati
    on.beforeCompletion(Unknown Source)
    WARNING: CORE3283: stderr: at com.sun.enterprise.distributedtx.J2EETransact
    ion.commit(Unknown Source)
    WARNING: CORE3283: stderr: at com.sun.enterprise.distributedtx.J2EETransact
    ionManagerOpt.commit(Unknown Source)
    WARNING: CORE3283: stderr: at com.sun.ejb.containers.BaseContainer.complete
    NewTx(Unknown Source)
    WARNING: CORE3283: stderr: at com.sun.ejb.containers.BaseContainer.postInvo
    keTx(Unknown Source)
    WARNING: CORE3283: stderr: at com.sun.ejb.containers.BaseContainer.postInvo
    ke(Unknown Source)
    WARNING: CORE3283: stderr: at com.siptech.pdf.ejb.config.session.ConfigSess
    ionBean_EJBObjectImpl.setCountry(ConfigSessionBean_EJBObjectImpl.java:558)
    WARNING: CORE3283: stderr: at com.siptech.pdf.ejb.config.session._ConfigSes
    sionBean_EJBObjectImpl_Tie._invoke(Unknown Source)
    WARNING: CORE3283: stderr: at com.sun.corba.ee.internal.POA.GenericPOAServe
    rSC.dispatchToServant(Unknown Source)
    WARNING: CORE3283: stderr: at com.sun.corba.ee.internal.POA.GenericPOAServe
    rSC.internalDispatch(Unknown Source)
    WARNING: CORE3283: stderr: at com.sun.corba.ee.internal.POA.GenericPOAServe
    rSC.dispatch(Unknown Source)
    WARNING: CORE3283: stderr: at com.sun.corba.ee.internal.iiop.ORB.process(Un
    known Source)
    WARNING: CORE3283: stderr: at com.sun.corba.ee.internal.iiop.RequestProcess
    or.process(Unknown Source)
    WARNING: CORE3283: stderr: at com.iplanet.ias.corba.ee.internal.iiop.Servic
    ableWrapper.service(Unknown Source)
    WARNING: CORE3283: stderr: at com.iplanet.ias.util.threadpool.FastThreadPoo
    l$ThreadPoolThread.run(Unknown Source)
    WARNING: CORE3283: stderr: at java.lang.Thread.run(Thread.java:536)
    Thanks,
    Muthu.

    Hi Muthu,
    from looking into SQLStateManager.updatePersistent, I doubt that we can run into an NPE here.
    Can you please send us the entire log file? BTW: It would be much easier for me to help you, if I could see line the numbers in the stack trace. Would it be possible for you to get an non
    optimized build and rerun your application?
    Thank you,
    -- markus.

  • Error: [129]: transaction rolled back by an internal error:  [129] transaction rolled back by an internal error: exception 141000274: exception 141000274: TRexUtils/ParallelDispatcher.cpp:275 message not found; $message$=

    Hello Gurus,
    I have a couple of calculation views in HANA and each of them has text fields (like Employee Name, Country Name etc.).
    As part of my project requirement, I have join those two views and get all the fields that exist in them.
    When I am doing so, I am getting a weird error as shown below.
    Error: [129]: transaction rolled back by an internal error:  [129] transaction rolled back by an internal error: exception 141000274: exception 141000274:
    TRexUtils/ParallelDispatcher.cpp:275
    message not found; $message$='TSR HTKD JFSDFM'
    Please check lines: 59,
    Upon, researching further, I could see that the value 'TSR HTKD JFSDFM' is the value in text field of Employee Name.
    I did try to increase the length of the field and change the data types but nothing has worked.
    Could you please help me in getting this one resolved.
    Thanks,
    Raviteja

    Hi,
    I am exactly facing the same issue:
    Error: [129]: transaction rolled back by an internal error:  [129] transaction rolled back by an internal error: exception 141000274:
    But i found a fix :-) .....
    This may be a very late reply but it would help people who desperately searching for an answer for this issue.
    I used CAST function .. The problem is, we are selecting data from table and of course we dont know the size of the data (attribute) @ runtime. We assign the length by looking at the table attr length or view op attr length. But what happens is the junk data which exceeds the limit of the allocated space hence we get this error.
    So i used CAST function to truncate the excess junk values (may be spaces).
    Example:
    I have a ATTR view of date in the format YYYY-MM-DD which means 10 char size.
    In my CALC view I have created date OP column of VARCHAR(10) but I get the above error for no reason. Eventhoug i am 100% sure about my ATTR date would be max of 10 char my CALC view is failing @ runtime.
    So i did a CAST on date as CAST(my_date as varchar(10)) and the magic happend. It works .......
    But you need to be careful in using this because if you use CAST you may lose data. Careful. In my case i dont.
    Somebody from HANA team should look at this issue from SAP and solve this. I am sure it is a serious bug from HANA (eventhough i am using SAP HANA SP09 Rev 92 the most latest as of today !!!!!!!!!! )
    Enjoy....
    Thanks & Regards
    Prakash K

  • Remote or transactional roll back exception occurred

    Hi,
    I am getting this message, anybody could help me?
    SEVERE ( 1166): EJB5071: Some remote or transactional roll back exception occurred
    com.sun.jdo.api.persistence.support.JDOFatalInternalException: Got an unknown exception.
    NestedException: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
    at com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.updatePersistent(SQLStateManager.java:1012)
    at com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerImpl.beforeCompletion(PersistenceManagerImpl.java:1251)
    at com.sun.jdo.spi.persistence.support.sqlstore.impl.TransactionImpl.notifyBeforeCompletion(TransactionImpl.java:1115)
    at com.sun.jdo.spi.persistence.support.sqlstore.impl.TransactionImpl.commitBefore(TransactionImpl.java:743)
    at com.sun.jdo.spi.persistence.support.sqlstore.impl.TransactionImpl.beforeCompletion(TransactionImpl.java:646)
    at com.sun.ejb.containers.ContainerSynchronization.beforeCompletion(ContainerSynchronization.java:105)
    at com.sun.enterprise.distributedtx.J2EETransaction.commit(J2EETransaction.java:183)
    at com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.commit(J2EETransactionManagerOpt.java:310)
    at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:1786)
    at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:1585)
    at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:510)
    at br.com.inttegra.infra.businesslayer.ejb.ControllerBean_EJBObjectImpl.insert(ControllerBean_EJBObjectImpl.java:136)
    at br.com.inttegra.infra.businesslayer.ejb._ControllerBean_EJBObjectImpl_Tie._invoke(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(GenericPOAServerSC.java:569)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(GenericPOAServerSC.java:211)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAServerSC.java:113)
    at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:275)
    at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:83)
    at com.iplanet.ias.corba.ee.internal.iiop.ServicableWrapper.service(ServicableWrapper.java:25)
    at com.iplanet.ias.util.threadpool.FastThreadPool$ThreadPoolThread.run(FastThreadPool.java:283)
    at java.lang.Thread.run(Thread.java:536)

    Hi,
    Please make shure, that your sun-cmp-mappings.xml is correct. The exception in your message just indicates a problem executing a sql statement. Please look into your log file again if you could find another exception trace showing where the IndexOutOfBoundsException happens.
    Thanks,
    -- markus.

  • C#  TransactionOption.RequiresNew ORA-24761 Transaction Rolled Back

    Hi all,
    I am working on Web service in C# with VS 2005. I am using IIS 5.1, Oracle 10g.
    Problem:
    I used
    [WebMethod(TransactionOption = TransactionOption.RequireNew)]
    [AutoComplete]
    with each Web Method of web service. If something goes wrong inside the web method i use ContextUtil.SetAbort() to abort the transaction else ContextUtil.SetComplete()
    Now after getting some problem while executing a web method, next time when i call any web method oracle terminates the transaction passing error "ORA-24761 : Transaction rolled back". But if again, i try the same call, its got executed with no problem!
    Any kind of help, will be appreciated, its urgent.

    Hello,
    Do you have support with Oracle? If so, I would suggest opening an SR and reference bugs 5410059, 5353967, and 4432906. In some cases not using connection pooling has been a workaround.
    Regards,
    Mark

  • Error 131 Transaction rolled back by lock wait timeout

    Hello all,
    I was trying to run apriori, and then HANA writer in my database.
    Apriori executes directly, and then I configure and try to execute HANA Writer. But it keeps executing for more than half an hour, and then gives the following error: Error 131 Transaction rolled back by lock wait timeout. Lock timeout occurs while waiting TABLE_LOCK of mode EXCLUSIVE.
    Bimal suggested me to reduce the data to be analysed, so then I reduced it to a pretty small part and executed again.
    It gave me the same error after more than 30 minutes waiting executing.
    after having this error, I tried just execute apriori, but with a filter of 5 transactions and than it worked. After that I tried to visualize the results, and got the following error:
    It means that my HANA memory is full?
    I got the view from HANA:
    Regards!
    Error 131 Transaction rolled back by lock wait timeout 

    Hi Jurgen,
    I'm a developper for PAL from Shanghai team.
    Could you please provide some details information about this case:
    -          How many records did you use ?
    -          What’s the value of “MIN_SUPPORT” and “MIN_CONFIDENCE” did you use ?
    The algorithm of apriori will consume much memory when the input data is very large and min_support is low.
    So I suggest you set “MIN_SUPPORT” and “MIN_CONFIDENCE” as 0.9 firstly, check if it can output result.
    Thanks,
    Peng

  • Transaction rolled back by an internal error

    Hello
    I am wrting a stored procedure .
    In that i wrote a while loop.
    The Requirement is even though any exception is caught it should continue.
    If ant exception is occured I am getting the error transaction rolled back by an internal error and execution exits.
    But it should continue.
    I am not using any transactions.
    Please help me.

    Hi,
    I am exactly facing the same issue:
    Error: [129]: transaction rolled back by an internal error:  [129] transaction rolled back by an internal error: exception 141000274:
    But i found a fix :-) .....
    This may be a very late reply but it would help people who desperately searching for an answer for this issue.
    I used CAST function .. The problem is, we are selecting data from table and of course we dont know the size of the data (attribute) @ runtime. We assign the length by looking at the table attr length or view op attr length. But what happens is the junk data which exceeds the limit of the allocated space hence we get this error.
    So i used CAST function to truncate the excess junk values (may be spaces).
    Example:
    I have a ATTR view of date in the format YYYY-MM-DD which means 10 char size.
    In my CALC view I have created date OP column of VARCHAR(10) but I get the above error for no reason. Eventhoug i am 100% sure about my ATTR date would be max of 10 char my CALC view is failing @ runtime.
    So i did a CAST on date as CAST(my_date as varchar(10)) and the magic happend. It works .......
    But you need to be careful in using this because if you use CAST you may lose data. Careful. In my case i dont.
    Somebody from HANA team should look at this issue from SAP and solve this. I am sure it is a serious bug from HANA (eventhough i am using SAP HANA SP09 Rev 92 the most latest as of today !!!!!!!!!! )
    Enjoy....
    Thanks & Regards
    Prakash K

  • Help with frozen process, retry delay and transaction rolled back

    Hi all,
    </br>
    </br>
    Is there a way to create a JPD that will be able to retry a specific logic for several times with <b>delay</b> in between and <b>freeze</b> on the last retry. Also, at the same time, <b>not rollback</b> any database commits?
    </br>
    </br>
    I have tried several ways to approach this but did not work.
    </br>
    </br>
    1) create a JPD with transaction block with start node = "<b>freeze on failure</b>". Set retry count and delay in the transaction block. The outcome is, the JPD freezes, retries correctly, unfreezed properly, <b>but all DB transactions are rolled back</b>
    </br>
    </br>
    2) create a JPD without transaction block, and set start node with "<b>freeze on failure</b>", group the nodes that I would like to perform retry and in the <b>exception path</b> add in the retry count. Use <b>timer</b> in the exception path to introduct the delay. The outcome of this is: JPD freezes, retries correctly, <b>unfreezed INCORRECTLY</b> (when trying to unfreeze this process, it will start at the ontimeout method of the timer and does not start from the beginning of the jpd), DB transactions are commited correctly
    </br>
    </br>
    Any help or suggestions would be much appreciated...
    </br>
    Thanks!
    </br>
    </br>
    Carol

    The issue may be due to the transaction timeout, verify the configured timeouts and the processing time of the process B.
    Try increasing Sync Max Time Out and the other timeouts accordingly and test it.
    Refer the below URL for the details of configuring the timeouts.
    http://www.albinsblog.com/2011/11/oracle-soa-11g-configure-transaction_20.html
    Regards
    Albin I

  • Regarding DB adapter transactions roll back

    Hi All,
    In a BPEL, using while loop i'm trying to insert records in a table(business table-Oracle XE DB). If any errors happen during the insertion, it should rollback the previous insertions happened in the business table and insert the error details in the log table.
    Example: Let's say 5 records need to be inserted in business table, after first two records get inserted successfully, due to invalid data, 3rd record fails to get inserted.
    Things i have done,
    1) I have a catch block to catch the errors
    2) I have an invoke activity in the catch block to invoke the DB adapter to insert error details in log table.
    3) Throw activity with bpelx:rollback to roll back the previous transactions.
    Question: After the error details get inserted in log table, since i have a throw activity with bpelx rollback, all the previous DB transactions including the log table insertion is getting rolled back. I don't want my log table record insertion to be rolled back, only the records which i have already inserted successfully in the business table needs to be rolled back.
    Can anyone let me know, how to handle such a situation? your response is greatly appreciated.

    You need to ensure that your process is working in a single transaction.
    You are correctly using the XA datasource.
    Next you need to ensure that you do not have a dehydration point in the process and if there is a call to another BPEL process they are in a same transaction.

  • Transaction roll back

              Dear Everyone,
              What kind of exceptions do the wls container force to roll back a transaction?
              Already a simple NullpointerException does it or it has to be a kind of special
              Exception like EJbException?
              And if I catch that exception I hope it does not roll the transaction back if
              I do not rethrow.
              Thanks for your help.
              Miklos
              

              Dear Deyan,
              Thanks for the answer. Actually an entity creation rolled back even I throw an
              CreateException.
              That is very intersting, and it is not mentioned in the sun documentation.
              Actually I catch the CreateException and rethrow it.
              Any idea why it happens?
              Miklos
              "Deyan D. Bektchiev" <[email protected]> wrote:
              >Miklos,
              >
              >Once the exception crosses the invocation wrapper if it is an instance
              >
              >of RuntimeException (NPE is) or RemoteException (this one is there
              >mostly for backward compatibility with pre-EJB 2.0 spec) the transaction
              >
              >will be marked for rollback so you cannot commit it.
              >If you don't want to roll back the transaction, throw an application
              >
              >exception instead (any other type that inherits from java.lang.Exception).
              >
              >Regards,
              >Dejan
              >
              >Miklos Molnar wrote:
              >
              >>Dear Everyone,
              >>
              >> What kind of exceptions do the wls container force to roll back a transaction?
              >> Already a simple NullpointerException does it or it has to be a kind
              >of special
              >>Exception like EJbException?
              >> And if I catch that exception I hope it does not roll the transaction
              >back if
              >>I do not rethrow.
              >>
              >> Thanks for your help.
              >>
              >> Miklos
              >>
              >>
              >
              

  • Avoid transaction roll back using exception handler

    Hi everybody!
    I've created a proxy service in OSB using a DB adapter for polling from a database table. I've configured the service to be transactional with same transaction for reponse. The proxy has a route node that routes to a business service created from a db adapter for storing the polled data. Insert table has a db trigger associated wich raises a custom exception in certain cases. I need to catch that exception in the route exception handler to avoid the full transaction to be marked rolled back. For this, I've setup a response with failure action in the handler.
    After testing the service I realized that it's not working as expected as transaction is being rolled back when the trigger raises the exception (so registry is not marked as polled in source table).
    Could anyone explain me which action should be taken to avoid a rollback when handling exception?
    Best regards,
    Daniel.

    Hi Athhek,
    If I set reply with success then both route node and system error handlers are executed. I get following response metadata
    <con:metadata      xmlns:con="http://www.bea.com/wli/sb/test/config">
    <tran:response-code      xmlns:tran="http://www.bea.com/wli/sb/transports">1</tran:response-code>
    </con:metadata>
    and also following error reaches system handler:
    <con:fault      xmlns:con="http://www.bea.com/wli/sb/context">
    <con:errorCode>BEA-382050</con:errorCode>
    <con:reason>
    Expected active transaction, actual transaction status: Marked Rollback
    </con:reason>
    <con:location>
    <con:path>response-pipeline</con:path>
    </con:location>
    </con:fault>
    When I set reply with error only route node handler is executed but I still get
    <con:metadata      xmlns:con="http://www.bea.com/wli/sb/test/config">
    <tran:response-code      xmlns:tran="http://www.bea.com/wli/sb/transports">1</tran:response-code>
    </con:metadata>
    Thank you.

  • Transaction rolled back when system exception occurs.

    Hello,
    I understand that when a exception occurs that extends RuntimeException or RemoteException, the current transaction is rolled back. Is that also the case when the system exception is caught and dealt with?
    Julien Martin.

    Hi Julien,
    It depends whether the system exception was ever propagated back to the container. E.g. If the container-managed transaction only spans a single EJB business method and the exception is both thrown AND caught within that business method, then no, the container will not mark the tx for rollback.
    However, take the case where EJBs A and B both have container-managed transactions and tx attribute TX_REQUIRED. If EJB A calls business method foo() on EJB B and foo() throws a system exception, the tx will be marked for rollback by B's container as part of the post-processing of foo(). When control returns to EJB A, the same tx is still active, but it has been marked for rollback. Even if EJB A "eats" the system exception and returns normally, it won't change the disposition of the transaction, so the tx will be rolled back by A's container.
    --ken
    Kenneth Saks
    J2EE SDK Engineering
    SUN Microsystems

  • Transaction roll back exception in setRollbackOnly in stateless bean

    Hello All,
    Im using WLS 5.1 SP9 on Win2k with Oracle 8.
    Flow:
    A stateless session bean with container-managed transaction uses
    entity beans to insert records into 3 tables, vide:
    Primary - CMP,
    Secondary - BMP,
    Tertiary - CMP
    If validation fails on the data thats coming in, error messages are
    sent back to the client and the transaction is set to roll back with
    the folliwng stmt :
    sessionContext.setRollbackOnly();
    Now there are 2 problems :
    1. Valid data is passed in: Though the operation seems to succeed from
    the front end, there aren't any records inserted into the Primary
    table. Secondary and Tertiary tables have the right data present in
    them.
    2. Invalid data is passed in: When the validation fails and the
    transaction is set to rollback, the following exceptions are thrown :
    Exception during commit of transaction: '1030642768442_27'
    weblogic.transaction.RollbackException: Transaction TxC (26691678, xid
    = 1030642768442_27, timeout = 60, txState = Rolledback, root = null
    has been rolled back.Reason: Unknown
    <!-- REST SNIPPED -->
    I searched this ng for previous posts on this problema and indeed
    found quite a few with the same problem. However, they referred to
    this problem as a bug in the earlier service packs of Weblogic such as
    4 and 5. I however use SP9, but still get the same problem.
    Anybody have any ideas on these problems and possible solutions?
    Thanks and regards,
    Pavan

    The problem seems to be related to the Adapter Engine but not sure about the exact reason. As per the last line of the log, either the channel reference was missing or there was some problem with the related service which could be viewed in visual admin. This could have occurred when the channel is initialized for the use. Restart helped because it may have restarted the related services.
    Regards,
    Prateek

  • Transaction rolled back in Page Flow

    I am getting the following exceptions out of nowhere. It's non-deterministic, it just happens from time to time. The same steps can lead to normal behaviour or this error... It all ends with timed out exception. I don't know what is causing it, I don't know how to fix it. Does anyone have any ideas?
    From the log:
    |javax.ejb.TransactionRolledbackLocalException
    javax.ejb.TransactionRolledbackLocalException: Client's transaction aborted
         at com.sun.ejb.containers.BaseContainer.useClientTx(BaseContainer.java:2267)
         at com.sun.ejb.containers.BaseContainer.preInvokeTx(BaseContainer.java:2147)
         at com.sun.ejb.containers.MessageBeanContainer.beforeMessageDelivery(MessageBeanContainer.java:906)
         at com.sun.ejb.containers.MessageBeanListenerImpl.beforeMessageDelivery(MessageBeanListenerImpl.java:38)
         at com.sun.enterprise.connectors.inflow.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:131)
         at $Proxy62.invoke(Unknown Source)
         at com.stc.bpms.bpelConnector.impl.AbstractWSProvider.invoke(AbstractWSProvider.java:105)
         at com.stc.bpms.bpelImpl.runtime.Interpreter$1.run(Interpreter.java:661)
         at com.stc.bpms.bpelConnector.impl.ExecutorImpl$WorkImpl.run(ExecutorImpl.java:338)
         at com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:54)
         at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:382)
    |#]
    [#|2008-01-29T13:15:24.015+0100|INFO|IS5.1.3|javax.enterprise.system.container.ejb.mdb|_ThreadID=39; ThreadName=Worker: 24;stacktrace-id=1;|javax.ejb.TransactionRolledbackLocalException
    javax.ejb.TransactionRolledbackLocalException: Exception thrown from bean; nested exception is: javax.ejb.TransactionRolledbackLocalException: Client's transaction aborted
    javax.ejb.TransactionRolledbackLocalException: Client's transaction aborted
         at com.sun.ejb.containers.BaseContainer.useClientTx(BaseContainer.java:2267)
         at com.sun.ejb.containers.BaseContainer.preInvokeTx(BaseContainer.java:2147)
         at com.sun.ejb.containers.MessageBeanContainer.beforeMessageDelivery(MessageBeanContainer.java:906)
         at com.sun.ejb.containers.MessageBeanListenerImpl.beforeMessageDelivery(MessageBeanListenerImpl.java:38)
         at com.sun.enterprise.connectors.inflow.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:131)
         at $Proxy62.invoke(Unknown Source)
         at com.stc.bpms.bpelConnector.impl.AbstractWSProvider.invoke(AbstractWSProvider.java:105)
         at com.stc.bpms.bpelImpl.runtime.Interpreter$1.run(Interpreter.java:661)
         at com.stc.bpms.bpelConnector.impl.ExecutorImpl$WorkImpl.run(ExecutorImpl.java:338)
         at com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:54)
         at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:382)
    javax.ejb.TransactionRolledbackLocalException: Exception thrown from bean; nested exception is: javax.ejb.TransactionRolledbackLocalException: Client's transaction aborted
         at com.sun.ejb.containers.BaseContainer.checkExceptionClientTx(BaseContainer.java:2570)
         at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:2422)
         at com.sun.ejb.containers.MessageBeanContainer.afterMessageDelivery(MessageBeanContainer.java:1056)
         at com.sun.ejb.containers.MessageBeanListenerImpl.afterMessageDelivery(MessageBeanListenerImpl.java:46)
         at com.sun.enterprise.connectors.inflow.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:154)
         at $Proxy62.invoke(Unknown Source)
         at com.stc.bpms.bpelConnector.impl.AbstractWSProvider.invoke(AbstractWSProvider.java:105)
         at com.stc.bpms.bpelImpl.runtime.Interpreter$1.run(Interpreter.java:661)
         at com.stc.bpms.bpelConnector.impl.ExecutorImpl$WorkImpl.run(ExecutorImpl.java:338)
         at com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:54)
         at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:382)
    |#]

    PaulPeters wrote:
    The particular Page Flow instance has remained active for some reason and just timed out in accordance to the settings for eInsight on the Integration Server's section.
    Does the Page Flow start with an Event-Based Decision ? There's a small reference to that in the User Guide, but quite important in real-life.
    Do you implement time-out features inside the Page Flow ?Thanks for your reply.
    It happens after series of clicks. When I keep the app busy.
    My page flow looks like this:
    Event Based Decision, single link, continues with a while(true) loop, which contains everything else.
    JCD loads object from database, they are shown in a table with links (buttons styled as links) and some controls (pagination, but non jcaps, my own, and sorting)
    After click, the page flow continues to a detail page. From detail page you get back by a back button in browser. (Is this causing the problem?)
    After choosing the sort option or pagination, the page flow returns to the beginning of the while loop.
    I don't use any time-out features
    I've migrated the UI to another domain. The first domain runs a scheduled process. Now I don't get time outs. Maybe that was the problem. But the test team didn't test it thoroughly yet.

  • Can't catch the exception when transaction rollback ,BPEL/SOA 11G,updated!

    Hi Guys ,
    I have two insert/update invoke actions through dbadpter in my BPEL process .
    When I set the GetActiveUnitOfWork property of those two db adapters to true ,it successfully makes the global transaction work . any of them failed will cause the other rollback.
    But the CatchAll brunch can't catch the exception in that case,
    I can only see exception message from the system output :
    02/11/2009 11:36:46 AM oracle.toplink.transaction.AbstractSynchronizationListener beforeCompletion
    WARNING:
    Local Exception Stack:
    Exception [TOPLINK-4002] (Oracle TopLink - 11g Release 1 (11.1.1.1.0) (Build 090527)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (Table1_PK) violated
    from BPEL console , you can't even see the error , the process finished with no exception.
    When I set GetActiveUnitOfWork to false, CatchAll brunch is able to catch the exception , but global rollback is not working .
    I try all the other method like set the transaction property of BPEL to required , using checkpoint() in java embedding . it looks like only way is set GetActiveUnitOfWork to true, but can't catch exception.
    Here are some updated:
    Here is my process
    Main Sequence
    Invoke (dbadapter update)
    Invoke (dbadapter insert)
    Global CatchAll
    Invoke(jmsAdapter sendjms)
    if I disable the CatchAll branch , when insert failed , the insert will rollback as well, even GetActiveUnitOfWork set to false.
    enable CatchAll branch , even doing nothing in this branch , the update won't rollback when insert failed. it looks like when catch the exception , bpel seems not rollback , I try to add throw rollback in catchall branch, no any effect.
    any clue ?
    Kevin
    Edited by: kyi on Nov 5, 2009 10:10 AM

    Hi All,
    We are also facing a similar kind of issue.
    We have a simple BPEL which will makes use of JAva embedding to call an end point to check its availibility.
    The Java code for cheking the enpoint connectivity is below
    try{      
    boolean endpointAvailable = false;
    long start = System.currentTimeMillis();
    int endpointTestURL_port = 8445 ;
    int endpointTestURL_timeout = 500;
    String endpointTestURL_queryString = "" ;
    String endpointTestURL_protocol = (String)getVariableData ("endpointProtocol");
    addAuditTrailEntry("endpointTestURL_protocol: " + endpointTestURL_protocol);
    String endpointTestURL_host = (String)getVariableData ("endpointHost");
    addAuditTrailEntry("endpointTestURL_hostl: " + endpointTestURL_host);
    URL endpoint = new URL(endpointTestURL_protocol, endpointTestURL_host, 8445, endpointTestURL_queryString);
    addAuditTrailEntry("endpoint object is created" );
    String endpointTestURL = endpoint.toExternalForm();
    addAuditTrailEntry("Checking availability of endpoint at URL: " + endpointTestURL);
    // Configure connection
    HttpURLConnection connection = (HttpURLConnection)endpoint.openConnection();
    connection.setRequestMethod("GET");
    addAuditTrailEntry("The Method is Get");
    connection.setConnectTimeout(5000);
    addAuditTrailEntry("Timeout is 500 ms");
    // Open connection
    connection.connect();
    addAuditTrailEntry("Open Connection");
    String responseMessage = connection.getResponseMessage();
    addAuditTrailEntry("Recieved availability response from endpoint as: " + responseMessage);
    // Close connection
    connection.disconnect();
    endpointAvailable = true;
    if (endpointAvailable)
    setVariableData("crmIsAvailable", "true");
    else
    setVariableData("crmIsAvailable", "false");
    catch(Exception e)
    System.out.println ("Error in checking endpoint availability " + e) ;
    addAuditTrailEntry("error message is : " +e);         
    When we run the above as a seperate java program it runs fine i.e goes to the catch block and catches the exception.
    But when we run it within the java embedding in BPEL(11G) it gives us the follwoing error.
    The reason was The execution of this instance "490001" for process "default/GMDSSalesLeadsBackMediationInterface!1.0*soa_e1a6362f-c148-417c-819c-9327017ebfa4" is supposed to be in an active jta transaction, the current transaction status is "ROLLEDBACK" .
    Consult the system administrator regarding this error.
         at com.oracle.bpel.client.util.TransactionUtils.throwExceptionIfTxnNotActive(TransactionUtils.java:119)
         at com.collaxa.cube.engine.CubeEngine.store(CubeEngine.java:4055)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4372)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4281)
         at com.collaxa.cube.engine.CubeEngine._createAndInvoke(CubeEngine.java:713)
         at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:545)
         at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:654)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:355)
         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:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
         at oracle.security.jps.ee.ejb.JpsAbsInterceptor$1.run(JpsAbsInterceptor.java:88)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.wls.JpsWeblogicEjbInterceptor.runJaasMode(JpsWeblogicEjbInterceptor.java:61)
         at oracle.security.jps.ee.ejb.JpsAbsInterceptor.intercept(JpsAbsInterceptor.java:106)
         at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:106)
         at sun.reflect.GeneratedMethodAccessor960.invoke(Unknown Source)
         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:310)
         at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
         at weblogic.ejb.container.injection.EnvironmentInte
    we also get
    BEA1-108EA2A88DAF381957FF
    weblogic.transaction.internal.TimedOutException: Transaction timed out after 301 seconds
    BEA1-108EA2A88DAF381957FF
         at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1733)
         at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1578)
         at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1900)
         at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1488)
         at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
         at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    javax.ejb.EJBException: Transaction Rolledback.: weblogic.transaction.internal.TimedOutException: Transaction timed out after 301 seconds
    BEA1-108EA2A88DAF381957FF
    We tried the following
    Increase the JTA timeout in the EM console to a larger value like 600 secs.
    The BPEL instance is not getting created.
    Any help would be appreciated
    Thanks
    Lalit

Maybe you are looking for

  • Parameter with Dynamic prompt - bug encountered

    I am using CRD XI release 2 (SP2) against an Oracle 10 release 2 database I have a report fully working with a static parameter 1. But I have an issue when trying to introduce a parameter with dynamic prompts I have a data source (PointofSale retriev

  • BAPI for material creation which returns the new material number

    Hi, I need a single BAPI or a remote enabled function module to create a material which would return the new Material number generated. Regards, Tanveer S.

  • Removal of error from psa

    hi friends can any one tell me how can we remove an error from psa thanks in advance with regards kalyan

  • Trasportation of sap query

    Hi, I did the changes in an existing SAP QUERY which didnt given any SAP OBJECT DIRECTORY ENTRY (i mean no request was given for that) Now how do i transport the changes into quality system . can any body tell methe procedure to accomplish this. than

  • Video not importing correctly into After Effects CS5

    I just downloaded a trial version of After Effects CS5 to work on a couple corporate videos, but I'm having issues importing the footage (.WMV). When I try to import, I get a message saying that there is an unnamed alpha layer (with a few options on