Re: [INTERFACES] Program accessing database via servlet - Mailing list pgsql-interfaces

From Jens Glaser
Subject Re: [INTERFACES] Program accessing database via servlet
Date
Msg-id Pine.LNX.4.05.9910011533150.821-100000@helena.jens.de
Whole thread Raw
In response to Program accessing database via servlet  (zhang-lan@usa.net)
List pgsql-interfaces
Hi,

On 1 Oct 1999 zhang-lan@usa.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@jens.de



pgsql-interfaces by date:

Previous
From: Kevin Lo
Date:
Subject: Re: [INTERFACES] Perl5 selftest failure (was Re: Questions about vacuum analyze)
Next
From: Thomas Lockhart
Date:
Subject: Re: [INTERFACES] problems with large-objects