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

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.

  • 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

  • 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

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

  • 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

  • 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

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

  • Transaction roll back exception

    I am getting a transaction rollback exception during a long running query. running
    WL 5.1 and dont think I can use the
    trans-timeout-seconds in the transaction-descriptor section of the weblogic-ejb-jar
    descriptor file. Can anyone advise on if there is another way to do this or does
    5.1 support this?
    thanks
    Gary

    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.

Maybe you are looking for

  • HT4623 my phone no longer shows as conected when i turn on i tunes on the desktop what can i do to fix i can no longer update

    before i would just plug the phone into the desktop and it automaticaly conected i could add music and photos from the computor, now it seems to conect because it updates anything i have added thru the apple store while not conected but not fome the

  • Why wont my free trial download?

    I am attempting to download a free trial of illustrator and all it says is "illustrator is downloading now". it has been like this for a while and i'm not sure what to do.

  • Receiver File Adapter - Permission Denied

    Hi, I have a problem with posting a file to a specific address at a ftp (file adapter). I get the follwing error. <i>Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: XI_ftp_467febcd-b4df-25c4-e100-00000af501ca.tmp: Per

  • How would I do this (4.5.1)

    I am looking to build a feature into a project where the user can open a "scripting window" and use the built in libraries that are in  the project to build scripts that will then be compiled down into actionscript and ran when the usert launches the

  • Authenticated Users Group Question

    I have a quick question regarding the Authenticated Users "group". I used to be a systems administrator, but I'm a bit rusty since I've been a software developer for the last 10 years. A conflict with data center operations (DCO) group at work lead m