From: Kris Jurka <books@ejurka.com>
To: Chris Baty <batymohn@yahoo.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: JDBC driver works in ccommand line, not in Tomcat5
Date: Wed, 5 Sep 2007 03:11:15 -0400 (EDT)
Message-ID: <Pine.BSO.4.64.0709050308480.7645@leary.csoft.net> (raw)
In-Reply-To: <4140.98645.qm@web81605.mail.mud.yahoo.com>
References: <4140.98645.qm@web81605.mail.mud.yahoo.com>
On Tue, 4 Sep 2007, Chris Baty wrote:
> I'm trying to get Tomcat 5 to access psql. I created a "test' database
> and put several drivers in common/lib. I keep getting
>
> org.postgresql.util.PSQLException: Something unusual has occured to
> cause the driver to fail. Please report this exception.
This is probably caused by a permission denied error because you are
running tomcat with a security policy that does not let you connect to
outside resources (such as a database).
We should probably do a better job of catching and reporting this error
with a helpful suggestion instead of the obscure message and request for a
report above.
Kris Jurka
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-jdbc@postgresql.org
Cc: books@ejurka.com, batymohn@yahoo.com
Subject: Re: JDBC driver works in ccommand line, not in Tomcat5
In-Reply-To: <Pine.BSO.4.64.0709050308480.7645@leary.csoft.net>
References: <4140.98645.qm@web81605.mail.mud.yahoo.com> <Pine.BSO.4.64.0709050308480.7645@leary.csoft.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