pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniele Orlandi <daniele@orlandi.com>
To: pgsql-interfaces@hub.org
Subject: PG6.5 + JDBC + Linux + Kaffe
Date: Fri, 18 Jun 1999 01:50:58 +0200
Message-ID: <376989E2.2CA15416@orlandi.com> (raw)


Hi,

I downloaded the 6.5 JDBC JAR for 1.1.x, unzipped with unzip, and run a little
test application and this is the result:

[root@etabeta idsj]# java aucserver
java.lang.ArrayIndexOutOfBoundsException
        at java.text.MessageFormat.format(MessageFormat.java:238)
        at java.text.MessageFormat.format(MessageFormat.java:230)
        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:61)
        at java.sql.DriverManager.getConnection(DriverManager.java:49)
        at aucserver.main(aucserver.java:41)

I'm using kaffe on linux 2.2.9, Redhat 6.0:

[root@etabeta idsj]# javac -version
Pizza v0.39g, 15-August-98, Copyright (c) 1996-98 Martin Odersky.

[root@etabeta idsj]# java -version
Kaffe Virtual Machine
Copyright (c) 1996-1999
Transvirtual Technologies, Inc.  All rights reserved
Engine: Just-in-time   Version: 1.0b4   Java Version: 1.1

The test application does just:

Class.forName("postgresql.Driver");
Connection db=DriverManager.getConnection("jdbc:postgresql://xtnet",
"xxxxx","xxxx");

Any hint ?

Thanks in advance.

-- 
 Daniele

-------------------------------------------------------------------------------
 Daniele Orlandi - Utility Line Italia - http://www.orlandi.com
 Via Mezzera 29/A - 20030 - Seveso (MI) - Italy
-------------------------------------------------------------------------------



view thread (6+ messages)  latest in thread

Message-ID: <376989E2.2CA15416@orlandi.com>
Permalink:  ../376989E2.2CA15416@orlandi.com/
Also on:    postgresql.org/message-id/376989E2.2CA15416@orlandi.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: daniele@orlandi.com, pgsql-interfaces@hub.org
  Subject: Re: PG6.5 + JDBC + Linux + Kaffe
  In-Reply-To: <376989E2.2CA15416@orlandi.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