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: Program accessing database via servlet
Date: 1 Oct 99 09:56:04 MDT
Message-ID: <19991001155604.2470.qmail@nw175.netaddress.usa.net> (raw)

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



view thread (4+ messages)  latest in thread

Message-ID: <19991001155604.2470.qmail@nw175.netaddress.usa.net>
Permalink:  ../19991001155604.2470.qmail@nw175.netaddress.usa.net/
Also on:    postgresql.org/message-id/19991001155604.2470.qmail@nw175.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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: zhang-lan@usa.net
  Subject: Re: Program accessing database via servlet
  In-Reply-To: <19991001155604.2470.qmail@nw175.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