pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: nusa <maheswara@freeuk.com>
To: pgsql-sql@postgresql.org
Subject: HELP : Can't load JDBC driver !
Date: Sat, 21 Apr 2001 00:54:23 +0100
Message-ID: <9bqepc$2q09$1@news.tht.net> (raw)

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.





view thread (3+ messages)  latest in thread

Message-ID: <9bqepc$2q09$1@news.tht.net>
Permalink:  ../9bqepc$2q09$1@news.tht.net/
Also on:    postgresql.org/message-id/9bqepc$2q09$1@news.tht.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: maheswara@freeuk.com
  Subject: Re: HELP : Can't load JDBC driver !
  In-Reply-To: <9bqepc$2q09$1@news.tht.net>
  References: <9bqepc$2q09$1@news.tht.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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