Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 147F49F9DE4 for ; Wed, 5 Sep 2007 04:11:20 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 56366-01 for ; Wed, 5 Sep 2007 04:11:17 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from mail63.csoft.net (leary.csoft.net [205.205.214.5]) by postgresql.org (Postfix) with SMTP id 0AD179F9C51 for ; Wed, 5 Sep 2007 04:11:16 -0300 (ADT) Received: (qmail 19105 invoked by uid 1112); 5 Sep 2007 07:11:15 -0000 Date: Wed, 5 Sep 2007 03:11:15 -0400 (EDT) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Chris Baty cc: pgsql-jdbc@postgresql.org Subject: Re: JDBC driver works in ccommand line, not in Tomcat5 In-Reply-To: <4140.98645.qm@web81605.mail.mud.yahoo.com> Message-ID: References: <4140.98645.qm@web81605.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/10 X-Sequence-Number: 17432 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