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

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: (view raw, whole thread or download thread mbox)
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 -

In response to

pgsql-interfaces by date

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

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