Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

OpenEJB and Derby

Markus Schmider
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic