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

exception running example.basic

From: "Floyd Shackelford" <FloydS(at)4peakstech(dot)com>
To: "pgsql-interfaces" <pgsql-interfaces(at)postgresql(dot)org>
Subject: exception running example.basic
Date: 2000-02-21 15:57:59
Message-ID: 000201bf7c84$6cc5e8a0$ (view raw or whole thread)
Lists: pgsql-interfaces

I have built the postgress jdbc interfaces. When I try to run the example as


java -Djdbc.drivers=postgresql.Driver example.basic
/a_database a_userid a_password

I get the following error.

PostgreSQL basic test v6.3 rev 1

Connecting to Database URL = jdbc:postgresql://localhost/a_database
Unknown object of type:java.lang.ClassNotFoundException
Exception caught.
java.lang.IllegalArgumentException: Unknown argument
java.lang.IllegalArgumentException: Unknown argument
        at java.text.MessageFormat.format(
        at java.text.MessageFormat.format(
        at java.text.MessageFormat.format(
        at postgresql.util.PSQLException.translate(
        at postgresql.util.PSQLException.<init>(
        at postgresql.Driver.connect(
        at java.sql.DriverManager.getConnection(
        at java.sql.DriverManager.getConnection(
        at example.basic.<init>(
        at example.basic.main(

Floyd Shackelford
4 Peaks Technology Group, Inc.
office: +1.888.398.4405
fax: +1.916.404.7125

pgsql-interfaces by date

Next:From: richard clarkDate: 2000-02-21 16:03:11
Previous:From: Floyd ShackelfordDate: 2000-02-21 15:48:24
Subject: solved: driver not found error

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