Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 69101 invoked from network); 23 Dec 2008 14:28:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Dec 2008 14:28:30 -0000 Received: (qmail 36483 invoked by uid 500); 23 Dec 2008 14:28:30 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 36455 invoked by uid 500); 23 Dec 2008 14:28:29 -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 36444 invoked by uid 99); 23 Dec 2008 14:28:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Dec 2008 06:28:29 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Dec 2008 14:28:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A2B22234C463 for ; Tue, 23 Dec 2008 06:28:06 -0800 (PST) Message-ID: <946105835.1230042486665.JavaMail.jira@brutus> Date: Tue, 23 Dec 2008 06:28:06 -0800 (PST) From: "Dejan Bosanac (JIRA)" To: dev@activemq.apache.org Subject: [jira] Resolved: (AMQ-2038) Broker parameter systemExitOnShutdown="true" not being honored when persistence adapter file system is unavailable In-Reply-To: <733800561.1229613365406.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-2038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dejan Bosanac resolved AMQ-2038. -------------------------------- Resolution: Fixed Fix Version/s: 5.3.0 Fixed in SVN revision 728964. > Broker parameter systemExitOnShutdown="true" not being honored when persistence adapter file system is unavailable > ------------------------------------------------------------------------------------------------------------------ > > Key: AMQ-2038 > URL: https://issues.apache.org/activemq/browse/AMQ-2038 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.0.0 > Environment: Windows XP x86 > Reporter: Wilson Freitas > Assignee: Dejan Bosanac > Fix For: 5.3.0 > > > The broker parameter systemExitOnShutdown="true" is not being honored when persistence adapter file system is unavailable. > To reproduce the problem: > - Use journaling persistence pointing to an USB drive diretory. > - Make sure the broker is configured with systemExitOnShutdown="true": > ... > - After the broker is running send some messages to a queue. > - Unplug the USB drive. > - Try to send more messages. The broker will reject the messages and report the following exception: > javax.jms.JMSException: The volume for a file has been externally altered so that the opened file is no longer valid > at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:49) > at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1203) > at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1648) > at org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:227) > at org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:241) > at org.apache.servicemix.jms.multiplexing.MultiplexingProviderProcessor.process(MultiplexingProviderProcessor.java:114) > at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:540) > at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:492) > at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46) > at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:621) > at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172) > at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167) > at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) > at java.lang.Thread.run(Thread.java:595) > Caused by: java.io.IOException: The volume for a file has been externally altered so that the opened file is no longer valid > at sun.nio.ch.FileChannelImpl.force0(Native Method) > at sun.nio.ch.FileChannelImpl.force(FileChannelImpl.java:359) > at org.apache.activeio.journal.active.LogFile.force(LogFile.java:102) > at org.apache.activeio.journal.active.LogFileManager.append(LogFileManager.java:308) > at org.apache.activeio.journal.active.JournalImpl.queuedWrite(JournalImpl.java:256) > at org.apache.activeio.journal.active.JournalImpl.access$000(JournalImpl.java:62) > at org.apache.activeio.journal.active.JournalImpl$2.run(JournalImpl.java:229) > at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665) > at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690) > ... 1 more > This error is not being detected by the broker as a fatal error and the broker is not going down automatically. The issue was reported by a Servicemix user and it is expected that after the AMQ broker goes down SMX must goes down too. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.