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