Return-Path: Delivered-To: apmail-jakarta-turbine-user-archive@www.apache.org Received: (qmail 66349 invoked from network); 29 Aug 2005 14:25:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Aug 2005 14:25:55 -0000 Received: (qmail 27750 invoked by uid 500); 29 Aug 2005 14:25:53 -0000 Delivered-To: apmail-jakarta-turbine-user-archive@jakarta.apache.org Received: (qmail 27717 invoked by uid 500); 29 Aug 2005 14:25:52 -0000 Mailing-List: contact turbine-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Turbine Users List" Reply-To: "Turbine Users List" Delivered-To: mailing list turbine-user@jakarta.apache.org Received: (qmail 27704 invoked by uid 99); 29 Aug 2005 14:25:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2005 07:25:52 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [132.204.24.67] (HELO mercure.iro.umontreal.ca) (132.204.24.67) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2005 07:26:06 -0700 Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id B49202CF594 for ; Mon, 29 Aug 2005 10:25:45 -0400 (EDT) Received: from frontal03.iro.umontreal.ca (frontal03.iro.umontreal.ca [132.204.24.79]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id D10EC4AC00E for ; Mon, 29 Aug 2005 10:25:40 -0400 (EDT) Received: by frontal03.iro.umontreal.ca (Postfix, from userid 1992) id BA70E23FF0; Mon, 29 Aug 2005 10:25:40 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by frontal03.iro.umontreal.ca (Postfix) with ESMTP id AF68A23FEF for ; Mon, 29 Aug 2005 10:25:40 -0400 (EDT) Date: Mon, 29 Aug 2005 10:25:40 -0400 (EDT) From: Stephane Vaucher To: Turbine Users List Subject: Re: Authentication In-Reply-To: <20050829042538.55593.qmail@web8410.mail.in.yahoo.com> Message-ID: References: <20050829042538.55593.qmail@web8410.mail.in.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-4.791, requis 5, autolearn=not spam, AWL 0.11, BAYES_00 -4.90) X-MailScanner-From: vauchers@iro.umontreal.ca X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N If it's due to connection losses, I've normally got something like this in tomcat server.xml (with my driver in TOMCAT_HOME/common/lib): factory org.apache.commons.dbcp.BasicDataSourceFactory driverClassName [...] Usual username/pswd/url params maxActive 20 maxIdle 0 maxWait 60000 removeAbandoned true logAbandoned true removeAbandonedTimeout 300 With other servers, the configuration can be defined elsewhere, can't necessarily help you to locate the config files, but the params should be the same, hth, sv On Sun, 28 Aug 2005, Satyanarayana Desu wrote: > > Hi sv, > > We are using mysql as the backend database and manipulating using Torque services. can you please let me know where shoud I need to specify the connection setting for checking it. > > Regds > > Satya > >>>> vauchers@iro.umontreal.ca 08/26/05 10:14 PM >>> > > Hi Satya, > > It might be a driver problem. Do you use mysql with a connection pool? If > > so, you need to specify when to check if the connections have been closed > > (by the db). If this is the problem, I can probably help you out. > > HTH, > > sv > > On Fri, 26 Aug 2005, Satyanarayana Desu wrote: > >> Hi, > >> For the turbine based applications, if the server is idle for 24 hours, > >> the Login (Authentication, Login.vm) page does not respond for the first 3 attempts, it says invalid user/password even if we give the right userid and password. > >> it works well for the fourth attempt. > >> we are doing a workaround for this is restarting the server through crontab for every 24 hrs. > >> can you pl. suggest a remedy for it. > >> Regds > >> Satya > >> > >> > >> --------------------------------- > >> Start your day with Yahoo! - make it your home page > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: turbine-user-help@jakarta.apache.org > > > > --------------------------------- > Start your day with Yahoo! - make it your home page --------------------------------------------------------------------- To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: turbine-user-help@jakarta.apache.org