Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 0ACE92E0051 for ; Mon, 4 Feb 2008 23:18:56 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 39294-03 for ; Mon, 4 Feb 2008 23:18:53 -0400 (AST) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by postgresql.org (Postfix) with ESMTP id 4B88E2E0032 for ; Mon, 4 Feb 2008 23:18:53 -0400 (AST) Received: by py-out-1112.google.com with SMTP id d37so4168061pye.29 for ; Mon, 04 Feb 2008 19:18:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=maOGqZVOrX/cT2Kvn7RWHRHX9H4UILI0rIaie8v+9jY=; b=VgqeE9ZBZWQ5WERVtnmNBYYH6jwpK/gB07RGQ/Q+L7SmYBdRLD5Jph07lj0TCJu67aEy3/TstXYyWu2P/q3RsQ7KAlhCOOWF8OJfWmQDMu9GRBXqanrxeNUxK2ob3ZG1XjDXxUxngFcKKq4B6qnNjC+XEjSkT6CGB7mhDKZNCho= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=Jkh58ZLiKYHJF+OLY9lWt/DDsX24uTmxZJG/9OaVHo2hRSXDS1obxdLEb4qqgeLXjrjZTH9t89hSUL+srWZwlq/jlxk4Hv2xGPqlvtyY6VWxm7FkHQFLDxslbArJIWZ/uoUrqZ/RR6mVcmCDVzUEo4nR2xZmFMrcCSQedxFOpB4= Received: by 10.65.194.13 with SMTP id w13mr14426358qbp.67.1202181531513; Mon, 04 Feb 2008 19:18:51 -0800 (PST) Received: by 10.64.204.3 with HTTP; Mon, 4 Feb 2008 19:18:51 -0800 (PST) Message-ID: <4df751bf0802041918nafe3dc4na662592641a56a5b@mail.gmail.com> Date: Mon, 4 Feb 2008 22:18:51 -0500 From: "Brian Tomaszewski" To: pgsql-jdbc@postgresql.org Subject: JDBC connection problem MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_8468_1395329.1202181531500" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/6 X-Sequence-Number: 18213 ------=_Part_8468_1395329.1202181531500 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello List I am having trouble connecting to a psql database running on Debian GNU/Linux system The version of psql I am using in the system is 8.2.6. No matter what I do, I continually am getting the error: *Backend start-up failed: FATAL: database "RW_GEO" does not exist *when my JDBC component tries to connect using a URL like this: jdbc:postgresql://localhost:5432/RW_GEO from a tomcat app I have confirmed that the database RW_GEO does in fact exist as I can see/query tables from it from psql. Also, when I run my app on my development machine (windows), I can connect via tomcat with no problems to my local psql server. Does any one have any ideas on what is causing the connection to not see the database that does in fact exist? I am thinking that perhaps it is a permission error with tomcat, but am not sure... Any advice, or things to investigate would be most appreciated. Thank you Brian ------=_Part_8468_1395329.1202181531500 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello List

I am having trouble connecting to a psql database running on  Debian GNU/Linux system

The version of psql I am using in the system is 8.2.6.

No matter what I do, I continually am getting the error:

Backend start-up failed: FATAL:  database "RW_GEO" does not exist

when my JDBC component tries to connect using a URL like this:

jdbc:postgresql://localhost:5432/RW_GEO

from a tomcat app

I have confirmed that the database RW_GEO does in fact exist as I can see/query tables from it from psql.

Also, when I run my app on my development machine (windows), I can connect via tomcat with no problems to my local psql server.

Does any one have any ideas on what is causing the connection to not see the database that  does in fact exist?

I am thinking that perhaps it is a permission error with tomcat, but am not sure...

Any advice, or things to investigate would be most appreciated.

Thank you

Brian
------=_Part_8468_1395329.1202181531500--