10 Replies Latest reply on Sep 15, 2009 12:39 AM by kadiri

    Could not determine transaction status

      Hi,

      Any ideas why I'm getting there errors?

      Br,

      Juha Moisio

      
      2006-11-27 21:20:07,516 INFO [fi.logiasoftware.messageserver.services.handlers.FTPProtocolHandler] Changing directory to : /storage/ftp/msgasiakas1/fs347/asiakas1/u [192.194.71.123]
      2006-11-27 21:20:10,406 INFO [fi.logiasoftware.messageserver.services.backend.PollingActionBean] Processsing message /storage/ftp/msgasiakas1/fs347/asiakas1/u D.SHPORD_105819611163582735243880000
      2006-11-27 21:20:10,432 INFO [fi.logiasoftware.messageserver.services.backend.PollingActionBean] Creating JMS Session
      2006-11-27 21:20:10,434 DEBUG [fi.logiasoftware.messageserver.services.backend.MessageSenderBase] Checking server transaction type
      2006-11-27 21:20:10,434 INFO [fi.logiasoftware.messageserver.services.backend.PollingActionBean] Closing JMS Session
      2006-11-27 21:20:10,484 WARN [com.arjuna.ats.jts.logging.loggerI18N] [com.arjuna.ats.internal.jts.orbspecific.interposition.resources.arjuna.generror] ServerTopLevelAction.registerResource caught exception: org.omg.CORBA.TRANSACTION_ROLLEDBACK: Server-side Exception: vmcid: 0xc000 minor code: 353 completed: No
      2006-11-27 21:20:10,485 WARN [com.arjuna.ats.jts.logging.loggerI18N] [com.arjuna.ats.internal.jts.orbspecific.interposition.resources.arjuna.ipfailed] ServerTopLevelAction - could not register interposed hierarchy!
      2006-11-27 21:20:10,485 WARN [com.arjuna.ats.jts.logging.loggerI18N] [com.arjuna.ats.internal.jts.interposition.resources.arjuna.ipfail] Interposition.removeHeirarchy - could not find -3f3db8c2:aa97:456b3a04:18f to remove.
      2006-11-27 21:20:10,486 WARN [com.arjuna.ats.jts.logging.loggerI18N] [com.arjuna.ats.internal.jts.context.genfail] ContextManager.createHierarchy caught exception: org.omg.CORBA.TRANSACTION_ROLLEDBACK: vmcid: 0x0 minor code: 0 completed: No
      2006-11-27 21:20:10,491 ERROR [org.hibernate.ejb.AbstractEntityManagerImpl] could not determine transaction status
      javax.transaction.SystemException
       at com.arjuna.ats.internal.jta.transaction.jts.TransactionManagerImple.getTransaction(TransactionManagerImple.java:82)
       at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.getTransaction(BaseTransactionManagerDelegate.java:107)
       at org.hibernate.transaction.CMTTransaction.getTransaction(CMTTransaction.java:91)
       at org.hibernate.ejb.AbstractEntityManagerImpl$1.beforeCompletion(AbstractEntityManagerImpl.java:489)
       at com.arjuna.ats.internal.jta.resources.jts.orbspecific.SynchronizationImple.before_completion(SynchronizationImple.java:128)
       at org.omg.CosTransactions.SynchronizationPOA._invoke(SynchronizationPOA.java:42)
       at org.jacorb.poa.RequestProcessor.invokeOperation(RequestProcessor.java:299)
       at org.jacorb.poa.RequestProcessor.process(RequestProcessor.java:593)
       at org.jacorb.poa.RequestProcessor.run(RequestProcessor.java:735)
      2006-11-27 21:20:10,601 WARN [com.arjuna.ats.jts.logging.loggerI18N] [com.arjuna.ats.internal.jts.orbspecific.interposition.resources.arjuna.generror] ServerTopLevelAction.registerResource caught exception: org.omg.CORBA.TRANSACTION_ROLLEDBACK: Server-side Exception: vmcid: 0xc000 minor code: 353 completed: No
      2006-11-27 21:20:10,601 WARN [com.arjuna.ats.jts.logging.loggerI18N] [com.arjuna.ats.internal.jts.orbspecific.interposition.resources.arjuna.ipfailed] ServerTopLevelAction - could not register interposed hierarchy!
      2006-11-27 21:20:10,602 WARN [com.arjuna.ats.jts.logging.loggerI18N] [com.arjuna.ats.internal.jts.interposition.resources.arjuna.ipfail] Interposition.removeHeirarchy - could not find -3f3db8c2:aa97:456b3a04:18f to remove.
      2006-11-27 21:20:10,602 WARN [com.arjuna.ats.jts.logging.loggerI18N] [com.arjuna.ats.internal.jts.context.genfail] ContextManager.createHierarchy caught exception: org.omg.CORBA.TRANSACTION_ROLLEDBACK: vmcid: 0x0 minor code: 0 completed: No
      2006-11-27 21:20:10,603 ERROR [org.hibernate.ejb.AbstractEntityManagerImpl] Unable to mark for rollback on PersistenceException:
      org.omg.CORBA.TRANSACTION_ROLLEDBACK: vmcid: 0x0 minor code: 0 completed: No
       at com.arjuna.ats.internal.jts.interposition.resources.arjuna.Interposition.createHierarchy(Interposition.java:186)
       at com.arjuna.ats.internal.jts.interposition.resources.arjuna.Interposition.setupHierarchy(Interposition.java:115)
       at com.arjuna.ats.internal.jts.interposition.resources.arjuna.Interposition.create(Interposition.java:74)
       at com.arjuna.ats.internal.jts.interposition.resources.arjuna.InterpositionCreator.recreateLocal(InterpositionCreator.java:48)
       at com.arjuna.ats.internal.jts.interposition.FactoryElement.recreateLocal(FactoryList.java:72)
       at com.arjuna.ats.internal.jts.interposition.FactoryList.recreateLocal(FactoryList.java:119)
       at com.arjuna.ats.internal.jts.orbspecific.TransactionFactoryImple.recreateLocal(TransactionFactoryImple.java:246)
       at com.arjuna.ats.internal.jts.context.ContextManager.createHierarchy(ContextManager.java:793)
       at com.arjuna.ats.internal.jts.context.ContextManager.currentPIContext(ContextManager.java:684)
       at com.arjuna.ats.internal.jts.context.ContextManager.current(ContextManager.java:212)
       at com.arjuna.ats.internal.jts.context.ContextManager.associate(ContextManager.java:365)
       at com.arjuna.ats.internal.jts.OTSImpleManager.current(OTSImpleManager.java:91)
       at com.arjuna.ats.internal.jta.transaction.jts.TransactionImple.getTransaction(TransactionImple.java:1135)
       at com.arjuna.ats.internal.jta.transaction.jts.BaseTransaction.setRollbackOnly(BaseTransaction.java:210)
       at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.setRollbackOnly(BaseTransactionManagerDelegate.java:135)
       at org.hibernate.ejb.AbstractEntityManagerImpl.markAsRollback(AbstractEntityManagerImpl.java:432)
       at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:587)
       at org.hibernate.ejb.AbstractEntityManagerImpl$1.beforeCompletion(AbstractEntityManagerImpl.java:501)
       at com.arjuna.ats.internal.jta.resources.jts.orbspecific.SynchronizationImple.before_completion(SynchronizationImple.java:128)
       at org.omg.CosTransactions.SynchronizationPOA._invoke(SynchronizationPOA.java:42)
       at org.jacorb.poa.RequestProcessor.invokeOperation(RequestProcessor.java:299)
       at org.jacorb.poa.RequestProcessor.process(RequestProcessor.java:593)
       at org.jacorb.poa.RequestProcessor.run(RequestProcessor.java:735)
      2006-11-27 21:20:10,622 WARN [com.arjuna.ats.jts.logging.loggerI18N] [com.arjuna.ats.internal.jts.orbspecific.coordinator.generror] ArjunaTransactionImple.doBeforeCompletion caught exception: org.omg.CORBA.UNKNOWN: Server-side Exception: vmcid: 0x0 minor code: 0 completed: No
      2006-11-27 21:20:10,934 ERROR [org.jboss.ejb.txtimer.TimerImpl] Error invoking ejbTimeout: javax.ejb.EJBTransactionRolledbackException: javax.ejb.EJBNoSuchObjectException: Could not find Stateful bean: 5c5e1z1q-d57glg-ev19kinq-1-ev19n0mh-14
      2006-11-27 21:20:13,502 INFO [org.jboss.system.server.Server] Runtime shutdown hook called, forceHalt: true
      
      
      


        • 1. Re: Could not determine transaction status
          marklittle

          Do you want to be running with the JTS? This error means that a downstream node is importing a transaction context and trying to do interposition (creating a subordinate coordinator instance within the importing address space). To do this it needs to call back to the parent node (upstream) and register itself as a participant in the transaction. That call is failing.

          • 2. Re: Could not determine transaction status
            weston.price

            SoDo

            Have you read this book

            http://www.amazon.com/o/ASIN/013035290X/ref=pd_rvi_gw_1/103-5349846-2939804

            A smashing good read. I unequivocally recommend it to everyone!

            • 3. Re: Could not determine transaction status
              marklittle

              I noticed the following at the head of your trace:

              2006-11-27 21:20:10,484 WARN [com.arjuna.ats.jts.logging.loggerI18N] [com.arjuna.ats.internal.jts.o
              rbspecific.interposition.resources.arjuna.generror] ServerTopLevelAction.registerResource caught exc
              eption: org.omg.CORBA.TRANSACTION_ROLLEDBACK: Server-side Exception: vmcid: 0xc000 minor code: 35
              3 completed: No
              


              One cause of this would be if the parent transaction (the upstream node) has been marked for rollback by the time the interposition occurs. Timeout?

              I hope this helps.

              • 4. Re: Could not determine transaction status

                Thank you for your answers.
                I'm getting so frustrated with these problems.
                I would appreciate very much if either one of you could
                help me with this whole mess. I have been fighting with this
                same problem with different errors about 2 weeks.

                Br,

                Juha

                • 5. Re: Could not determine transaction status
                  marklittle

                  I'm sorry, but I thought we were trying to help you.

                  • 6. Re: Could not determine transaction status
                    marklittle

                    Have you already described what you are attempting to do? If so, please point me at the URL. If not, could you do so? Basically I'm looking for a precise description of your environment, what the application is doing, where transactions play in it and why you (think you) need distributed transactions.

                    Thanks.

                    • 7. Re: Could not determine transaction status



                      Ok. I will post URL tomorrow.


                      Br,

                      Juha

                      • 8. Re: Could not determine transaction status

                        Here is url to my code and short description what my code tries to do :)

                        http://www.logiasoftware.fi/msgsrv/


                        -Juha-


                        • 9. Re: Could not determine transaction status

                          I managed resolve this problem. It was null pointer exception which didn't show in log.

                          • 10. Re: Could not determine transaction status

                            Hi

                            Can you please tell, how you resolve the null pointer exception.

                            it is very help full for me i am also getting below exception but this exception getting after getting response from EJB 3.

                            15:32:38,046 ERROR [STDERR] java.lang.NullPointerException
                            15:32:38,046 ERROR [STDERR] at org.jboss.ejb3.stateful.SessionSynchronizationInterceptor$SFSBSessionSynchronization.afterCompletion(SessionSynchronizationInterceptor.java:87)
                            15:32:38,046 ERROR [STDERR] at com.arjuna.ats.internal.jta.resources.jts.orbspecific.SynchronizationImple.after_completion(SynchronizationImple.java:153)
                            15:32:38,046 ERROR [STDERR] at org.omg.CosTransactions.SynchronizationPOA._invoke(SynchronizationPOA.java:49)
                            15:32:38,046 ERROR [STDERR] at org.jacorb.poa.RequestProcessor.invokeOperation(RequestProcessor.java:299)
                            15:32:38,046 ERROR [STDERR] at org.jacorb.poa.RequestProcessor.process(RequestProcessor.java:593)
                            15:32:38,046 ERROR [STDERR] at org.jacorb.poa.RequestProcessor.run(RequestProcessor.java:735)

                            Thank you.