Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 66713 invoked from network); 23 Aug 2010 22:03:10 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Aug 2010 22:03:10 -0000 Received: (qmail 51462 invoked by uid 500); 23 Aug 2010 22:03:10 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 51390 invoked by uid 500); 23 Aug 2010 22:03:09 -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 51382 invoked by uid 99); 23 Aug 2010 22:03:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Aug 2010 22:03:09 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Aug 2010 22:03:08 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7NM2mjt012812 for ; Mon, 23 Aug 2010 22:02:48 GMT Message-ID: <19742295.13051282600968219.JavaMail.jira@thor> Date: Mon, 23 Aug 2010 18:02:48 -0400 (EDT) From: "Manjuram Perumalla (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQ-2497) Message broker won't come back when the databse goes offline and comes back online In-Reply-To: <907181300.1258395712724.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c [ https://issues.apache.org/activemq/browse/AMQ-2497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61346#action_61346 ] Manjuram Perumalla commented on AMQ-2497: ----------------------------------------- I've added 'useDatabaseLock=false' to the database persistence adapter to disable db failover. This setting is working for us. Maybe this setting should be set to false by default (out-of-the-box) and let the users change it if they add database failover. Or improve the documentation. >From the Javadoc of JDBCPersistenceAdapter, "Sets whether or not an exclusive database lock should be used to enable JDBC Master/Slave. Enabled by default." > Message broker won't come back when the databse goes offline and comes back online > ---------------------------------------------------------------------------------- > > Key: AMQ-2497 > URL: https://issues.apache.org/activemq/browse/AMQ-2497 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.3.0 > Environment: MS SQL 2000,2005,2008 > Reporter: hiskill > Priority: Blocker > Fix For: 5.4.1 > > > - deployed ActiveMQ 5.3.0 as RAR on JBoss > - broker comes up fine > - at some point database goes offline > - broker can't communicate with database and shuts down > - now database comes back online > - borker will never come back again and will have to restart the JBoss manually again to start the broker > This will be a blocker for us to go to production as there is no availability of broker when database goes offline and comes back. > Here is my broker-config.xml, let me know if any configuration is missing : > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.