Re: JDBC driver works in ccommand line, not in Tomcat5 - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: JDBC driver works in ccommand line, not in Tomcat5
Date
Msg-id Pine.BSO.4.64.0709050308480.7645@leary.csoft.net
Whole thread Raw
In response to JDBC driver works in ccommand line, not in Tomcat5  (Chris Baty <batymohn@yahoo.com>)
Responses Re: JDBC driver works in ccommand line, not in Tomcat5  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc

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

pgsql-jdbc by date:

Previous
From: "Miguel Angel ."
Date:
Subject: Questión of JDBC
Next
From: Kris Jurka
Date:
Subject: Re: JDBC driver works in ccommand line, not in Tomcat5