1 Reply Latest reply on Oct 26, 2011 12:32 PM by Jason Porter

    Strange transaction exception after upraded to 3.1.0Beta4

    hantsy bai Master

      When I logined and entered a list page...there is no transaction needed. But I encountered the exception like this. But it did not occur every time.


      22:02:03,949 INFO  [com.telopsys.siorc.exception.handler.GeneralExceptionHandler] (http--127.0.0.1-8080-6) Exception logged by seam-catch catcher: BaseTransaction.checkTransactionState - thread is already associated with a transaction!
      22:02:03,950 ERROR [stderr] (http--127.0.0.1-8080-6) java.lang.IllegalStateException: Could not start transaction
      
      22:02:03,951 ERROR [stderr] (http--127.0.0.1-8080-6)      at org.jboss.seam.faces.transaction.TransactionPhaseListener.begin(TransactionPhaseListener.java:111)
      
      22:02:03,951 ERROR [stderr] (http--127.0.0.1-8080-6)      at org.jboss.seam.faces.transaction.TransactionPhaseListener.begin(TransactionPhaseListener.java:101)
      
      22:02:03,951 ERROR [stderr] (http--127.0.0.1-8080-6)      at org.jboss.seam.faces.transaction.TransactionPhaseListener.handleTransactionsBeforePhase(TransactionPhaseListener.java:82)
      
      22:02:03,951 ERROR [stderr] (http--127.0.0.1-8080-6)      at org.jboss.seam.faces.transaction.TransactionPhaseListener.beforePhase(TransactionPhaseListener.java:64)
      
      22:02:03,951 ERROR [stderr] (http--127.0.0.1-8080-6)      at org.jboss.seam.faces.event.DelegatingPhaseListener.beforePhase(DelegatingPhaseListener.java:43)
      
      22:02:03,952 ERROR [stderr] (http--127.0.0.1-8080-6)      at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:228)
      
      22:02:03,952 ERROR [stderr] (http--127.0.0.1-8080-6)      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:99)
      
      22:02:03,952 ERROR [stderr] (http--127.0.0.1-8080-6)      at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:110)
      
      22:02:03,952 ERROR [stderr] (http--127.0.0.1-8080-6)      at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
      
      22:02:03,953 ERROR [stderr] (http--127.0.0.1-8080-6)      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
      
      22:02:03,953 ERROR [stderr] (http--127.0.0.1-8080-6)      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
      
      22:02:03,953 ERROR [stderr] (http--127.0.0.1-8080-6)      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
      
      22:02:03,953 ERROR [stderr] (http--127.0.0.1-8080-6)      at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:118)
      
      22:02:03,953 ERROR [stderr] (http--127.0.0.1-8080-6)      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
      
      22:02:03,954 ERROR [stderr] (http--127.0.0.1-8080-6)      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
      
      22:02:03,954 ERROR [stderr] (http--127.0.0.1-8080-6)      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:734)
      
      22:02:03,954 ERROR [stderr] (http--127.0.0.1-8080-6)      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:541)
      
      22:02:03,954 ERROR [stderr] (http--127.0.0.1-8080-6)      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:479)
      
      22:02:03,955 ERROR [stderr] (http--127.0.0.1-8080-6)      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:407)
      
      22:02:03,955 ERROR [stderr] (http--127.0.0.1-8080-6)      at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:110)
      
      22:02:03,955 ERROR [stderr] (http--127.0.0.1-8080-6)      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
      
      22:02:03,955 ERROR [stderr] (http--127.0.0.1-8080-6)      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
      
      22:02:03,956 ERROR [stderr] (http--127.0.0.1-8080-6)      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
      
      22:02:03,956 ERROR [stderr] (http--127.0.0.1-8080-6)      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
      
      22:02:03,956 ERROR [stderr] (http--127.0.0.1-8080-6)      at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139)
      
      22:02:03,956 ERROR [stderr] (http--127.0.0.1-8080-6)      at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57)
      
      22:02:03,956 ERROR [stderr] (http--127.0.0.1-8080-6)      at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:49)
      
      22:02:03,957 ERROR [stderr] (http--127.0.0.1-8080-6)      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154)
      
      22:02:03,957 ERROR [stderr] (http--127.0.0.1-8080-6)      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      
      22:02:03,957 ERROR [stderr] (http--127.0.0.1-8080-6)      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      
      22:02:03,957 ERROR [stderr] (http--127.0.0.1-8080-6)      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
      
      22:02:03,958 ERROR [stderr] (http--127.0.0.1-8080-6)      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
      
      22:02:03,958 ERROR [stderr] (http--127.0.0.1-8080-6)      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667)
      
      22:02:03,958 ERROR [stderr] (http--127.0.0.1-8080-6)      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952)
      
      22:02:03,958 ERROR [stderr] (http--127.0.0.1-8080-6)      at java.lang.Thread.run(Thread.java:662)
      
      22:02:03,959 ERROR [stderr] (http--127.0.0.1-8080-6) Caused by: javax.transaction.NotSupportedException: BaseTransaction.checkTransactionState - thread is already associated with a transaction!
      
      22:02:03,959 ERROR [stderr] (http--127.0.0.1-8080-6)      at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:65)
      
      22:02:03,959 ERROR [stderr] (http--127.0.0.1-8080-6)      at org.jboss.seam.transaction.UTTransaction.begin(UTTransaction.java:51)
      
      22:02:03,959 ERROR [stderr] (http--127.0.0.1-8080-6)      at org.jboss.seam.transaction.DefaultSeamTransaction.begin(DefaultSeamTransaction.java:87)
      
      22:02:03,959 ERROR [stderr] (http--127.0.0.1-8080-6)      at org.jboss.seam.faces.transaction.TransactionPhaseListener.begin(TransactionPhaseListener.java:108)
      
      22:02:03,960 ERROR [stderr] (http--127.0.0.1-8080-6)      ... 34 more
      
      22:02:03,960 ERROR [stderr] (http--127.0.0.1-8080-6) Caused by: java.lang.IllegalStateException: BaseTransaction.checkTransactionState - thread is already associated with a transaction!
      
      22:02:03,960 ERROR [stderr] (http--127.0.0.1-8080-6)      at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.checkTransactionState(BaseTransaction.java:259)
      
      22:02:03,961 ERROR [stderr] (http--127.0.0.1-8080-6)      at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:61)
      
      22:02:03,961 ERROR [stderr] (http--127.0.0.1-8080-6)      ... 37 more