Details
-
Bug
-
Resolution: Done
-
Blocker
-
7.1.0.DR18
Description
We have test which:
- in one thread commands server to shutdown with 30s timeout and sleeps for 20s (in order to keep the server alive).
- in another thread tries to call server (the server is in SUSPENDING phase) so this call should be refused and some exception should be thrown.
It works fine for JTA. But for JTS another call is successfully processed by the the server and no exception is thrown:
13:03:25,167 INFO [ShellRunner] (p: default-threadpool; w: Idle) Executing shell command: '"bin/jboss-cli.sh" --controller=127.0.0.1:42042 -c --command=":shutdown(timeout=30000)"' 13:03:26,842 INFO [org.jboss.as.server] (management-handler-thread - 4) WFLYSRV0211: Suspending server with 30000000 ms timeout. 13:03:26,844 INFO [com.arjuna.ats.jbossatx] (management-handler-thread - 4) ARJUNA032034: Suspending transaction recovery manager 13:03:26,845 INFO [org.jboss.as.ejb3] (management-handler-thread - 4) WFLYEJB0492: EJB subsystem suspension waiting for active transactions, 0 transaction(s) remaining 13:03:28,536 INFO [org.jboss.as.test.jbossts.crashrec.test.JPAGracefulShutdownTestCase] (main) Another calling testXA method for 'serverShouldRefuseStartNewTx' 13:03:28,576 INFO [org.jboss.as.test.jbossts.crashrec.test.JPABaseCrashRecoveryTestCase] (main) Calling testXA method for 'serverShouldRefuseStartNewTx' 13:03:28,583 INFO [org.jboss.as.test.jbossts.crashrec.jpa.JPACrashBean] (p: default-threadpool; w: Idle) JPACrashBean.testXA called with testEntityPK=serverShouldRefuseStartNewTx
Attachments
Issue Links
- is cloned by
-
WFLY-8823 Graceful shutdown doesn't work with JTS
- Closed