File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "OpenEJB and Derby" Watch "OpenEJB and Derby" New topic

OpenEJB and Derby

Markus Schmider
Ranch Hand

Joined: Feb 25, 2007
Posts: 114
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:




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.
Consider Paul's rocket mass heater.
subject: OpenEJB and Derby
It's not a secret anymore!