Re: Need help with jndi configuration of a datasource

2008-11-12 Thread David Jencks
You need either an @Resource(name=docbase_tgmt) annotation in your ejb (in which case the datasource will be injected, you don't need to do the lookup) or a resource-ref for it in a (new) ejb-jar.xml. In either case you don't need the resource-ref element in your geronimo plan as the

Need help with jndi configuration of a datasource

2008-11-12 Thread Klopp, Alexander
Hi all, I'm working with geronimo 2.1. I've created some stateless session beans using the annotation principle (without having an ejb-jar.xml) The beans access to a datasource defined in the dbpool section of the console. My openejb-jar.xml looks like ?xml version=1.0 encoding=UTF-8