Details
-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
EAP 6.0.0 ER 1
-
None
-
Not Yet Documented
-
NEW
Description
There is npe in log of org.hornetq.tests.unit.core.persistence.impl.OperationContextUnitTest which is the same as described in original jira JBPAPP-7628.
Exception:
[junit] java.util.concurrent.RejectedExecutionException [junit] at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1768) [junit] at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:767) [junit] at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:658) [junit] at java.util.concurrent.Executors$DelegatedExecutorService.execute(Executors.java:590) [junit] at org.hornetq.core.persistence.impl.journal.OperationContextImpl.execute(OperationContextImpl.java:231) [junit] at org.hornetq.core.persistence.impl.journal.OperationContextImpl.checkTasks(OperationContextImpl.java:210) [junit] at org.hornetq.core.persistence.impl.journal.OperationContextImpl.done(OperationContextImpl.java:196) [junit] at org.hornetq.tests.unit.core.persistence.impl.OperationContextUnitTest.testCaptureExceptionOnExecutor(OperationContextUnitTest.java:154) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [junit] at java.lang.reflect.Method.invoke(Method.java:597) [junit] at junit.framework.TestCase.runTest(TestCase.java:164) [junit] at junit.framework.TestCase.runBare(TestCase.java:130) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:120) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:230) [junit] at junit.framework.TestSuite.run(TestSuite.java:225) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:743)
Description from original jira JBPAPP-7628:
RejectedExecutionException during EAP server shutdown.
Test scenario:
1. Start server A (messaging-19) and B (messaging-20) in collocated topology - servers contain backup for each other
2. Send messages to queue/InQueue to server A
3. Deploy mdb to server A and B - mdb read messages from queue/InQueue and sends to queue/OutQueue
4. During step 3. kill server A
5. Start server A again
6. Shutdown server A and B (ctrl-c)
log:
[JBoss] java.util.concurrent.RejectedExecutionException
[JBoss] at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1768)
[JBoss] at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:767)
[JBoss] at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:215)
[JBoss] at java.util.concurrent.ScheduledThreadPoolExecutor.scheduleWithFixedDelay(ScheduledThreadPoolExecutor.java:443)
[JBoss] at org.hornetq.core.server.impl.QueueImpl.<init>(QueueImpl.java:306)
[JBoss] at org.hornetq.core.server.impl.QueueFactoryImpl.createQueue(QueueFactoryImpl.java:97)
[JBoss] at org.hornetq.core.server.impl.HornetQServerImpl.loadJournals(HornetQServerImpl.java:1553)
[JBoss] at org.hornetq.core.server.impl.HornetQServerImpl.initialisePart2(HornetQServerImpl.java:1429)
[JBoss] at org.hornetq.core.server.impl.HornetQServerImpl.access$1200(HornetQServerImpl.java:137)
[JBoss] at org.hornetq.core.server.impl.HornetQServerImpl$SharedStoreBackupActivation.run(HornetQServerImpl.java:1935)
[JBoss] at java.lang.Thread.run(Thread.java:662)
Link to hudson job:
https://hudson.qa.jboss.com/hudson/view/EAP6/view/EAP6-HornetQ/job/eap-60-hornetq-testsuite-solaris/jdk=java16_default,label=sol10_x86/6/consoleText
Attachments
Issue Links
- is cloned by
-
JBPAPP-7628 RejectedExecutionException during EAP server shutdown
- Closed