Skip to content

Instantly share code, notes, and snippets.

@scottmarlow
Created August 19, 2014 19:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottmarlow/0151c9ac776f090e3f43 to your computer and use it in GitHub Desktop.
Save scottmarlow/0151c9ac776f090e3f43 to your computer and use it in GitHub Desktop.
tx timeout with servlet + ut
2014-08-19 15:05:38,511 TRACE [org.jboss.as.jpa] (MSC service thread 1-4) install persistence unit definitions for war TxTimeoutTestCase.war
2014-08-19 15:05:38,511 TRACE [org.jboss.as.jpa] (MSC service thread 1-4) adding 'vfs:/content/TxTimeoutTestCase.war/WEB-INF/classes/' to annotation index map
2014-08-19 15:05:38,512 TRACE [org.jboss.as.jpa] (MSC service thread 1-4) returning global (module) Persistence Provider org.hibernate.jpa.HibernatePersistenceProvider
2014-08-19 15:05:38,512 TRACE [org.jboss.as.jpa] (MSC service thread 1-4) returning global (module) Persistence Provider org.hibernate.ejb.HibernatePersistence
2014-08-19 15:05:38,513 TRACE [org.jboss.as.jpa] (MSC service thread 1-4) added PersistenceUnitService (phase 2 of 2) for 'service jboss.persistenceunit."TxTimeoutTestCase.war#mypc"'. PU is ready for injector action.
2014-08-19 15:05:38,520 INFO [org.jboss.as.arquillian] (MSC service thread 1-2) Arquillian deployment detected: ArquillianConfig[service=jboss.arquillian.config."TxTimeoutTestCase.war",unit=TxTimeoutTestCase.war,tests=[org.jboss.as.test.integration.jpa.txtimeout.TxTimeoutTestCase]]
2014-08-19 15:05:38,521 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 70) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service 'TxTimeoutTestCase.war#mypc'
2014-08-19 15:05:38,528 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 70) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2014-08-19 15:05:38,529 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 70) HHH000431: Unable to determine H2 database version, certain features may not work
2014-08-19 15:05:38,533 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 70) HHH000397: Using ASTQueryTranslatorFactory
2014-08-19 15:05:38,546 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 70) HHH000227: Running hbm2ddl schema export
2014-08-19 15:05:38,547 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 70) HHH000230: Schema export complete
2014-08-19 15:05:38,561 INFO [org.wildfly.extension.undertow] (MSC service thread 1-7) WFLYUT0021: Registered web context: /TxTimeoutTestCase
2014-08-19 15:05:38,662 INFO [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0010: Deployed "TxTimeoutTestCase.war" (runtime-name : "TxTimeoutTestCase.war")
2014-08-19 15:05:43,769 WARN [com.arjuna.ats.arjuna] (Transaction Reaper) ARJUNA012117: TransactionReaper::check timeout for TX 0:ffff7f000001:-7a5c7c9:53f397da:84 in state RUN
2014-08-19 15:05:43,771 WARN [com.arjuna.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012095: Abort of action id 0:ffff7f000001:-7a5c7c9:53f397da:84 invoked while multiple threads active within it.
2014-08-19 15:05:43,776 WARN [com.arjuna.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012108: CheckedAction::check - atomic action 0:ffff7f000001:-7a5c7c9:53f397da:84 aborting with 1 threads active!
2014-08-19 15:05:43,778 WARN [com.arjuna.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012121: TransactionReaper::doCancellations worker Thread[Transaction Reaper Worker 0,5,main] successfully canceled TX 0:ffff7f000001:-7a5c7c9:53f397da:84
2014-08-19 15:05:48,770 INFO [stdout] (default task-5) after ten second sleep (tx should of rolled back by now), application transaction status = 4
2014-08-19 15:05:48,773 INFO [stdout] (default task-5) persistence context contains invalid state, as last written entity was not detached.
2014-08-19 15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment