Menu

Problem in Tyrex+Tomcat4.1 +MSSQL server

Help
adk
2004-01-20
2004-01-20
  • adk

    adk - 2004-01-20

    Hi
    I'm having problems commiting transactions in my application.The first operation works at times but the subsequent operations fail.

    In the log i'm getting errors like this..

    437 2864109 ERROR [Thread-14]                               default     - Unable to RollBack User Transaction
    java.lang.IllegalStateException: The transaction is not yet or no longer active
        at tyrex.tm.impl.TransactionManagerImpl.rollback(Unknown Source)
        at tyrex.tm.impl.UserTransactionImpl.rollback(Unknown Source)

    Can someone please help regarding this as to suggest what could be the cause of the problem and suggest solutions for this?

    Regards
    adk

     
    • Rost Vashevnik

      Rost Vashevnik - 2004-01-20

      Hi there !

      tyrex.tm.impl.TransactionManagerImpl.rollback() method throws IllegalStateException when it is unable to find transaction object associated with the calling thread.

      There are many scenarios how such situation might occur. For example it may occur if you have commenced transaction on one thread and trying to roll it back on some other thread. Or, another scenario, is that transaction has been suspended before trying to roll it back.

      I would need more details, and snippets of code to help you further.

      Kind regards

       

Log in to post a comment.