Talk About Network

Google




Play Stock Market Games
Fantasy Stock Picking Contest

Data Bases > Pgsql Interfaces Jdbc > JDBC connection...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 1879 of 2010
Post > Topic >>

JDBC connection problem

by brianbanjo@[EMAIL PROTECTED] ("Brian Tomaszewski") Feb 4, 2008 at 10:18 PM

------=_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<br><br>I am having trouble connecting to a psql database
running on&nbsp; Debian GNU/Linux system <br><br>The version of psql I am
using in the system is 8.2.6.<br><br>No matter what I do, I continually am
getting the error:<br>
<br><i>Backend start-up failed: FATAL:&nbsp; database &quot;RW_GEO&quot;
does not exist<br><br></i>when my JDBC component tries to connect using a
URL like this:<br><br>jdbc:postgresql://localhost:5432/RW_GEO<br><br>from
a tomcat app<br>
<br>I have confirmed that the database RW_GEO does in fact exist as I can
see/query tables from it from psql.<br><br>Also, when I run my app on my
development machine (windows), I can connect via tomcat with no problems
to my local psql server.<br>
<br>Does any one have any ideas on what is causing the connection to not
see the database that&nbsp; does in fact exist? <br><br>I am thinking that
perhaps it is a permission error with tomcat, but am not sure...<br><br>Any
advice, or things to investigate would be most appreciated.<br>
<br>Thank you<br><br>Brian<br>

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




 1 Posts in Topic:
JDBC connection problem
brianbanjo@[EMAIL PROTECT  2008-02-04 22:18:51 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Fri Aug 8 12:32:04 CDT 2008.