Thanks for the quick response. When we switch the broker from 4.1 to 4.2, can the ActiveMQ client (compiled using JDK 1.4) continue to use 4.1 jars to talk to a 4.2 broker?
Po rajdavies wrote: > > kaha is fixed in 4.2 - but we've also changed the default storage - > to use a mix of the journal and kaha - I'll try document it soon! > > cheers, > > Rob > > On 21 Mar 2007, at 19:12, Po Cheung wrote: > >> >> ActiveMQ was consuming 100% cpu for over 12 hours after the >> restart. Here is >> a partial thread dump: >> >> "WrapperSimpleAppMain" prio=1 tid=0x08389780 nid=0x2847 runnable >> [0xf19fd000..0xf19ff1b0] >> at >> org.apache.activemq.kaha.impl.index.IndexItem.read(IndexItem.java:141) >> at >> org.apache.activemq.kaha.impl.index.StoreIndexReader.readItem >> (StoreIndexReader.java:50) >> at >> org.apache.activemq.kaha.impl.index.IndexManager.getIndex >> (IndexManager.java:64) >> - locked <0x6f4302a0> (a >> org.apache.activemq.kaha.impl.index.IndexManager) >> at >> org.apache.activemq.kaha.impl.KahaStore.generateInterestInMapDataFiles >> (KahaStore.java:516) >> at >> org.apache.activemq.kaha.impl.KahaStore.initialize(KahaStore.java:414) >> - locked <0x6f42a090> (a >> org.apache.activemq.kaha.impl.KahaStore) >> at >> org.apache.activemq.kaha.impl.KahaStore.getMapContainer >> (KahaStore.java:184) >> - locked <0x6f42a090> (a >> org.apache.activemq.kaha.impl.KahaStore) >> at >> org.apache.activemq.kaha.impl.KahaStore.getMapContainer >> (KahaStore.java:179) >> at >> org.apache.activemq.store.kahadaptor.KahaPersistenceAdapter.createTran >> sactionStore(KahaPersistenceAdapter.java:128) >> at >> org.apache.activemq.broker.BrokerService.addInterceptors >> (BrokerService.java:1301) >> at >> org.apache.activemq.broker.BrokerService.createBroker >> (BrokerService.java:1210) >> at >> org.apache.activemq.broker.BrokerService.getBroker >> (BrokerService.java:508) >> at >> org.apache.activemq.broker.BrokerService.start(BrokerService.java:394) >> . . . >> >> Po >> >> >> Po Cheung wrote: >>> >>> ActiveMQ was restarted but did not come up successfully. Clients >>> could >>> not connect to it. >>> >>> 2007-03-16 14:43:11,026 [WrapperSimpleAppMain] INFO >>> (BrokerService.java:505) - ActiveMQ 4.1-SNAPSHOT JMS Message Broker >>> (localhost) is starting >>> 2007-03-16 14:43:11,030 [WrapperSimpleAppMain] INFO >>> (BrokerService.java:507) - For help or more information please see: >>> http://incubator.apache.org/activemq/ >>> 2007-03-16 14:43:11,151 [WrapperSimpleAppMain] INFO >>> (KahaStore.java:393) >>> - Kaha Store using data directory >>> /opt/activemq/bin/linux/../../activemq-data/kaha.db >>> 2007-03-16 14:43:11,204 [JMX connector] INFO >>> (ManagementContext.java:91) >>> - JMX consoles can connect to >>> service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi >>> [END of activemq.log] >>> >>> The log for a successful startup would look like this: >>> >>> 2007-03-15 15:05:24,566 [WrapperSimpleAppMain] INFO >>> (BrokerService.java:505) - ActiveMQ 4.1-SNAPSHOT JMS Message Broker >>> (localhost) is starting >>> 2007-03-15 15:05:24,592 [WrapperSimpleAppMain] INFO >>> (BrokerService.java:507) - For help or more information please see: >>> http://incubator.apache.org/activemq/ >>> 2007-03-15 15:05:24,740 [WrapperSimpleAppMain] INFO >>> (KahaStore.java:393) >>> - Kaha Store using data directory >>> /opt/activemq/bin/linux/../../activemq-data/kaha.db >>> 2007-03-15 15:05:24,811 [JMX connector] INFO >>> (ManagementContext.java:91) >>> - JMX consoles can connect to >>> service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi >>> 2007-03-15 15:05:24,841 [WrapperSimpleAppMain] INFO >>> (TransportServerThreadSupport.java:72) - Listening for connections >>> at: >>> tcp://rh120.godzilla.local:61616 >>> . . . >>> >>> Details: >>> * ActiveMQ 4.1.1 snapshot >>> * Kaha persistence >>> * Persistent queues >>> * Linux RedHat 4.0 >>> >>> >>> >> >> -- >> View this message in context: http://www.nabble.com/ActiveMQ-Kaha- >> restart-failed-tf3440697s2354.html#a9599667 >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> > > > -- View this message in context: http://www.nabble.com/ActiveMQ-Kaha-restart-failed-tf3440697s2354.html#a9604648 Sent from the ActiveMQ - User mailing list archive at Nabble.com.