Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 48403 invoked from network); 1 Feb 2009 05:09:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Feb 2009 05:09:36 -0000 Received: (qmail 62941 invoked by uid 500); 1 Feb 2009 05:09:24 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 62915 invoked by uid 500); 1 Feb 2009 05:09:24 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 62903 invoked by uid 99); 1 Feb 2009 05:09:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Jan 2009 21:09:24 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of straightflush@gmail.com designates 209.85.200.170 as permitted sender) Received: from [209.85.200.170] (HELO wf-out-1314.google.com) (209.85.200.170) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Feb 2009 05:09:18 +0000 Received: by wf-out-1314.google.com with SMTP id 25so1088774wfc.12 for ; Sat, 31 Jan 2009 21:08:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=SieRHXz04+V09Ju4GyiXl9fmbfqwmw/LzJvm/GUyAtc=; b=LWHtVTHvY1q3caHOAoXHdheAeJfAxofzqNFwQt/FO8MCUfW4/f4MEV7ksjQBEg+o9K Uu3mxuz0xigbXJLKaUyygtjA29zZNDSIH0HmuMCCx4IiIRq5lMUaJQYjQ8nEIFBxNxT+ uGs+bxGjyXXzLIzx4pDMQUlGkV0ZoC02Mt8Tk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=p1CntYMJNYEThkV4qUQ9O9epUmKpYTdwmgQdp+6dCfkhsSpzyVdacAUBalk/Lr3jLz coDOG1RdIswmhxk9cC+nUmLcpZWjKx5S/BrOXlVFD8Je5mXfo7qDLXUncQl99f9IS3lB bWMwOaKD6Dn6zVIGlI4Uk8vKr9w/tAGScqTxc= MIME-Version: 1.0 Received: by 10.142.194.1 with SMTP id r1mr1058567wff.166.1233464938088; Sat, 31 Jan 2009 21:08:58 -0800 (PST) In-Reply-To: <49852D99.4030105@mustardgrain.com> References: <49852D99.4030105@mustardgrain.com> Date: Sun, 1 Feb 2009 00:08:58 -0500 Message-ID: Subject: Re: failed ActiveMQ hangs tomcat From: AD To: Tomcat Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org actually i think i did notice failover() with only 1 address in non-prod. I think the reason that was there was some config templating issue. Are you saying if you remove the failover and just go straight in this might resolve it? Will give it a shot Adam On Sun, Feb 1, 2009 at 12:05 AM, Kirk True wrote: > Hi Adam, > > AD wrote: >> >> hello, >> >> i am running into a situation where if our JMS server is down >> (activemq) the tomcat application does not respond at all. Not sure >> why tomcat is relying so heavily on this connection , any ideas as to >> why this would be ? >> >> > > Does your ActiveMQ connection URL include the failover:// prefix? I've seen > applications hang near-indefinitely trying to fail over to the same (downed) > ActiveMQ server over and over again. > > One way to see where the actual hang is would be to get a thread dump. The > standard 'kill -3 ' of the Tomcat process (on Linux/UNIX) would do the > trick. > > This sounds more like a web application issue than an issue with Tomcat. > Also, if you have integration tests that connect to a live JMS server you > could experiment with 'pulling the cord' and see where it hangs. This would > then remove Tomcat from the equation. > > Kirk > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org