From dev-return-27339-apmail-activemq-dev-archive=activemq.apache.org@activemq.apache.org Fri Jul 1 20:55:52 2011 Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 624AC48F8 for ; Fri, 1 Jul 2011 20:55:52 +0000 (UTC) Received: (qmail 62251 invoked by uid 500); 1 Jul 2011 20:55:51 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 61131 invoked by uid 500); 1 Jul 2011 20:55:50 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 61120 invoked by uid 99); 1 Jul 2011 20:55:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jul 2011 20:55:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jul 2011 20:55:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A52A343F3B3 for ; Fri, 1 Jul 2011 20:55:28 +0000 (UTC) Date: Fri, 1 Jul 2011 20:55:28 +0000 (UTC) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Message-ID: <934103972.9719.1309553728673.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (AMQ-2363) Client using 41 API and Server is running on 5.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-2363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Bish closed AMQ-2363. ----------------------------- Resolution: Incomplete No test case and at this point 4.1 is EOL. > Client using 41 API and Server is running on 5.2 > ------------------------------------------------ > > Key: AMQ-2363 > URL: https://issues.apache.org/jira/browse/AMQ-2363 > Project: ActiveMQ > Issue Type: Bug > Affects Versions: 4.1.2, 5.2.0 > Environment: linux 32 bit -2.6.18-92.el5 i686 i686 i386 GNU/Linux-, jre1.6.0_10 > Reporter: rk > Fix For: 5.6.0 > > > We are running ActiveMQ ver 5.2 server, all the clients are using Activemq 4.1.1to connect to the same server. > It works fine for sometime but after that if we restart the activmq server we see the following error. As it works some time and doesnt work few times we are not sure if we have to change the client API to Activemq 5.2. Any comment on this will be helpful. > ---------------------------------------------------------------------------------------------------------------------------------------------------------------- > INFO | jvm 1 | 2009/08/23 02:36:01 | [ERROR] 02:36:01 AbstractStoreCursor - Failed to fill batch > INFO | jvm 1 | 2009/08/23 02:36:01 | java.io.IOException: Failed to read to journal for: offset = 692, file = 1, size = 0, type = 0. Reason: java.io.IOException: Invalid location: offset = 692, file = 1, size = 0, type = 0, : java.lang.NegativeArraySizeException > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:33) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.store.amq.AMQPersistenceAdapter.createReadException(AMQPersistenceAdapter.java:647) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.store.amq.AMQPersistenceAdapter.readCommand(AMQPersistenceAdapter.java:533) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.store.amq.AMQMessageStore.getMessage(AMQMessageStore.java:435) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.store.amq.RecoveryListenerAdapter.recoverMessageReference(RecoveryListenerAdapter.java:54) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.store.kahadaptor.KahaReferenceStore.recoverReference(KahaReferenceStore.java:82) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.store.kahadaptor.KahaReferenceStore.recoverNextMessages(KahaReferenceStore.java:120) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.store.amq.AMQMessageStore.recoverNextMessages(AMQMessageStore.java:533) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.broker.region.cursors.QueueStorePrefetch.doFillBatch(QueueStorePrefetch.java:75) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.broker.region.cursors.AbstractStoreCursor.fillBatch(AbstractStoreCursor.java:227) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.broker.region.cursors.AbstractStoreCursor.reset(AbstractStoreCursor.java:100) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.broker.region.cursors.StoreQueueCursor.reset(StoreQueueCursor.java:157) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.broker.region.Queue.doPageIn(Queue.java:1179) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.broker.region.Queue.addSubscription(Queue.java:237) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.broker.region.AbstractRegion.addConsumer(AbstractRegion.java:275) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.broker.region.RegionBroker.addConsumer(RegionBroker.java:372) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.broker.BrokerFilter.addConsumer(BrokerFilter.java:86) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.broker.BrokerFilter.addConsumer(BrokerFilter.java:86) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.advisory.AdvisoryBroker.addConsumer(AdvisoryBroker.java:83) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.broker.BrokerFilter.addConsumer(BrokerFilter.java:86) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.broker.MutableBrokerFilter.addConsumer(MutableBrokerFilter.java:93) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.broker.TransportConnection.processAddConsumer(TransportConnection.java:541) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.command.ConsumerInfo.visit(ConsumerInfo.java:345) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:305) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:179) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:143) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:206) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:84) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:203) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:185) > INFO | jvm 1 | 2009/08/23 02:36:01 | at java.lang.Thread.run(Unknown Source) > INFO | jvm 1 | 2009/08/23 02:36:01 | Caused by: java.io.IOException: Invalid location: offset = 692, file = 1, size = 0, type = 0, : java.lang.NegativeArraySizeException > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.kaha.impl.async.DataFileAccessor.readRecord(DataFileAccessor.java:94) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.kaha.impl.async.AsyncDataManager.read(AsyncDataManager.java:624) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.store.amq.AMQPersistenceAdapter.readCommand(AMQPersistenceAdapter.java:530) > INFO | jvm 1 | 2009/08/23 02:36:01 | ... 29 more > INFO | jvm 1 | 2009/08/23 02:36:01 | [ERROR] 02:36:01 AbstractStoreCursor - Failed to fill batch > INFO | jvm 1 | 2009/08/23 02:36:01 | java.lang.RuntimeException: java.io.IOException: Failed to read to journal for: offset = 692, file = 1, size = 0, type = 0. Reason: java.io.IOException: Invalid location: offset = 692, file = 1, size = 0, type = 0, : java.lang.NegativeArraySizeException > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.broker.region.cursors.AbstractStoreCursor.fillBatch(AbstractStoreCursor.java:230) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.broker.region.cursors.AbstractStoreCursor.reset(AbstractStoreCursor.java:100) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.broker.region.cursors.StoreQueueCursor.reset(StoreQueueCursor.java:157) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.broker.region.Queue.doPageIn(Queue.java:1179) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.broker.region.Queue.addSubscription(Queue.java:237) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.broker.region.AbstractRegion.addConsumer(AbstractRegion.java:275) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.broker.region.RegionBroker.addConsumer(RegionBroker.java:372) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.broker.BrokerFilter.addConsumer(BrokerFilter.java:86) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.broker.BrokerFilter.addConsumer(BrokerFilter.java:86) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.advisory.AdvisoryBroker.addConsumer(AdvisoryBroker.java:83) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.broker.BrokerFilter.addConsumer(BrokerFilter.java:86) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.broker.MutableBrokerFilter.addConsumer(MutableBrokerFilter.java:93) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.broker.TransportConnection.processAddConsumer(TransportConnection.java:541) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.command.ConsumerInfo.visit(ConsumerInfo.java:345) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:305) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:179) > INFO | jvm 1 | 2009/08/23 02:36:01 | at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68) > INFO | jvm 1 | 2009/08/23 02:36:01 | -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira