geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Billy Vandory <>
Subject Re: Geronimo 2.2 + Spring + Hibernate and a Geronimo managed DB Pool with XA driver
Date Sat, 17 Jul 2010 05:30:43 GMT

Hi David, thanks very much for that detailed reply.  Yes, I have a dependency
configured in openejb-jar.xml.  I also tried the lookup using the jca: but
it still fails.  

the db is deployed:
jdbc/testmydb  	 default/wakapeek-persist-ear/1.0/ear  	running  	 Edit 
Usage  Delete

this is in openejb-jar which reflects the module name 


in the geronimo-application.xml for the ear file i have


the testmydb.xml configures the connector, as in my previous post, but
here's the module config from the file:


in application.xml for the ear file i have


- my ejb project references the tranql connector

- i can have a @PersistenceContext inject the PU in my EJB and it works with
the entity manager

but i still can't do a lookup

here's my lookup now:

try {
	        InitialContext ctx = new InitialContext();
	        DataSource ds = (DataSource)
	        Connection con = ds.getConnection();
		catch (Exception e) {

using the above jca:/ i get the following:

ERROR [CategoryEJB] javax.naming.NameNotFoundException: testmydb

in geronimo console, jndi viewer->resource adapter module:
*  console.dbpool/jdbc_testmydb_14/1.0/car  

can you give me any other options?

View this message in context:
Sent from the Users mailing list archive at

View raw message