Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 30086 invoked from network); 4 Dec 2008 18:58:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Dec 2008 18:58:25 -0000 Received: (qmail 47772 invoked by uid 500); 4 Dec 2008 18:58:35 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 47732 invoked by uid 500); 4 Dec 2008 18:58:34 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 47690 invoked by uid 99); 4 Dec 2008 18:58:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 10:58:34 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 18:57:03 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1L8JOY-0003OA-OR for derby-user@db.apache.org; Thu, 04 Dec 2008 10:57:50 -0800 Message-ID: <20840073.post@talk.nabble.com> Date: Thu, 4 Dec 2008 10:57:50 -0800 (PST) From: teamderby To: derby-user@db.apache.org Subject: Re: Tomcat derby JSP "java.sql.SQLException: No suitable driver" In-Reply-To: <493422BD.2030804@frogthinker.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: mikehmurray@gmail.com References: <738B94ED-B6DC-40F8-8754-2D4EC77A3724@gmail.com> <493422BD.2030804@frogthinker.org> X-Virus-Checked: Checked by ClamAV on apache.org Emmanuel, Thanks for your reply. I have tried using derby.jar instead of derbyclient.jar and the result is exactly the same. Is there any more advice you can give me? Thanks, Mike Emmanuel Cecchet-5 wrote: > > Michael, > > You should have derby.jar in the classpath if you want to use embedded > mode. >> CLASSPATH=\ >> Applications/apache-tomcat-6.0.18/lib/derbyclient.jar:\ > derbyclient.jar contains only the JDBC driver code > (http://db.apache.org/derby/docs/dev/adminguide/tadminappschangingyourclasspath.html) >> <% >> String driver = "org.apache.derby.jdbc.EmbeddedDriver"; > > Hope this helps, > Emmanuel > > -- > Emmanuel Cecchet > FTO @ Frog Thinker > Open Source Development & Consulting > -- > Web: http://www.frogthinker.org > email: manu@frogthinker.org > Skype: emmanuel_cecchet > > > -- View this message in context: http://www.nabble.com/Tomcat-derby-JSP-%22java.sql.SQLException%3A-No-suitable-driver%22-tp20776666p20840073.html Sent from the Apache Derby Users mailing list archive at Nabble.com.