From: Floyd Shackelford <FloydS@4peakstech.com>
To: pgsql-interfaces <pgsql-interfaces@postgresql.org>
Subject: exception running example.basic
Date: Mon, 21 Feb 2000 08:57:59 -0700
Message-ID: <000201bf7c84$6cc5e8a0$9701a8c0@azoffice.4peakstech.com> (raw)
I have built the postgress jdbc interfaces. When I try to run the example as
follows:
CLASSPATH=.:./postgresql.jar:$JDKTOP/lib/classes.zip
java -Djdbc.drivers=postgresql.Driver example.basic
jdbc:postgresql://localhost
/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(MessageFormat.java)
at java.text.MessageFormat.format(MessageFormat.java)
at java.text.MessageFormat.format(MessageFormat.java)
at postgresql.util.PSQLException.translate(PSQLException.java:83)
at postgresql.util.PSQLException.<init>(PSQLException.java:45)
at postgresql.Driver.connect(Driver.java:106)
at java.sql.DriverManager.getConnection(DriverManager.java:91)
at java.sql.DriverManager.getConnection(DriverManager.java:134)
at example.basic.<init>(basic.java:32)
at example.basic.main(basic.java:171)
Regards,
Floyd Shackelford
4 Peaks Technology Group, Inc.
http://www.4peakstech.com/
office: +1.888.398.4405
fax: +1.916.404.7125
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 using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: FloydS@4peakstech.com
Subject: Re: exception running example.basic
In-Reply-To: <000201bf7c84$6cc5e8a0$9701a8c0@azoffice.4peakstech.com>
* 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