I am using ActiveMQ 4.1.0, and as far as I see know, an issue has been created for 4.1.1:
https://issues.apache.org/activemq/browse/AMQ-1383 rajdavies wrote: > > is this the latest snapshot for 5.0 you are using ? > > On Oct 15, 2007, at 10:18 AM, Motl wrote: > >> >> Hi, >> I got an error while stopping embedded broker: >> >> 15.10.2007 11:10:15 org.apache.activemq.broker.BrokerService stop >> INFO: ActiveMQ Message Broker (localhost, >> ID:sunrise-1826-1192432151093-1:0) >> is shutting down >> 15.10.2007 11:10:16 org.apache.activemq.broker.TransportConnector stop >> INFO: Connector tcp://sunrise:61616 Stopped >> 15.10.2007 11:10:16 org.apache.activemq.broker.TransportConnector stop >> INFO: Connector vm://localhost Stopped >> 15.10.2007 11:10:16 org.apache.activemq.util.ServiceStopper logError >> SEVERE: Could not stop service: >> [EMAIL PROTECTED] >> Reason: >> java.lang.ClassCastException: >> org.apache.activemq.store.journal.JournalPersistenceAdapter$1 >> java.lang.ClassCastException: >> org.apache.activemq.store.journal.JournalPersistenceAdapter$1 >> at >> edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExec >> utor$ScheduledFutureTask.compareTo(ScheduledThreadPoolExecutor.java: >> 189) >> at >> edu.emory.mathcs.backport.java.util.PriorityQueue.remove >> (PriorityQueue.java:507) >> at >> edu.emory.mathcs.backport.java.util.concurrent.DelayQueue.remove >> (DelayQueue.java:379) >> at >> edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExec >> utor$DelayedWorkQueue.remove(ScheduledThreadPoolExecutor.java:707) >> at >> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.remo >> ve(ThreadPoolExecutor.java:1582) >> at org.apache.activemq.thread.Scheduler.cancel(Scheduler.java:55) >> at >> org.apache.activemq.store.journal.JournalPersistenceAdapter.stop >> (JournalPersistenceAdapter.java:238) >> at org.apache.activemq.util.ServiceStopper.stop >> (ServiceStopper.java:42) >> at org.apache.activemq.broker.BrokerService.stop >> (BrokerService.java:443) >> at src.EmbeddedBrokerTest.stopBroker(EmbeddedBrokerTest.java:19) >> at src.EmbeddedBrokerTest.main(EmbeddedBrokerTest.java:53) >> 15.10.2007 11:10:16 org.apache.activemq.broker.BrokerService stop >> INFO: ActiveMQ JMS Message Broker (localhost, >> ID:sunrise-1826-1192432151093-1:0) stopped >> error occured: >> org.apache.activemq.store.journal.JournalPersistenceAdapter$1 >> -- >> View this message in context: http://www.nabble.com/error-stopping- >> broker-tf4625679s2354.html#a13209331 >> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com. >> > > > -- View this message in context: http://www.nabble.com/error-stopping-broker-tf4625679s2354.html#a13210069 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
