think you could put together a bare-bones unit test that shows this and send it to me?
On Thu, Dec 5, 2013 at 11:06 AM, edbras <z...@debrasjes.com> wrote: > It's working now, but only get this strange shutdown exception at the end > when running it embedded in spring during unit tests. > See error below. > I noticed more people experience this same error, but I can't find a good > way to solve it. Any idea? Strangely I didn't have this with version 5.7.0. > Any idea? > > The error occurres when running unit tests through testNG in eclipse: > ----------------------- > 18:38:51.123 [Thread-7] INFO o.s.c.s.DefaultLifecycleProcessor - Stopping > beans in phase 2147483647 > 18:38:51.135 [xecutor: vm://localhost#0] WARN > o.s.j.c.CachingConnectionFactory - Encountered a JMSException - resetting > the underlying JMS Connection > javax.jms.JMSException: peer (vm://localhost#1) stopped. > at > org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:54) > ~[activemq-client-5.9.0.jar:5.9.0] > at > org.apache.activemq.ActiveMQConnection.onAsyncException(ActiveMQConnection.java:1983) > ~[activemq-client-5.9.0.jar:5.9.0] > at > org.apache.activemq.ActiveMQConnection.onException(ActiveMQConnection.java:2002) > ~[activemq-client-5.9.0.jar:5.9.0] > at > org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:101) > ~[activemq-client-5.9.0.jar:5.9.0] > at > org.apache.activemq.transport.ResponseCorrelator.onException(ResponseCorrelator.java:126) > ~[activemq-client-5.9.0.jar:5.9.0] > at > org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:101) > ~[activemq-client-5.9.0.jar:5.9.0] > at > org.apache.activemq.transport.vm.VMTransport.stop(VMTransport.java:205) > ~[activemq-broker-5.9.0.jar:5.9.0] > at > org.apache.activemq.transport.TransportFilter.stop(TransportFilter.java:65) > ~[activemq-client-5.9.0.jar:5.9.0] > at > org.apache.activemq.transport.TransportFilter.stop(TransportFilter.java:65) > ~[activemq-client-5.9.0.jar:5.9.0] > at > org.apache.activemq.transport.ResponseCorrelator.stop(ResponseCorrelator.java:132) > ~[activemq-client-5.9.0.jar:5.9.0] > at > org.apache.activemq.broker.TransportConnection.doStop(TransportConnection.java:1071) > ~[activemq-broker-5.9.0.jar:5.9.0] > at > org.apache.activemq.broker.TransportConnection$4.run(TransportConnection.java:1037) > ~[activemq-broker-5.9.0.jar:5.9.0] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > ~[na:1.7.0_25] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > ~[na:1.7.0_25] > at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25] > Caused by: org.apache.activemq.transport.TransportDisposedIOException: peer > (vm://localhost#1) stopped. > ... 9 common frames omitted > > ... > ... > ... > 18:38:51.163 [ActiveMQ ShutdownHook] INFO > o.a.a.s.kahadb.plist.PListStoreImpl - > PListStore:[D:\data\bv\dev\activemq\data\localhost\tmp_storage] stopped > 18:38:51.163 [ActiveMQ ShutdownHook] INFO o.a.a.store.kahadb.KahaDBStore - > Stopping async queue tasks > 18:38:51.163 [ActiveMQ ShutdownHook] INFO o.a.a.store.kahadb.KahaDBStore - > Stopping async topic tasks > 18:38:51.163 [ActiveMQ ShutdownHook] INFO o.a.a.store.kahadb.KahaDBStore - > Stopped KahaDB > 18:38:51.637 [ActiveMQ ShutdownHook] INFO > o.a.activemq.broker.BrokerService - Apache ActiveMQ 5.9.0 (localhost, > ID:XXX-55175-1386264293932-0:1) uptime 13 minutes > 18:38:51.637 [ActiveMQ ShutdownHook] INFO > o.a.activemq.broker.BrokerService - Apache ActiveMQ 5.9.0 (localhost, > ID:XXX-55175-1386264293932-0:1) is shutdown > > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/When-will-activemq-core-5-9-be-present-in-maven-central-repo-tp4675087p4675213.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta