Andrea Carpineti created SEAM-138:
-------------------------------------
Summary: ...thread is already associated with a transaction!
Key: SEAM-138
URL:
https://issues.jboss.org/browse/SEAM-138
Project: Seam 3 Distribution
Issue Type: Bug
Affects Versions: 3.1.0.Final
Environment: Windows, JBPM 5.3.0 Final, Drools 5.4.0 Final, JBOSS 7.0.2 Final
Reporter: Andrea Carpineti
I believe the issue is related to Seam but I'm not completely sure...
Using the JBPM console sometimes we experienced an issue due to which the deployed
processes are no longer available. They simply disappear.
Although the issue is not always repro we experienced it mainly after several minutes of
use.
Lookin in the {{server.log}} we found the following exceptions:
{quote}
10:41:15,751 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host]]
(http-localhost-127.0.0.1-8080-76) Exception sending request initialized lifecycle event
to listener instance of class org.jboss.seam.transaction.TransactionServletListener:
javax.enterprise.event.ObserverException
at sun.reflect.GeneratedConstructorAccessor243.newInstance(Unknown Source) [:1.6.0_31]
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[:1.6.0_31]
at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [:1.6.0_31]
at java.lang.Class.newInstance0(Class.java:355) [:1.6.0_31]
at java.lang.Class.newInstance(Class.java:308) [:1.6.0_31]
at org.jboss.weld.util.reflection.SecureReflections$16.work(SecureReflections.java:395)
[weld-core-1.1.2.Final.jar:2011-07-26 15:02]
at
org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
[weld-core-1.1.2.Final.jar:2011-07-26 15:02]
at
org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInstantiation(SecureReflectionAccess.java:216)
[weld-core-1.1.2.Final.jar:2011-07-26 15:02]
at
org.jboss.weld.util.reflection.SecureReflections.newInstance(SecureReflections.java:390)
[weld-core-1.1.2.Final.jar:2011-07-26 15:02]
at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:40)
[weld-core-1.1.2.Final.jar:2011-07-26 15:02]
at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:92)
[weld-core-1.1.2.Final.jar:2011-07-26 15:02]
at
org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:214)
[weld-core-1.1.2.Final.jar:2011-07-26 15:02]
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)
[weld-core-1.1.2.Final.jar:2011-07-26 15:02]
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)
[weld-core-1.1.2.Final.jar:2011-07-26 15:02]
at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)
[weld-core-1.1.2.Final.jar:2011-07-26 15:02]
at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)
[weld-core-1.1.2.Final.jar:2011-07-26 15:02]
at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:628)
[weld-core-1.1.2.Final.jar:2011-07-26 15:02]
at org.jboss.weld.event.EventImpl.fire(EventImpl.java:75)
[weld-core-1.1.2.Final.jar:2011-07-26 15:02]
at
org.jboss.seam.transaction.TransactionServletListener.requestInitialized(TransactionServletListener.java:117)
[seam-transaction-3.1.0.Final.jar:]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_31]
Caused by: javax.transaction.NotSupportedException: BaseTransaction.checkTransactionState
- thread is already associated with a transaction!
at
com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:65)
at org.jboss.seam.transaction.UTTransaction.begin(UTTransaction.java:51)
[seam-transaction-3.1.0.Final.jar:]
at
org.jboss.seam.transaction.DefaultSeamTransaction.begin(DefaultSeamTransaction.java:88)
[seam-transaction-3.1.0.Final.jar:]
at
org.jboss.seam.transaction.TransactionServletListener.requestInitialized(TransactionServletListener.java:110)
[seam-transaction-3.1.0.Final.jar:]
... 8 more
Caused by: java.lang.IllegalStateException: BaseTransaction.checkTransactionState - thread
is already associated with a transaction!
at
com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.checkTransactionState(BaseTransaction.java:259)
at
com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:61)
... 11 more
10:41:15,760 WARN [org.jboss.seam.transaction.TransactionServletListener]
(http-localhost-127.0.0.1-8080-76) Error starting the transaction:
javax.transaction.NotSupportedException: BaseTransaction.checkTransactionState - thread is
already associated with a transaction!
at
com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:65)
at org.jboss.seam.transaction.UTTransaction.begin(UTTransaction.java:51)
[seam-transaction-3.1.0.Final.jar:]
at
org.jboss.seam.transaction.DefaultSeamTransaction.begin(DefaultSeamTransaction.java:88)
[seam-transaction-3.1.0.Final.jar:]
at
org.jboss.seam.transaction.TransactionServletListener.requestInitialized(TransactionServletListener.java:110)
[seam-transaction-3.1.0.Final.jar:]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_31]
Caused by: java.lang.IllegalStateException: BaseTransaction.checkTransactionState - thread
is already associated with a transaction!
at
com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.checkTransactionState(BaseTransaction.java:259)
at
com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:61)
... 11 more
10:41:15,762 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host]]
(http-localhost-127.0.0.1-8080-76) Exception sending request initialized lifecycle event
to listener instance of class org.jboss.seam.transaction.TransactionServletListener:
javax.enterprise.event.ObserverException
at sun.reflect.GeneratedConstructorAccessor243.newInstance(Unknown Source) [:1.6.0_31]
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[:1.6.0_31]
at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [:1.6.0_31]
at java.lang.Class.newInstance0(Class.java:355) [:1.6.0_31]
at java.lang.Class.newInstance(Class.java:308) [:1.6.0_31]
at org.jboss.weld.util.reflection.SecureReflections$16.work(SecureReflections.java:395)
[weld-core-1.1.2.Final.jar:2011-07-26 15:02]
at
org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
[weld-core-1.1.2.Final.jar:2011-07-26 15:02]
at
org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInstantiation(SecureReflectionAccess.java:216)
[weld-core-1.1.2.Final.jar:2011-07-26 15:02]
at
org.jboss.weld.util.reflection.SecureReflections.newInstance(SecureReflections.java:390)
[weld-core-1.1.2.Final.jar:2011-07-26 15:02]
at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:40)
[weld-core-1.1.2.Final.jar:2011-07-26 15:02]
at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:92)
[weld-core-1.1.2.Final.jar:2011-07-26 15:02]
at
org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:214)
[weld-core-1.1.2.Final.jar:2011-07-26 15:02]
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)
[weld-core-1.1.2.Final.jar:2011-07-26 15:02]
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)
[weld-core-1.1.2.Final.jar:2011-07-26 15:02]
at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)
[weld-core-1.1.2.Final.jar:2011-07-26 15:02]
at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)
[weld-core-1.1.2.Final.jar:2011-07-26 15:02]
at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:628)
[weld-core-1.1.2.Final.jar:2011-07-26 15:02]
at org.jboss.weld.event.EventImpl.fire(EventImpl.java:75)
[weld-core-1.1.2.Final.jar:2011-07-26 15:02]
at
org.jboss.seam.transaction.TransactionServletListener.requestInitialized(TransactionServletListener.java:117)
[seam-transaction-3.1.0.Final.jar:]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_31]
Caused by: javax.transaction.NotSupportedException: BaseTransaction.checkTransactionState
- thread is already associated with a transaction!
at
com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:65)
at org.jboss.seam.transaction.UTTransaction.begin(UTTransaction.java:51)
[seam-transaction-3.1.0.Final.jar:]
at
org.jboss.seam.transaction.DefaultSeamTransaction.begin(DefaultSeamTransaction.java:88)
[seam-transaction-3.1.0.Final.jar:]
at
org.jboss.seam.transaction.TransactionServletListener.requestInitialized(TransactionServletListener.java:110)
[seam-transaction-3.1.0.Final.jar:]
... 8 more
Caused by: java.lang.IllegalStateException: BaseTransaction.checkTransactionState - thread
is already associated with a transaction!
at
com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.checkTransactionState(BaseTransaction.java:259)
at
com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:61)
... 11 more
{quote}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira