tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eivinn Hustveit>
Subject Re: OpenEJB maven problem
Date Wed, 06 Feb 2008 14:57:35 GMT
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  
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.

Eivinn Hustveit
System Manager

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:
> mvh
> Eivinn Hustveit
> System Manager

View raw message