Skip site navigation (1) Skip section navigation (2)

HELP : Can't load JDBC driver !

From: nusa <maheswara(at)freeuk(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: HELP : Can't load JDBC driver !
Date: 2001-04-20 23:46:33
Message-ID: 01042100463301.02191@localhost.localdomain (view raw, whole thread or download thread mbox)
Lists: pgsql-jdbc

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     trust  
4. the JDBC driver is in the CLASSPATH :
5. in my java file :

   import java.sql.*; // no import org.postgresql.* !
   try {
   catch (ClassNotFoundException e) {}

Can someone help me ?


pgsql-jdbc by date

Next:From: Scott GammillDate: 2001-04-21 03:36:00
Subject: Soliciting CallableStatement ideas
Previous:From: Rajesh BallaDate: 2001-04-20 14:36:45
Subject: Problem with LargeObjects (client code attached)

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group