X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 8BE835323D for ; Fri, 25 Mar 2005 21:23:37 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 68364-04 for ; Fri, 25 Mar 2005 21:23:36 +0000 (GMT) Received: from hogranch.com (hogranch.com [66.117.128.240]) by svr1.postgresql.org (Postfix) with ESMTP id 0E08952A62 for ; Fri, 25 Mar 2005 21:23:35 +0000 (GMT) Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id j2PLNUE12372; Fri, 25 Mar 2005 13:23:30 -0800 Message-ID: <42448152.5000408@hogranch.com> Date: Fri, 25 Mar 2005 13:23:30 -0800 From: John R Pierce User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Martin Seebach Cc: pgsql-jdbc@postgresql.org Subject: Re: Permission error References: <42447D02.1050507@biplane.dk> In-Reply-To: <42447D02.1050507@biplane.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200503/202 X-Sequence-Number: 12594 Martin Seebach wrote: > Using: > Tomcat 4 > Jakarta Struts 1.2.4 > Sun J2SDK 1.4.2_7 > PostgreSQL 7.2.1 > PostgreSQL JDBC pg72jdbc2 > > I can't connect and get this error in catalina.out: test to see if you can connect with "psql -h localhost -u kumdb kumdb" from a command line. postgres does NOT default to supporting TCP connections, you need to modify $PGDATA/postgresql.conf and $PGDATA/pg_hba.conf to allow this. btw, and not actually an issue here, but, thats a really old pgsql, and you really should upgrade to 7.4.7 or 8.0.1.