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

Re: [INTERFACES] Program accessing database via servlet

From: Jens Glaser <jens(at)helena(dot)jens(dot)de>
To: zhang-lan(at)usa(dot)net
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: [INTERFACES] Program accessing database via servlet
Date: 1999-10-01 15:35:09
Message-ID: Pine.LNX.4.05.9910011533150.821-100000@helena.jens.de (view raw or flat)
Thread:
Lists: pgsql-interfaces
Hi,

On 1 Oct 1999 zhang-lan(at)usa(dot)net wrote:
> I am having a problem when accessing the postgresql database via servlet. I
>[..]
>     DriverManager.getConnection(dburl, user, passwd),
> it shows the error: java.lang.IllegalArgumentException: Argument # > Arg
> length

This might actually be a misleading error message generated by an old JDBC
version. Try the newest JDBC driver first (from the CVS).

It *should* return you the correct error message then which I guess
is something like "wrong username/password" or so in your case!

Kind regards,

-- 
Jens Glaser     Am Holderstrauch 13, 36041 Fulda, 0661/9429507    jens(at)jens(dot)de


In response to

pgsql-interfaces by date

Next:From: Dave PageDate: 1999-10-01 15:58:19
Subject: pgAdmin v6.5.2 Released
Previous:From: jose soaresDate: 1999-10-01 15:14:33
Subject: Re: [GENERAL] ODBC-client->Linux-server: datatype boolean not recognized?

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