From: Oliver Jowett <oliver@opencloud.com>
To: William I. Zumwalt <wizumwalt@yahoo.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: jdbc:postgresql:database not bound error
Date: Thu, 30 Sep 2004 10:28:59 +1200
Message-ID: <415B372B.5010102@opencloud.com> (raw)
In-Reply-To: <20040929161715.28323.qmail@web52410.mail.yahoo.com>
References: <20040929161715.28323.qmail@web52410.mail.yahoo.com>
William I. Zumwalt wrote:
> 09:32:37,214 INFO [PostgresDS] Bound connection
> factory for resource adapter for ConnectionManager
> 'jboss.jca:service=LocalTxCM,name=PostgresDS to JNDI
> name 'java:/PostgresDS'
> 10:36:26,231 INFO [STDOUT] Exception:
> jdbc:postgresql:megs not bound
> public static final String DBURL =
> "jdbc:postgresql:megs";
> Context context = new
> InitialContext();
> dataSource = (DataSource)
> context.lookup(DBURL);
Shouldn't you be doing a lookup of "java:/PostgresDS", not DBURL?
Either way, it sounds like a jboss/application config error, not a JDBC
driver error. You might want to try a jboss list if changing the lookup
doesn't help.
-O
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: oliver@opencloud.com, wizumwalt@yahoo.com
Subject: Re: jdbc:postgresql:database not bound error
In-Reply-To: <415B372B.5010102@opencloud.com>
References: <20040929161715.28323.qmail@web52410.mail.yahoo.com> <415B372B.5010102@opencloud.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