pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: zhang-lan@usa.net
To: pgsql-interfaces@postgresql.org
Subject: Access database via Servlet
Date: 30 Sep 99 09:19:42 MDT
Message-ID: <19990930151943.14486.qmail@nw177.netaddress.usa.net> (raw)

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



Message-ID: <19990930151943.14486.qmail@nw177.netaddress.usa.net>
Permalink:  ../19990930151943.14486.qmail@nw177.netaddress.usa.net/
Also on:    postgresql.org/message-id/19990930151943.14486.qmail@nw177.netaddress.usa.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-interfaces@postgresql.org
  Cc: zhang-lan@usa.net
  Subject: Re: Access database via Servlet
  In-Reply-To: <19990930151943.14486.qmail@nw177.netaddress.usa.net>
  References: <19990930151943.14486.qmail@nw177.netaddress.usa.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox