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

From Richard Morrell
Subject Re: [INTERFACES] Program accessing database via servlet
Date
Msg-id Pine.LNX.3.96.991004142042.29767A-100000@faure.ednet.co.uk
Whole thread Raw
In response to Program accessing database via servlet  (zhang-lan@usa.net)
List pgsql-interfaces
On 1 Oct 1999 zhang-lan@usa.net wrote:

> I am having a problem when accessing the postgresql database via servlet. I
> set up a java web server (Win 95), and my servlet program need to access the
> remote postgresql database which is not on my server. When the program
> executed
>     DriverManager.getConnection(dburl, user, passwd),
> it shows the error: java.lang.IllegalArgumentException: Argument # > Arg
> length

I got this problem when I used the old 6.5.1 jdbc driver.  Switching to
the new 6.5.2 driver fixed the problem for me.
--
Richard Morrell                                           richard@ednet.co.uk
Operations Manager - edNET: InternetWorkingSolutions - http://www.ednet.co.uk







pgsql-interfaces by date:

Previous
From: Pablo Salazar Loaiza
Date:
Subject: (no subject)
Next
From: Thomas Lockhart
Date:
Subject: Re: [INTERFACES] problems with large-objects