wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes OpenEJB and Derby Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "OpenEJB and Derby" Watch "OpenEJB and Derby" New topic
Author

OpenEJB and Derby

Markus Schmider
Ranch Hand

Joined: Feb 25, 2007
Posts: 108
For testing I would like to use OpenEJB and Derby from Eclipse.
However I cannot figure out how to configure the Datasource correctly.

My test class:


persistence.xml:


openejb-jar.xml:

ejb-jar.xml



I have all OpenEJB jars from lib in the Classpath (OpenEJB without persistence works fine).
Additionally derby.jar, derbyclient.jar, derbytools.jar, junit-4.7.jar

I have also tried configuring the datasource in openejb-jar.xml:


I always get the following error:


Any help would be greatly appreciated.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: OpenEJB and Derby