Received: from nw175.netaddress.usa.net (nw175.netaddress.usa.net [204.68.24.75]) by hub.org (8.9.3/8.9.3) with SMTP id LAA69857 for ; Fri, 1 Oct 1999 11:56:05 -0400 (EDT) (envelope-from zhang-lan@usa.net) From: zhang-lan@usa.net Received: (qmail 2471 invoked by uid 60001); 1 Oct 1999 15:56:04 -0000 Message-ID: <19991001155604.2470.qmail@nw175.netaddress.usa.net> Received: from 204.68.24.75 by nw175 for [128.255.149.24] via web-mailer(MaintM3.3.0.77) on Fri Oct 1 15:56:04 GMT 1999 Date: 1 Oct 99 09:56:04 MDT To: pgsql-interfaces@postgresql.org Subject: Program accessing database via servlet X-Mailer: USANET web-mailer (MaintM3.3.0.77) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.org id LAA69873 Hi, all. 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 But the similar program which I don't use servlet runs ok, it can access the remote database very well. I don't know why. And if I change the database to the MS Access database which is on my machine, the servlet program also runs fine. Anyone can help? Thanks. Lan Zhang ____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=1