Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 80566 invoked from network); 13 Jul 2006 18:48:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Jul 2006 18:48:22 -0000 Received: (qmail 62714 invoked by uid 500); 13 Jul 2006 18:48:20 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 62691 invoked by uid 500); 13 Jul 2006 18:48:20 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Users List" Reply-To: "Apache Torque Users List" Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 62680 invoked by uid 99); 13 Jul 2006 18:48:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jul 2006 11:48:20 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [62.13.128.146] (HELO outmail128146.authsmtp.co.uk) (62.13.128.146) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jul 2006 11:48:19 -0700 Received: from [172.16.33.4] (p54B8351A.dip0.t-ipconnect.de [84.184.53.26]) (authenticated bits=0) by squirrel.dmpriest.net.uk (8.13.6/8.13.6/Kp) with ESMTP id k6DIlv76040485 for ; Thu, 13 Jul 2006 19:47:58 +0100 (BST) Message-ID: <44B69563.4030401@apache.org> Date: Thu, 13 Jul 2006 20:48:03 +0200 From: Thomas Vandahl User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Apache Torque Users List Subject: Re: Problem with DB connection References: <005401c6a4ec$a2aef550$3305a8c0@MEDIAWAVE> In-Reply-To: <005401c6a4ec$a2aef550$3305a8c0@MEDIAWAVE> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Server-Quench: 1a94380a-12a0-11db-b770-001185d377ca X-AuthRoute: OCdyaAgQClZJUiwT EioPDCIGTh8qMAFL GwYeIE5HO1cTfQhb dE9CJ1FTPRsbX15P AmUUIREIT19xWWVl agNbaQJXZ0IAVwF0 UUBNXFdRCgduHh4E GR5QCR8GDlkAf3hw YUZmVnUVXUZ+cgh8 E0dQFmUGNHphajEf TUFZI1FJIgRNfgJF alF+XHZZYmIANSsu JQJhdwgrOj9bJSEd XQARLRo+aw4AGTg6 ShseHDIpdXJf X-Authentic-SMTP: 61633138303539.squirrel.dmpriest.net.uk:1.56/Kp X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-Virus-Status: No virus detected - but ensure you scan with your own anti-virus system! X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Rafal Markut wrote: > I'd very greateful for any help. I really don't know what can I do with it. I recommend to use the JNDI data source lookup provided by the servlet container. See the Tomcat configuration instructions for more information. The Torque configuration then reduces to --- ## Using JNDI torque.dsfactory.default.factory=org.apache.torque.dsfactory.JndiDataSourceFactory torque.dsfactory.default.jndi.path=java:/comp/env/jdbc/YourDataSourceName torque.dsfactory.default.jndi.ttl=300000 --- You need to place the JDBC driver in the common/lib directory of Tomcat. > org.apache.turbine.services.security.db.DBUserManager.accountExists(DBUserManager.java:104) One Hint: You may want to use TorqueUserManager in Turbine 2.3.2. Bye, Thomas. --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org