Your connection url looks funny, it should probably be more like


On Sun, 9 Sep 2001, Larry Rogers wrote:

> exception: Exception: java.lang.NullPointerException
> Stack Trace:
> java.lang.NullPointerException
>       at org.postgresql.Connection.openConnection(
>       at org.postgresql.Driver.connect(
>       at java.sql.DriverManager.getConnection(
>       at java.sql.DriverManager.getConnection(
>       at TestPostGreSQL.main(
> End of Stack Trace
>         final String url = "jdbc:postgresql://localhost:5432?database=testdb";

Dave Weis             "I believe there are more instances of the abridgement
[EMAIL PROTECTED]   of the freedom of the people by gradual and silent
                      encroachments of those in power than by violent 
                      and sudden usurpations."- James Madison

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

Reply via email to