Guy,
Send me the pertinent code where you are loading the driver
Dave
-Original Message-
From: Guy McArthur [mailto:[EMAIL PROTECTED]]
Sent: October 25, 2001 6:28 PM
To: Dave Cramer
Cc: [EMAIL PROTECTED]
Subject: RE: [JDBC] "No Suitable Driver"
Huh. Well I have set up J
And then
Connection db =
DriverManager.getConnection("jdbc:postgresql://hostname/test"test",test"
);
Dave
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Guy McArthur
Sent: October 24, 2001 7:13 PM
To: [EMAIL PROTECTED]
Subject: [JDBC] &quo
Hi, I'm trying to get a small test program going. I have built PostgreSQL
7.1.3 on RedHat 6.2 with --java, installed and created databases, verified
with psql. The postgresql.jar is on my classpath.
My pg_hba.conf has:
localall password
host
> private static final String dbUrl = "jdbc:postgresql:demo"; .
> private static final String dbUrl =
> "jdbc:postgresql//wetwang.ontko.com/demo";
AFAIK, "jdbc:postgresql://host/database", so there is a ":" missing.
Hope that helps.
Antonio
P.S. My e-mail addres may not be good: remove a
Thanks Michael & Antonio!
>your URL is missing a colon
Adding the missing colon took care of the problem & got my demo back on line
with just 15 minutes to spare before the "business day" begins... If I were
running a commercial database, I'd still be waiting for the tech support
folks to wander
> Then I changed the dbUrl string to:
>
> private static final String dbUrl =
> "jdbc:postgresql//wetwang.ontko.com/demo";
>
> Any thoughts about what I've done wrong here?
This might not be the only problem, but your URL is missing a colon,
should be:
jdbc:postgresql://wetwang.ontko.com/demo
Hi-
I am getting the error message "no suitable driver" from a Tomcat
application that used to work. The change that I made to cause this is that
I originally accessed my database on the same server, but decided to change
the URL to point my application at a database residing on another server.
(
lt
to diagnose with this much information
Dave
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Matthieu
Guyonnet-Duluc
Sent: August 3, 2001 5:38 AM
To: [EMAIL PROTECTED]
Subject: [JDBC] no suitable driver
hi, i've this typical error, i've read s
]
Subject: [JDBC] no suitable driver
hi, i've this typical error, i've read some stuff about it but many
concern applets, and my problem comes from a jsp page.
i've the jar of distribution load from TOMCAT in it lib directory.
before that i've the 'unable to load class...&
hi, i've this typical error, i've read some stuff about it but many concern applets,
and my problem comes from a jsp page.
i've the jar of distribution load from TOMCAT in it lib directory.
before that i've the 'unable to load class...' Now that i pt the jar in tomcat/lib nad
modify the script
Title: RE: [JDBC] No suitable driver
Try passing the driver in the command line, like this: java -Djdbc.drivers=org.postgresql.Driver ...
-Original Message-
From: Peter Mezzina [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 15, 2001 2:58 PM
To: [EMAIL PROTECTED]
Subject: [JDBC] No
I have Tomcat 3.2.1 and Postgres 7.0.3 running well in Solaris and I
have installed the JDBC driver, jdbc7.0-1.2.jar, in both the
/lib and a second directory off of the tomcat tree. With
the jar file in the classpath the driver works fine from an application
but produces the error "No suitable
12 matches
Mail list logo