• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

OpenEJB and Derby

 
Ranch Hand
Posts: 153
3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:


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.
 
On top of spaghetti all covered in cheese, there was this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic