pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedHELP : Can't load JDBC driver !
3+ messages / 3 participants
[nested] [flat]
* HELP : Can't load JDBC driver !
@ 2001-04-20 23:54 nusa <maheswara@freeuk.com>
2001-04-22 22:13 ` Re: HELP : Can't load JDBC driver ! Josh Berkus <josh@agliodbs.com>
2001-04-29 10:11 ` Re: HELP : Can't load JDBC driver ! Peter Mount <peter@retep.org.uk>
0 siblings, 2 replies; 3+ messages in thread
From: nusa @ 2001-04-20 23:54 UTC (permalink / raw)
To: pgsql-sql
Hi,
Yes, I cant't load the JDBC driver !!!
There must be a silly set-up somewhere, but I
can't find it.
Here some informations that might help you :
1. Mandake 7.2
2. the postmaster is run from init script as follow :
su -l postgres -c "/usr/bin/pg_ctl -D $PGDATA -o '-i' -p
/usr/bin/postmaster start > /dev/null 2>&1"
3. the very last line of my /var/lib/pgsql/data/pg_hba.conf :
local all trust
host all 127.0.0.1 255.255.255.255 trust
4. the JDBC driver is in the CLASSPATH :
...;/home/nusa/Java/PostgreSQL/jdbc7.0-1.2.jar
5. in my java file :
import java.sql.*; // no import org.postgresql.* !
...
try {
Clss.forName("org.postgresql.Driver");
}
catch (ClassNotFoundException e) {}
...
Can someone help me ?
Thanks,
nusa.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: HELP : Can't load JDBC driver !
2001-04-20 23:54 HELP : Can't load JDBC driver ! nusa <maheswara@freeuk.com>
@ 2001-04-22 22:13 ` Josh Berkus <josh@agliodbs.com>
1 sibling, 0 replies; 3+ messages in thread
From: Josh Berkus @ 2001-04-22 22:13 UTC (permalink / raw)
To: nusa <maheswara@freeuk.com>; +Cc: pgsql-sql
Nusa,
I suggest that you take your question to the pgsql-jdbc list, a list
specifically for JDBC interfacing with Postgres. See www.postgresql.org
for directions on how to subscribe.
-Josh
______AGLIO DATABASE SOLUTIONS___________________________
Josh Berkus
Complete information technology josh@agliodbs.com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: HELP : Can't load JDBC driver !
2001-04-20 23:54 HELP : Can't load JDBC driver ! nusa <maheswara@freeuk.com>
@ 2001-04-29 10:11 ` Peter Mount <peter@retep.org.uk>
1 sibling, 0 replies; 3+ messages in thread
From: Peter Mount @ 2001-04-29 10:11 UTC (permalink / raw)
To: nusa <maheswara@freeuk.com>; pgsql-sql
Please send JDBC related emails to the JDBC list :-)
At 00:54 21/04/01 +0100, nusa wrote:
>Hi,
>
>Yes, I cant't load the JDBC driver !!!
>There must be a silly set-up somewhere, but I
>can't find it.
>4. the JDBC driver is in the CLASSPATH :
> ...;/home/nusa/Java/PostgreSQL/jdbc7.0-1.2.jar
Ah, you have a semicolon ; instead of colon. ; is for Windows, : for unix.
Please read: http://jdbc.postgresql.org/docs/#install
Peter
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2001-04-29 10:11 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-04-20 23:54 HELP : Can't load JDBC driver ! nusa <maheswara@freeuk.com>
2001-04-22 22:13 ` Josh Berkus <josh@agliodbs.com>
2001-04-29 10:11 ` Peter Mount <peter@retep.org.uk>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox