Thread: No suitable driver

No suitable driver

From
Jean-Michel Zigna
Date:
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 ?

Thanks for your help.

ZIGNA Jean-Michel
Responsable Développements Nouvelles Technologies
CLS
8,10 rue Hermès
Parc technologique du canal
31526 Ramonville Saint-Agne
tél : 05 61 39 37 80
mail : zigna@cls.fr
www : www.cls.fr


Re: No suitable driver

From
Paul Thomas
Date:
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   |
+------------------------------+---------------------------------------------+

Re: No suitable driver

From
"Fabio Mesquita Povoa"
Date:
Well, if i were u i would check if the url u r using is correct. This
problem also happened to me.

String url = "jdbc:postgresql://<host>:5432/database";

5432 is the default door.

----- Original Message -----
From: "Jean-Michel Zigna" <jzigna@cls.fr>
To: <pgsql-jdbc@postgresql.org>
Sent: Friday, September 05, 2003 4:48 AM
Subject: [JDBC] No suitable driver


> 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 ?
>
> Thanks for your help.
>
> ZIGNA Jean-Michel
> Responsable Développements Nouvelles Technologies
> CLS
> 8,10 rue Hermès
> Parc technologique du canal
> 31526 Ramonville Saint-Agne
> tél : 05 61 39 37 80
> mail : zigna@cls.fr
> www : www.cls.fr
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
>       subscribe-nomail command to majordomo@postgresql.org so that your
>       message can get through to the mailing list cleanly