geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xh <>
Subject Re: how to access dbpool in EAR application
Date Fri, 06 Jul 2007 17:28:58 GMT
I think if you already have the DB pool deployed in Geronimo, you can 
just have a dependency on it in your openejb-jar.xml.


I have read this page:

and I did everything it says:

In ejb-jar.xml I added:


             <!-- definition of my Stateful Session Bean goes here... -->


                <description>This is a reference to ERS DB2 database.</description>






and now openejb-jar.xml...

in <environment> I added:


but how to map the console.dbpool/DataWeaverEARDB2 to jdbc/ERSDS?

any idea what should I write in openejb-jar.xml to get things work?

thanks in advance
best regards

Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
View raw message