Re: [INTERFACES] Program accessing database via servlet

From: Richard Morrell <richard(at)ednet(dot)co(dot)uk>
To: pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [INTERFACES] Program accessing database via servlet
Date: 1999-10-04 13:21:48
Message-ID: Pine.LNX.3.96.991004142042.29767A-100000@faure.ednet.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

On 1 Oct 1999 zhang-lan(at)usa(dot)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(at)ednet(dot)co(dot)uk
Operations Manager - edNET: InternetWorkingSolutions - http://www.ednet.co.uk

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Thomas Lockhart 1999-10-04 14:33:29 Re: [INTERFACES] problems with large-objects
Previous Message Pablo Salazar Loaiza 1999-10-04 13:09:08 (no subject)