aspose file tools*
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: 87
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: OpenEJB and Derby
 
Similar Threads
JBoss 5.1 with Hibernate
JPA error: A JDBC Driver or DataSource class name must be specified in the ConnectionDriverName prop
Erro while commit transaction
[NewBie] Not able to connect JPA and Hibernate ?
Problem with JTA transactions and OpenJPA