JDBC connection problem

From: "Brian Tomaszewski" <brianbanjo(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: JDBC connection problem
Date: 2008-02-05 03:18:51
Message-ID: 4df751bf0802041918nafe3dc4na662592641a56a5b@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Guy Rouillier 2008-02-05 06:05:52 Re: JDBC connection problem
Previous Message Altaf Malik 2008-02-04 19:23:18 Re: Ssl question