From: Brian Tomaszewski <brianbanjo@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: JDBC connection problem
Date: Mon, 4 Feb 2008 22:18:51 -0500
Message-ID: <4df751bf0802041918nafe3dc4na662592641a56a5b@mail.gmail.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: brianbanjo@gmail.com
Subject: Re: JDBC connection problem
In-Reply-To: <4df751bf0802041918nafe3dc4na662592641a56a5b@mail.gmail.com>
References: <4df751bf0802041918nafe3dc4na662592641a56a5b@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox