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: Pine.LNX.3.96.991004142042.29767A-100000@faure.ednet.co.uk (view raw or flat)
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

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-2014 The PostgreSQL Global Development Group