Protect & promote TomEE on Reddit / online

2014-09-21 Thread zmirc
Hi guys! I've just seen a discussion on Reddit about TomEE or Wildfly. Unfortunately, the discussion is mostly filled with Wildfly supporters. Nevertheless, I've just added my take in favor of TomEE now. You should do that as well. You have a great app server backed by a great team. People have t

Re: TomEE + Omnifaces - test - SEVERE: CDI Beans module deployment failed

2014-09-04 Thread zmirc
Thank you, hwaastad! It works with Omnifaces 1.7. Pfew! :) I saw Romain's article with @Jars, but I can't use dev TomEE in production. -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/TomEE-Omnifaces-test-SEVERE-CDI-Beans-module-deployment-failed-tp4671597p4671634.htm

TomEE + Omnifaces - test - SEVERE: CDI Beans module deployment failed

2014-09-04 Thread zmirc
something. I made a sample maven project https://bitbucket.org/zmirc/tomee-omnifaces-bug <https://bitbucket.org/zmirc/tomee-omnifaces-bug> You can see that I tried to do it in 3 ways, but I keep getting the same error. If you just comment Omnifaces from pom.xml, you can see that TomEE sta

Re: Apache TomEE 1.7.0 Release

2014-08-18 Thread zmirc
A huge thank you to everyone involved. I am using TomEE for all my projects and my customers' projects. Keep going with the great work. -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Apache-TomEE-1-7-0-Release-tp4671162p4671260.html Sent from the TomEE Users mail

Re: webbeans on high load: java.util.EmptyStackException

2014-05-26 Thread zmirc
Nice! The new snapshot doesn't have the web.xml filter problem. The java.util.EmptyStackException isn't thrown neither. It seems perfect and stable! Thank you, Romain! I am experiencing a memory leak in high load after 10 minutes (it happens the same with 1.6.0 JAX-RS), but it might be in ObjectD

Re: webbeans on high load: java.util.EmptyStackException

2014-05-26 Thread zmirc
Hi! I am using @RequestScoped. I've tried to download the JAX-RS snapshot from tomee.apache.org, but I got this error: 500 - Internal Server Error Exception during reading up an item from FS storage! -- View this message in context: http://openejb.979440.n4.nabble.com/webbeans-on-high-load-j

Re: webbeans on high load: java.util.EmptyStackException

2014-05-25 Thread zmirc
n. Thanks. From: Romain Manni-Bucau [via OpenEJB] To: zmirc Sent: Monday, May 26, 2014 7:35 AM Subject: Re: webbeans on high load: java.util.EmptyStackException and you can't reproduce it ina smaller project? PS: not sure why you mails go to my spam folder :s

Re: webbeans on high load: java.util.EmptyStackException

2014-05-25 Thread zmirc
From: Romain Manni-Bucau [via OpenEJB] To: zmirc Sent: Sunday, May 25, 2014 5:59 PM Subject: Re: webbeans on high load: java.util.EmptyStackException Hi do you have a working sample (mvn package tomee:run to start it)? Romain Manni-Bucau Twitter: @rmannibucau Blog:

Re: webbeans on high load: java.util.EmptyStackException

2014-05-25 Thread zmirc
I've just load tested with 1.6.0.2 JAX-RS. The error still happens. I've tried 1.7.0 JAX-RS build 20140525.041153, but I couldn't even deploy the app on that one, because it couldn't map a ServletFilter to a specific path in web.xml. That filter has the name declared with the annotation, and the m

Re: webbeans on high load: java.util.EmptyStackException

2014-05-24 Thread zmirc
Sorry for spamming, but I forgot to mention that it's running on Oracle JDK 8 update 5 on 32 bits. -- View this message in context: http://openejb.979440.n4.nabble.com/webbeans-on-high-load-java-util-EmptyStackException-tp4669631p4669634.html Sent from the OpenEJB User mailing list archive at

Re: webbeans on high load: java.util.EmptyStackException

2014-05-24 Thread zmirc
Here is StatelessSecurityFilter Java class that it's mentioned in the stacktrace, so that you can see what happens there as well. tomee-EmptyStackException-onHighLoad-StatelessSecurityFilter.java

Re: webbeans on high load: java.util.EmptyStackException

2014-05-24 Thread zmirc
That's how the error looks when Tomcat is set on NIO (in the previous case it wasn't). It is almost the same, just 1-2 lines differ at the end, but I thought I might help to identify the cause. 24-May-2014 08:16:47.323 WARNING [http-nio-8080-exec-1] org.apache.cxf.phase.PhaseInterceptorChain.doDef

webbeans on high load: java.util.EmptyStackException

2014-05-24 Thread zmirc
Hi everyone! I'm simulating high load on a Java EE application running on Tomee 1.6.0. The load is: 9 API requests / millisecond, ~540.000 requests / minute, running just on 1 Tomee instance that's running on my personal machine. Until I increased the load to this point, I didn't have any problem

Re: Netbeans Users

2014-05-21 Thread zmirc
Hi! I have been using NetBeans for years. The latest versions made me love it even more. I'm using it (myself and the companies I work with) for: - Java EE projects - Java FX projects - HTML & CSS & JS projects - PHP projects - many other things I'm using using Tomee in NetBeans by adding it as a

Re: tomee, jax-rs and logback

2014-05-16 Thread zmirc
After spending a couple of hours trying to achieve this in 1.6.0, I've finally found this thread. :( I look forward to having the stable version 1.6.1. -- View this message in context: http://openejb.979440.n4.nabble.com/tomee-jax-rs-and-logback-tp4667241p4669344.html Sent from the OpenEJB User

Re: Release date of 1.6.1 GA/stable?

2014-02-28 Thread zmirc
Any information on this, please? It would be really appreciated. -- View this message in context: http://openejb.979440.n4.nabble.com/Release-date-of-1-6-1-GA-stable-tp4667939p4668039.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Release date of 1.6.1 GA/stable

2014-02-20 Thread zmirc
Hi awesome team of Tomee! I'm really interested in a stable version of 1.6.1, because I'm currently using 1.6.0 in production, but 1.6.1-SNAPSHOT in tests because of some problems. This is not a great scenario, therefore I'd like to run both production and tests with the same stable version. Is t

Feedback on TomEE 1.6.0

2013-12-09 Thread zmirc
Broken link. Scenario to reproduce: 1. Go to http://tomee.apache.org/downloads.html 2. Click on "all previous releases and current snapshot builds". 3. Click on 1.6.0 or 1.5.2 from "Released" section. 4. Scroll down to "Examples" section, and click on "B

Re: Missing TomEE 1.6.0 announce at http://tomee.apache.org/index.html ?

2013-12-07 Thread zmirc
Very good post! I was thinking the same. Tomee team should be really proud and let everyone know about their effort. -- View this message in context: http://openejb.979440.n4.nabble.com/Missing-TomEE-1-6-0-announce-at-http-tomee-apache-org-index-html-tp4666596p4666599.html Sent from the OpenEJB

Happy news - better integration with NetBeans

2013-10-29 Thread zmirc
Happy news - better integration with NetBeans: https://blogs.oracle.com/geertjan/entry/tomee_integration_in_netbeans_next -- View this message in context: http://openejb.979440.n4.nabble.com/Happy-news-better-integration-with-NetBeans-tp4665782.html Sent from the OpenEJB User mailing list archi

Re: How to get Tomee JAX-RS CXF + Jackson 1.9? Please help

2013-10-29 Thread zmirc
I've put all the necessary steps in a StackOverflow answer, so that others could see it easier. Here it is: http://stackoverflow.com/a/19653753/1385906 -- View this message in context: http://openejb.979440.n4.nabble.com/How-to-get-Tomee-JAX-RS-C

Re: @Async call blocks in @PostConstruct

2013-10-24 Thread zmirc
Hi! Mark might have a good point, which can be shown with the current example (see code). By removing @Asynchronous from this EJB, Tomee does blocks for ever. If @Asynchronous is not commented out, then it works perfectly, with async doingHardWork() method being executed after the @PostConstruct i

Re: @Async call blocks in @PostConstruct

2013-10-23 Thread zmirc
Nice trick! Thanks a lot for the sample and for the quick answer. -- View this message in context: http://openejb.979440.n4.nabble.com/Async-call-blocks-in-PostConstruct-tp4665703p4665707.html Sent from the OpenEJB User mailing list archive at Nabble.com.

@Async call blocks in @PostConstruct

2013-10-23 Thread zmirc
Hi! Shouldn't async methods not block even if they are called in @PostConstruct? Here is the sample code, which blocks if ran in Tomee 1.6.0 2013.10.23 / 05 import java.util.logging.Level; import java.util.logging.Logger; import javax.annotation.PostConstruct; import javax.ejb.Asynchronous; impor

Re: How to get Tomee JAX-RS CXF + Jackson 1.9? Please help

2013-10-14 Thread zmirc
So much better with a sample. Thank you, Romain. -- View this message in context: http://openejb.979440.n4.nabble.com/How-to-get-Tomee-JAX-RS-CXF-Jackson-1-9-Please-help-tp4665580p4665588.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: How to get Tomee JAX-RS CXF + Jackson 1.9? Please help

2013-10-14 Thread zmirc
Can you please elaborate a little? Isn't what's on trunk available in the snapshot version? How can the app configuration be done? From: Romain Manni-Bucau [via OpenEJB] To: zmirc Sent: Sunday, October 13, 2013 11:33 PM Subject: Re: How to get To

Re: How to get Tomee JAX-RS CXF + Jackson 1.9? Please help

2013-10-13 Thread zmirc
erty for all cases or for all classes in a package or something similar? It's really nice that it can work, but it's a true pain to have manual config for each resource class. From: Romain Manni-Bucau [via OpenEJB] To: zmirc Sent: Sunday, October 13

How to get Tomee JAX-RS CXF + Jackson 1.9? Please help

2013-10-13 Thread zmirc
Hi! I've been trying the whole day to get Tomee 1.6 JAX-RS distribution having Jackson as JaxbJson provider, but with no success. What am I missing? I've read all possible resources about it. Here's the sample project: https://github.com/zmirc/tomee-cxf-jackson-sample <https:

Re: Tomee 1.6.0 2013.10.05 + Jersey 2.3.X -> openejb class loader error

2013-10-13 Thread zmirc
well, I had to remove my class that extended Application and let Jersey to autodiscover everything by itself. Thanks! From: Romain Manni-Bucau [via OpenEJB] To: zmirc Sent: Sunday, October 13, 2013 3:50 PM Subject: Re: Tomee 1.6.0 2013.10.05 + Jersey 2.3.X

Re: Tomee 1.6.0 2013.10.05 + Jersey 2.3.X -> openejb class loader error

2013-10-13 Thread zmirc
Hi! Here it is the updated source: https://github.com/zmirc/tomee-jersey-bug I stopped trying Jersey JAX-RS 2, and I downgraded, but now I get: Oct 13, 2013 3:07:08 PM org.apache.catalina.core.ApplicationContext log SEVERE: StandardWrapper.Throwable java.lang.RuntimeException

Tomee 1.6.0 2013.10.05 + Jersey 2.3.X -> openejb class loader error

2013-10-13 Thread zmirc
than a plain Maven project with Jersey and Jackson, a web.xml file, an entity and a boundary (JAX-RS) class. The project is tested through NetBeans 7.4 RC1. https://github.com/zmirc/tomee-jersey-bug <https://github.com/zmirc/tomee-jersey-bug> I know there is Tomee + Apache CXF, but Jer

Re: Tomee 1.6.0 2013.10.05 + Jersey 2.3.X -> openejb class loader error

2013-10-13 Thread zmirc
Moreover, if I don't specify JAX-RS in web.xml and I try to extend JAX-RS Application, Tomee doesn't do anything at all, and returns 404. Yet...this example works on plain Tomcat 7.0.42. I've attached both maven projects, for easier access. tomee-jersey-bug-extending-Application.zip

Re: 1.6.0 release plans?

2013-10-08 Thread zmirc
I would really want to know that, too. -- View this message in context: http://openejb.979440.n4.nabble.com/1-6-0-release-plans-tp4665437p4665447.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: Memory leak by openejb.pool.scheduler

2013-10-05 Thread zmirc
This error appeared once during deployment. I did a lot of tries and deployed / redeployed 15-20 times, but it didn't appear again. Maybe the stack trace will help. The interesting part is: the error complains about EJB EmailC, but the second log line (Retrieved 0 unsent e-mails from DB) shows how

Re: Memory leak by openejb.pool.scheduler

2013-10-05 Thread zmirc
Everything seems to work flawlessly now with 1.6.0 from 2013.10.05. I love it!!! Moreover, AbstractHttp11Processor-process-Error-processing-request-td4665383.html doesn't appear neithe

Re: Memory leak by openejb.pool.scheduler

2013-10-03 Thread zmirc
Hi! I wanted to test now with the latest snapshot (2013.10.03), but it doesn't seem to be uploaded on http://tomee.apache.org/download/tomee-1.6.0-snapshot.html The last one is from yesterday, so it seems that something it's wrong with it. -- View this message in context: http://openejb.979440

Re: Memory leak by openejb.pool.scheduler

2013-10-02 Thread zmirc
estion about the above is: why do those logs appear for @Schedule methods that shouldn't exist anymore in Tomee, because that project was undeployed before the new one was deployed. Thank you for such a nice and fast support! ____ From: Romain Manni-Bucau [via Open

AbstractHttp11Processor.process Error processing request

2013-10-02 Thread zmirc
Hi! I've just seen the following log in one of the production servers running Tomee 1.6.0 2013.09.20. It's the first time I see this error. It appeared just once. The first line (DEBUG) is a Filter that redirects from non-www to www. That's it. The second one (the error) might be executing the re

Re: Memory leak by openejb.pool.scheduler

2013-10-01 Thread zmirc
Hi! I'm back with feedback for 1.6.0 2013.10.01. 1. I don't see the leak log anymore. 2. @Schedule seems to be properly working after restart. 2.1. During redeployment, all @Schedule executions crash once, which generates a huge amount of logs. That's something new that happens. They shouldn't sta

Re: Memory leak by openejb.pool.scheduler

2013-09-30 Thread zmirc
Great! Thanks. I'll check it out when it gets available for download, tomorrow. BTW, why is there no change log anymore on  http://tomee.apache.org/download/tomee-1.6.0-snapshot.html ? From: Romain Manni-Bucau [via OpenEJB] To: zmirc Sent: Monday, Sept

Re: Memory leak by openejb.pool.scheduler

2013-09-28 Thread zmirc
A few more logs related to that, but this ones are taken from production server. They appear at stop / restart / undeploy. I think most of them happened when I was undeploying the app. I hope they will help. Sep 20, 2013 7:59:03 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThread

Re: Memory leak by openejb.pool.scheduler

2013-09-28 Thread zmirc
comments, where I'm using pure catalina.sh to operate Tomee, so no NetBeans or any other tools. From: Romain Manni-Bucau [via OpenEJB] To: zmirc Sent: Saturday, September 28, 2013 1:07 PM Subject: Re: Memory leak by openejb.pool.scheduler Can you test starti

Re: Memory leak by openejb.pool.scheduler

2013-09-28 Thread zmirc
Moreover, with the original project, the one where I discovered this Tomee's bug, by repeating this cycle more times (run,undeploy,deploy,redeploy etc...), Tomee can't be stopped anymore. The only solution is to kill the process. I didn't get this behavior with this small sample, but I just wanted

Re: Memory leak by openejb.pool.scheduler

2013-09-28 Thread zmirc
Hi! I can confirm that @Schedule is not stopped anymore after redeploying. That's great. Now, regarding the leak problem, I've managed to semi-reproduce the error with a sample project. https://github.com/zmirc/tomee-memory-bug <https://github.com/zmirc/tomee-memory-bug> Steps

Re: Memory leak by openejb.pool.scheduler

2013-09-27 Thread zmirc
I've just seen the LEAK error logs of Tomme now on another production server, which runs 1.6.0 from 29.07.13. I'll try now with the latest Snapshot and come with feedback ASAP. Thanks. -- View this message in context: http://openejb.979440.n4.nabble.com/Memory-leak-by-openejb-pool-scheduler-tp4

Re: Memory leak by openejb.pool.scheduler

2013-09-25 Thread zmirc
I'm happy that you fixed that bug. Thank you! I'm under huge pressure because of a very random and not reproducible bug, therefore I have to post-pone a little bit isolating the leaking error into a sample project. I would really appreciate if someone could help. I'm desperate because of it. The w

Re: Memory leak by openejb.pool.scheduler

2013-09-25 Thread zmirc
The only solution for no.2 is to stop Tomee and start it again. Redeploying x times won't help to get those @Schedule methods start automatically inside the @Singleton @Startup EJB. That's actually quite a big problem. -- View this message in context: http://openejb.979440.n4.nabble.com/Memory

Re: Memory leak by openejb.pool.scheduler

2013-09-25 Thread zmirc
Where is that ~/.openejb/system.properties? I have @Singleton EJB with @Schedule methods. I'm trying right now to reproduce the bug with a new & small project. While working on it, I found 2 more bugs: 1. Supposing that we have an app deployed. I add one more @Schedule method inside one if its @Si

Re: Memory leak by openejb.pool.scheduler

2013-09-25 Thread zmirc
t has failed to stop it. This is very likely to create a memory leak. This should be enough for testing. Otherwise I'll try to make a demo project, but maybe it's not necessary. From: Romain Manni-Bucau [via OpenEJB] To: zmirc Sent: Wednesday, Septem

Re: Memory leak by openejb.pool.scheduler

2013-09-25 Thread zmirc
f the time, especially after I redeploy the app once." From: Romain Manni-Bucau [via OpenEJB] To: zmirc Sent: Wednesday, September 25, 2013 6:43 AM Subject: Re: Memory leak by openejb.pool.scheduler Hi Do you configure quartz? Le 25 sept. 2013 00:1

Memory leak by openejb.pool.scheduler

2013-09-24 Thread zmirc
Hi! Using Tomee 1.6.0 2013.09.20, I get this when I try to stop Tomee, which has a ROOT application that uses EJB @Schedule: 25-Sep-2013 00:06:09.745 WARNING [localhost-startStop-2] org.apache.openejb.assembler.classic.Assembler.destroyApplication Application id 'ROOT' not found in: [openejb] 25-S

Re: Entity belongs to another EntityManager - @Stateless bean error

2013-08-19 Thread zmirc
ain Manni-Bucau [via OpenEJB] To: zmirc Sent: Monday, August 19, 2013 2:59 PM Subject: Re: Entity belongs to another EntityManager - @Stateless bean error Hi, we close the em with the transaction. That's normal you can't call it yourself. *Romain Manni-Bucau* *Twitter: @rm

Entity belongs to another EntityManager - @Stateless bean error

2013-08-19 Thread zmirc
Hi! I'm using ObjectDB and Tomee 1.5.2 and I've faced the following problem, which is described here: http://www.objectdb.com/database/forum/660 Quick overview: @Stateless method execution might not close injected EntityManager, therefore the databas

Re: 1.5.2 first Post not executed error works in 1.6.0 29.07.13

2013-08-15 Thread zmirc
@smithh032772: no, it does not. It's just for displaying a list of comments in a nice way. No server connection/action. -- View this message in context: http://openejb.979440.n4.nabble.com/1-5-2-first-Post-not-executed-error-works-in-1-6-0-29-07-13-tp4664590p4664665.html Sent from the OpenEJB U

Re: 1.5.2 first Post not executed error works in 1.6.0 29.07.13

2013-08-15 Thread zmirc
Ha…even more interesting. If is after , the POST method is not triggered at first try. It works just from the second try. That’s the original problem. If is before , the Post method (action of the form) is executed properly from the first time/click. -- View this message in context: http://o

Re: 1.5.2 first Post not executed error works in 1.6.0 29.07.13

2013-08-15 Thread zmirc
It seems that it didn't work in other versions of Tomee neither. The problem was having a in that page (inside a custom component used in that page), even though the commandButton was not inside the loop. By switching to , the problem is gone in all versions of Tomee. It is probably a bug in MyFa

Re: Maven Dependencies (Newbie Question)

2013-08-12 Thread zmirc
You're welcome. Your question is not actually related to a Java EE application server documentation (Tomee in this case), but Java EE in general. In order to use it, you must have the API jar, either added manually or through Maven. PS. I'm using NetBeans, which handles things like that for you.

Re: Maven Dependencies (Newbie Question)

2013-08-12 Thread zmirc
Hi! JavaEE 6 API it's what you need. Tomee contains the implementation JARs, so there's no need to specify them. javax javaee-web-api 6.0 provided -- View this message in context: http://openejb.979440.n4.nabble.com/Maven-Dependencies-N

Re: @Schedule doesn't work in 1.6.0 05.08.2013

2013-08-12 Thread zmirc
Hi! When can we expect a new Snapshot? I've just discovered one more bug in build 29.07.2013 for JSF, which seems do be fixed in build 05.08.13, but the later has this bug with @Schedule. 1.5.2 production build has a bug with CDI, so I'm in the point where I can't use any of them in production. So

Re: @Schedule doesn't work in 1.6.0 05.08.2013

2013-08-12 Thread zmirc
Hi! I've never done that, so I think I'm going to wait for a new snapshot. Thanks, Romain. From: Romain Manni-Bucau [via OpenEJB] To: zmirc Sent: Monday, August 12, 2013 1:08 PM Subject: Re: @Schedule doesn't work in 1.6.0 05.08.2013 Hi

@Schedule doesn't work in 1.6.0 05.08.2013

2013-08-12 Thread zmirc
Hi! I've just dnd the latest snapshot, but it seems something doesn't work. I have a @Singleton @Startup bean with a @Schedule method. The scheduled method is not triggered in Tomee web 1.6.0 from 05.08.2013, the build that is currently available today. I have tested with build 1.6.0 from 29.07.1

Re: 1.5.2 first Post not executed error works in 1.6.0 29.07.13

2013-08-11 Thread zmirc
I think it shouldn't be that, because this problem appears only on pages with rewritten URLs. There are many @RequestScoped beans in the project, all working perfectly fine without any constructor. From: smithh032772 [via OpenEJB] To: zmirc Sent: S

1.5.2 first Post not executed error works in 1.6.0 29.07.13

2013-08-10 Thread zmirc
Hi! I've had a very strange error. While using PrimeFaces, PrettyFaces and Tomee 1.5.2, Post request triggered from pages with URL rewritten by PrettyFaces didn't execute at first request, but from the second one. (while using a @RequestScoped CDI bean - more details in the following links) I could

Re: TomEE: StandardSession expire

2013-07-29 Thread zmirc
Great! That doesn't appear anymore, but with build 29.07 it seems to be a new error. Scenario: 1 - Tomee is closed. 2 - Deploy app and start Tomee. 3 - Before deployment is 100% done (probably around 80% from a time perspective), a request is made to the app (a HTTP url is accessed) 4 - The reques

Re: TomEE: StandardSession expire

2013-07-27 Thread zmirc
I encounter a similar error on 1.6.0 build 27.07. It does not always happen. I have a filter that redirects everything from /lm/* to /login-lm.xhtml if @SessionScoped UserSessionB does not have "authenticated" field true (see isAuthenticated()). This field is primitive (boolean not Boolean) and it

Re: TomEE doesn't persist @SessionScoped beans?

2013-07-25 Thread zmirc
I have been searching the whole day about how to get CDI @SessionScoped being persisted into session on disk, because that's how my log in system works. Finally, I've found the solution thanks to this thread. This property "openejb.session-context=http" should be listed on http://tomee.apache.org

Re: Findings from moving a Tomcat 7.0.26 app to TomEE beta 1.0.0 plus

2013-06-04 Thread zmirc
Thank you so much Neale Rudd. I had the same error "user lacks privilege or object not found:" with Tomee 1.5.2. Adding the resource in tomee.xml fixed it. I have to mention that this app worked perfectly on Tomcat, but on Tomee I got this error. Why is this necessary? Shouldn't moving from Tomcat

Re: javax.naming.NameNotFoundException: Name [comp/TransactionManager] is not bound in this Context. Unable to find [comp].

2013-05-21 Thread zmirc
Thanks a lot for such a fast reply. That's why I switched from Glasfish to TomEE, for its nice support. It seemed that actually I was putting objectdb.jar in the classpath in a wrong way. Now I use common.loader from catalina.properties and it works properly. It was my mistake. Thanks and keep go

javax.naming.NameNotFoundException: Name [comp/TransactionManager] is not bound in this Context. Unable to find [comp].

2013-05-20 Thread zmirc
Hi, guys! I am struggling with getting ObjectDB 2.5.0 to work with clean Apache Tomee 1.5.2 with transaction-type="JTA". I don't have any configurations in Tomee (objectdb.jar is in Tomee's classpath) nor other parts, excepting the following persistence.xml: http://java.sun.com/xml/ns/persistenc