Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 70774 invoked from network); 8 Dec 2006 12:10:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Dec 2006 12:10:55 -0000 Received: (qmail 32726 invoked by uid 500); 8 Dec 2006 12:11:03 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 32704 invoked by uid 500); 8 Dec 2006 12:11:03 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 32695 invoked by uid 99); 8 Dec 2006 12:11:03 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Dec 2006 04:11:03 -0800 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=MAILTO_TO_SPAM_ADDR,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of james.strachan@gmail.com designates 66.249.92.175 as permitted sender) Received: from [66.249.92.175] (HELO ug-out-1314.google.com) (66.249.92.175) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Dec 2006 04:10:52 -0800 Received: by ug-out-1314.google.com with SMTP id m2so997603ugc for ; Fri, 08 Dec 2006 04:10:30 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QfmDabOVs9IhQ+URciHxEb3H4pKcAkqrYvyr0p2rbmUvKQwhzlEWH9PC1QQBdhgySuXaKDCeJQcy+wB3XfwCuCgR2UWgFPgbIJtfaY/M/WzJ9iY6fQxGlBvC6/LFtnelZK4LH8XwrKk8X5zIpM1/bBOgNlkGs6/vkBhg+OS0EF0= Received: by 10.78.21.7 with SMTP id 7mr1703329huu.1165579830356; Fri, 08 Dec 2006 04:10:30 -0800 (PST) Received: by 10.78.155.4 with HTTP; Fri, 8 Dec 2006 04:10:30 -0800 (PST) Message-ID: Date: Fri, 8 Dec 2006 12:10:30 +0000 From: "James Strachan" To: activemq-users@geronimo.apache.org Subject: Re: ActiveMQ connection problems In-Reply-To: <7751143.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7751143.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Try using a failover URL http://incubator.apache.org/activemq/how-can-i-support-auto-reconnection.html On 12/8/06, avin98 wrote: > > I have defined my JMS resources within the resource plan. I define a resource > adapter somewhat similar to this. > However the point of importance here is that I define my Active MQ to be > hosted on a different server location as follows: > > > tcp://server2:61616 > > > > the problem that I am facing is that everytime, I restart the server2, I > need to correspondingly restart my server on localhost. Can this be avoided > somehow ? > > I get a javax.jms.JMSException: syncSendTimedOut: connection no longer OK > > if I don't restart my server > > --------------------------------------------------------------------------------------------------------------------------- > > > xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.1"> > xmlns="http://geronimo.apache.org/xml/ns/deployment-1.1"> > > console.jms > SampleResourceGroup > 1.0 > rar > > > > geronimo > activemq-broker > car > > > > > > > > > My JMS Resources > > > tcp://server2:61616 > > > geronimo > > > geronimo > > > DefaultWorkManager > > > > > > > javax.jms.ConnectionFactory > > > MyConnectionFactory > > javax.jms.QueueConnectionFactory > > > javax.jms.TopicConnectionFactory > > > > > > > 10 > 0 > > 5000 > > > 0 > > > > > > > > > > > > javax.jms.Topic > > > org.activemq.message.ActiveMQTopic > > > > MyTopic > > > MyTopic > > > > > > > javax.jms.Queue > > > org.activemq.message.ActiveMQQueue > > > > MyQueue > > > MyQueue > > > > > > > -- > View this message in context: http://www.nabble.com/ActiveMQ-connection-problems-tf2778169.html#a7751143 > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > -- James ------- http://radio.weblogs.com/0112098/