Skip site navigation (1) Skip section navigation (2)

Re: Problem connecting to a pgsql database from Net Beans.

From: "Albe Laurenz" <all(at)adv(dot)magwien(dot)gv(dot)at>
To: "Flavio Monteiro *EXTERN*" <flaviopinto(dot)monteiro(at)gmail(dot)com>,"pgsql-jdbc" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Problem connecting to a pgsql database from Net Beans.
Date: 2007-08-30 09:48:31
Message-ID: D960CB61B694CF459DCFB4B0128514C2221182@exadv11.host.magwien.gv.at (view raw or flat)
Thread:
Lists: pgsql-jdbc
Flavio Monteiro wrote:

[tries to use org.postgresql.ds.PGSimpleDataSource with an application
server or something]

> RAR5038:Unexpected exception while creating resource
> RAR5117 : Failed to obtain/create connection. Reason : Connection
could not be allocated because: FATAL: database "null" does not exist

I *guess* that there is someplace in "NetBeans" where you can configure
DataSource properties.
These are the properties:
http://jdbc.postgresql.org/documentation/82/ds-ds.html#ds-ds-props

I *guess* that you didn't specify "databaseName".

You can probably get better information about the NetBeans end of things
from their documentation...

Yours,
Laurenz Albe

In response to

pgsql-jdbc by date

Next:From: Mayuresh NirhaliDate: 2007-08-30 10:30:25
Subject: Re: Problem connecting to a pgsql database from Net Beans.
Previous:From: Heikki LinnakangasDate: 2007-08-30 08:14:10
Subject: Re: statement caching patch from Laszlo Hornyak for review

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group