Received: from nw177.netaddress.usa.net (nw177.netaddress.usa.net [204.68.24.77]) by hub.org (8.9.3/8.9.3) with SMTP id LAA48742 for ; Thu, 30 Sep 1999 11:19:49 -0400 (EDT) (envelope-from zhang-lan@usa.net) From: zhang-lan@usa.net Received: (qmail 14487 invoked by uid 60001); 30 Sep 1999 15:19:43 -0000 Message-ID: <19990930151943.14486.qmail@nw177.netaddress.usa.net> Received: from 204.68.24.77 by nw177 for [128.255.149.24] via web-mailer(MaintM3.3.0.77) on Thu Sep 30 15:19:42 GMT 1999 Date: 30 Sep 99 09:19:42 MDT To: pgsql-interfaces@postgresql.org Subject: Access 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 LAA48746 It seems someone has asked this question before. But mine is a different situation. I set up a java web server, and my servlet program need to access the remote 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