Re: JDBC driver works in ccommand line, not in Tomcat5

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: JDBC driver works in ccommand line, not in Tomcat5
Дата
Msg-id Pine.BSO.4.64.0709050308480.7645@leary.csoft.net
обсуждение исходный текст
Ответ на JDBC driver works in ccommand line, not in Tomcat5  (Chris Baty <batymohn@yahoo.com>)
Ответы Re: JDBC driver works in ccommand line, not in Tomcat5  (Kris Jurka <books@ejurka.com>)
Список 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 по дате отправления:

Предыдущее
От: "Miguel Angel ."
Дата:
Сообщение: Questión of JDBC
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: JDBC driver works in ccommand line, not in Tomcat5