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: http://docs.codehaus.org/display/OPENEJB/Details+on+openejb-jar

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 - Get better answers from someone who knows. Try it now.