Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 88802 invoked from network); 26 Jul 2007 16:27:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Jul 2007 16:27:39 -0000 Received: (qmail 28867 invoked by uid 500); 26 Jul 2007 16:27:39 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 28852 invoked by uid 500); 26 Jul 2007 16:27:38 -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 28841 invoked by uid 99); 26 Jul 2007 16:27:38 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jul 2007 09:27:38 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of luispablo.gallo@gmail.com designates 209.85.146.181 as permitted sender) Received: from [209.85.146.181] (HELO wa-out-1112.google.com) (209.85.146.181) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jul 2007 09:27:36 -0700 Received: by wa-out-1112.google.com with SMTP id k40so742684wah for ; Thu, 26 Jul 2007 09:27:15 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=oB0DJRV6KhamedZEmcBUAb8rzwLlRSk7WTrLhS3TGo0TywI+i1Hw137Xi0ZyBD41C9OlFvImLXdnBhtEMIKXaapVtsguTzV2xkqGslX06cYsbyPar3afx/X48ldgzWzWaryizRAxEFRl0mH/tBOuWJJr4Aa4grJUpfXiCDFfoPo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=JfZcSsLjHpolNAEaQHl+d5nKVx+aF6UuXv3l4Cs/QjdyHVrrnGJ7k+LlVbmHX12pVePZTj7eSPuKhKS7HKumVTVtyd60hKyJnFnRXkslJ++UxvRlgaQVybhRnCeu+SywZSpz0u5BFcW040DavXEsq0qEMQGlnMShl/Yo0t5CSSE= Received: by 10.114.103.1 with SMTP id a1mr1943680wac.1185467234969; Thu, 26 Jul 2007 09:27:14 -0700 (PDT) Received: by 10.115.74.13 with HTTP; Thu, 26 Jul 2007 09:27:14 -0700 (PDT) Message-ID: <224ae4d90707260927o62a05b46s4106ff25609638c8@mail.gmail.com> Date: Thu, 26 Jul 2007 13:27:14 -0300 From: "Luis Pablo Gallo" To: "Apache Torque Users List" Subject: Re: p6spy In-Reply-To: <8F5843B903F59D4C8C6806BB49A3911903C099C3@dukece-mail3.dukece.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_23779_30909064.1185467234937" References: <224ae4d90707251911u7a1e701cve49ac90ac76784a3@mail.gmail.com> <8F5843B903F59D4C8C6806BB49A3911903C099C3@dukece-mail3.dukece.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_23779_30909064.1185467234937 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I also tried using that property with mysql, like this: torque.database.morpheus.adapter = mysql and didn't work either. I really don't know where is Torque getting the driver from. On 7/26/07, Greg Monroe wrote: > > I think the problem is that you don't have a: > > torque.database.morpheus.adapter= > > property in your config file. > > Torque needs to know what the underlying database server type is so > it can handle various DB server differences. It tries to figure > this out two ways. The first (and recommended way) is via the > adaptor property. The second is to try to match an adaptor to the > driver class specifed. > > As long as Torque knows what the underlying DB Type is, it doesn't > care about the jdbc driver. Unless the driver won't work with the > commons dbcp pooling code for some reason. > > > -----Original Message----- > > From: Luis Pablo Gallo [mailto:luispablo.gallo@gmail.com] > > Sent: Wednesday, July 25, 2007 10:12 PM > > To: torque-user@db.apache.org > > Subject: p6spy > > > > Hi! I want to add the jdbc proxy p6spy to my application, but > > Torque seems to ignore whatever I put in the > > torque.dsfactory.morpheus.connection.driverparameter. > > My full configuration is: > > > > torque.database.default = morpheus > > torque.database.morpheus.adapter = com.p6spy.engine.spy.P6SpyDriver > > > > torque.dsfactory.morpheus.connection.driver = > > com.p6spy.engine.spy.P6SpyDriver > > torque.dsfactory.morpheus.connection.url = > > jdbc:mysql://localhost:3306/morpheus?autoReconnect=true&useUni > code=true&characterEncoding=utf8 > > torque.dsfactory.morpheus.connection.user = morpheus > > torque.dsfactory.morpheus.connection.password = morpheus > > > > torque.dsfactory.morpheus.factory = > > org.apache.torque.dsfactory.SharedPoolDataSourceFactory > > > > torque.dsfactory.morpheus.pool.maxActive = 30 > > torque.dsfactory.morpheus.pool.testOnBorrow = true > > torque.dsfactory.morpheus.pool.validationQuery = SELECT 1 > > > > Any idea? I've searched half Internet and found nothing. > > Thanks in advance!!! > > > > Luis Pablo > > > DukeCE Privacy Statement: > Please be advised that this e-mail and any files transmitted with > it are confidential communication or may otherwise be privileged or > confidential and are intended solely for the individual or entity > to whom they are addressed. If you are not the intended recipient > you may not rely on the contents of this email or any attachments, > and we ask that you please not read, copy or retransmit this > communication, but reply to the sender and destroy the email, its > contents, and all copies thereof immediately. Any unauthorized > dissemination, distribution or copying of this communication is > strictly prohibited. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org > For additional commands, e-mail: torque-user-help@db.apache.org > > ------=_Part_23779_30909064.1185467234937--