From users-return-16959-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Wed Nov 19 15:56:12 2008 Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 69900 invoked from network); 19 Nov 2008 15:56:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Nov 2008 15:56:12 -0000 Received: (qmail 67582 invoked by uid 500); 19 Nov 2008 15:56:19 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 67560 invoked by uid 500); 19 Nov 2008 15:56:19 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 67549 invoked by uid 99); 19 Nov 2008 15:56:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Nov 2008 07:56:19 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bmurphy1976@gmail.com designates 209.85.128.186 as permitted sender) Received: from [209.85.128.186] (HELO fk-out-0910.google.com) (209.85.128.186) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Nov 2008 15:54:57 +0000 Received: by fk-out-0910.google.com with SMTP id z22so13063fkz.6 for ; Wed, 19 Nov 2008 07:55:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=0XA/3iKO71AA8sORkchsZ2JcpfgynsLGGsJysIcOtrM=; b=LcDzHNEIQTnGaPE0edGXB990Yeas8ppZFfy/lbbWlRbpV7brbUDKjzOu3H5Vqao5vz 1h12o22w2DoBQ1dBahpRd+jLgV+6kLrSCh1H/Y69OjWprZ/9VgVBB0pSSyTMbh5JzPin zUnSwgsMlkAmjqJgC5feujJTYRFJ1JqPmoyvg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=gZrfWeNudFdjuh/nhjWxS14N5A39HFPoJxUkPebCn/F85A6dlXuOAMPRFumnn5Hbqu rElhJ0D+O30SOjRtxGeUo79xK4inkWvwpOoZv3Sr2idvNZ8j3IAJpd2ARxmn2Hpm0g9V iVbGv2Zk5CdVEObcV0B//IxreXbk8EmiW1s3c= Received: by 10.181.159.17 with SMTP id l17mr373596bko.14.1227110130256; Wed, 19 Nov 2008 07:55:30 -0800 (PST) Received: by 10.180.244.6 with HTTP; Wed, 19 Nov 2008 07:55:30 -0800 (PST) Message-ID: <7fd310d10811190755y13365ecby242f6ad558d51c21@mail.gmail.com> Date: Wed, 19 Nov 2008 09:55:30 -0600 From: "Bryan Murphy" To: users@activemq.apache.org Subject: Nms Reconnect MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_95970_8043227.1227110130234" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_95970_8043227.1227110130234 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hey guys, I'm still having trouble with the reliability of connections to our message bus server when using NMS. Our ActiveMQ server dies with with OutOfMemory exceptions about once per week. At least until 5.2 comes out, I'd like to automate a nightly restart of the ActiveMQ server, and this leads to my other problem: I just can't seem to figure out how to get my .NET services to automatically reconnect to the message bus when it comes back up. ActiveMQ server goes down, clients lose connection, ActiveMQ server comes up, clients never reconnect until I manually restart them. I don't know what I'm doing wrong, I've tried setting prefetch values, transport timeouts, connection timeouts, failover, nothing works. I have a trunk build that is about a month old, but I can easily make a new build. What do I need to do to ensure that our .NET clients will reliably re-connect to the server when I bounce it? Thanks, Bryan ------=_Part_95970_8043227.1227110130234--