X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 298B7D1B8BD for ; Fri, 5 Sep 2003 14:25:30 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 42055-04 for ; Fri, 5 Sep 2003 11:25:03 -0300 (ADT) Received: from curry.tmsl.demon.co.uk (tmsl-adsl.demon.co.uk [80.177.114.181]) by svr1.postgresql.org (Postfix) with ESMTP id 65304D1B89D for ; Fri, 5 Sep 2003 11:24:53 -0300 (ADT) Received: from bacon.tmsl.demon.co.uk (bacon.tmsl.demon.co.uk [192.168.7.102]) by curry.tmsl.demon.co.uk (8.11.6/8.11.6) with ESMTP id h85EOPa21707 for ; Fri, 5 Sep 2003 15:24:41 +0100 Date: Fri, 5 Sep 2003 15:24:17 +0100 From: Paul Thomas To: "pgsql-jdbc @ postgresql . org" Subject: Re: No suitable driver Message-ID: <20030905152417.E17198@bacon> References: <5.1.0.14.0.20030905094453.03084108@pop.cls.fr> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=ISO-8859-1 In-Reply-To: <5.1.0.14.0.20030905094453.03084108@pop.cls.fr>; from jzigna@cls.fr on Fri, Sep 05, 2003 at 08:48:53 +0100 X-Mailer: Balsa 1.2.3 Lines: 25 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/62 X-Sequence-Number: 8205 On 05/09/2003 08:48 Jean-Michel Zigna wrote: > Hello, > > I'm trying to connect to a 7.1.3 postgres instance on a redhat 7.3 > server from a web application deployed with Jbuilder (using Java 1.4). I > have downloaded pg73jdbc3.jar (compatible with Java 1.4) but I have > still an exception when connecting : no suitable driver. > > What's wrong whith this configuration ? You web container can't find the driver. I have absolutely no idea where you would put it in Jbuilder (I downloaded a free copy but I've never bothered to try it) but if you were using Tomcat I would suggest that you place or symlink the driver in its common/lib directory. -- Paul Thomas +------------------------------+---------------------------------------------+ | Thomas Micro Systems Limited | Software Solutions for the Smaller Business | | Computer Consultants | http://www.thomas-micro-systems-ltd.co.uk | +------------------------------+---------------------------------------------+