Hi all,
I have now successfully gotten both Hibernate and DataSource injection
to work using transaction-type="RESOURCE_LOCAL" in persistence.xml
after fiddling with the openejb.xml. The one thing missing in the DB
setup now is transaction-type="JPA". The result always being that
Hibernate complains about not having access to the "JTA
TransactionManager".
Has anyone gotten this to work?
I can also inform you that I had to remove most classes and that it is
only a simple example class still being used. I will have to add them
back one at a time to find the class(es) that prevents OpenEJB from
setting up the InitialContext.
mvh
Eivinn Hustveit
System Manager
www.mobiletech.no
On Feb 5, 2008, at 10:15 AM, Eivinn Hustveit wrote:
Dear Sirs,
I have recently tried to use OpenEJB for testing our JEE application
during a maven build. The application is compiled using JDK 1.6 with
target 1.5 due to EJB3 deps, OpenEJB is compiled from trunk on
JDK1.5. I'm running OS X.
Hope somebody can help.
When we try to run "mvn test" using JDK 1.6 I get the following error:
http://files.mobiletech.no/stacktrace.txt
mvh
Eivinn Hustveit
System Manager
www.mobiletech.no