X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E436532A084 for ; Wed, 29 Sep 2004 23:37:26 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 33934-02 for ; Wed, 29 Sep 2004 22:37:14 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id CF85132A0A6 for ; Wed, 29 Sep 2004 23:37:15 +0100 (BST) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=opencloud.com) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1CCmwY-00046y-00; Thu, 30 Sep 2004 10:29:02 +1200 Message-ID: <415B372B.5010102@opencloud.com> Date: Thu, 30 Sep 2004 10:28:59 +1200 From: Oliver Jowett User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "William I. Zumwalt" Cc: pgsql-jdbc@postgresql.org Subject: Re: jdbc:postgresql:database not bound error References: <20040929161715.28323.qmail@web52410.mail.yahoo.com> In-Reply-To: <20040929161715.28323.qmail@web52410.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/203 X-Sequence-Number: 11093 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