[ 
https://issues.apache.org/activemq/browse/AMQ-2005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gary Tully resolved AMQ-2005.
-----------------------------

    Resolution: Fixed

> javax.jms.JMSException: Timer already cancelled.
> ------------------------------------------------
>
>                 Key: AMQ-2005
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2005
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.2.0
>         Environment: all
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>             Fix For: 5.3.0
>
>
> Occasionally from:
> IndividualDeadLetterViaXmlTest.testDurableTopicMessage  
> (org.apache.activemq.broker.policy)
> {code}
> javax.jms.JMSException: Timer already cancelled.
> at 
> org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:49)
> at 
> org.apache.activemq.TransactionContext.afterRollback(TransactionContext.java:138)
> at 
> org.apache.activemq.TransactionContext.rollback(TransactionContext.java:237)
> at org.apache.activemq.ActiveMQSession.rollback(ActiveMQSession.java:522)
> at 
> org.apache.activemq.broker.policy.DeadLetterTest.consumeAndRollback(DeadLetterTest.java:68)
> at 
> org.apache.activemq.broker.policy.DeadLetterTest.doTest(DeadLetterTest.java:52)
> at 
> org.apache.activemq.broker.policy.DeadLetterTestSupport.testDurableTopicMessage(DeadLetterTestSupport.java:154)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at junit.framework.TestCase.runTest(TestCase.java:154)
> at junit.framework.TestCase.runBare(TestCase.java:127)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
> at 
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
> at 
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:160)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:81)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at 
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:182)
> at 
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:743)
> Caused by: java.lang.IllegalStateException: Timer already cancelled.
> at java.util.Timer.sched(Timer.java:354)
> at java.util.Timer.schedule(Timer.java:170)
> at org.apache.activemq.thread.Scheduler.executeAfterDelay(Scheduler.java:52)
> at 
> org.apache.activemq.ActiveMQMessageConsumer.rollback(ActiveMQMessageConsumer.java:972)
> at 
> org.apache.activemq.ActiveMQMessageConsumer$4.afterRollback(ActiveMQMessageConsumer.java:832)
> at 
> org.apache.activemq.TransactionContext.afterRollback(TransactionContext.java:133)
> ... 31 more
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to