I think that's related to
org.apache.openejb.core.ivm.BaseEjbProxyHandler#equals which seems no
more adapted
Index:
container/openejb-core/src/main/java/org/apache/openejb/core/ivm/BaseEjbProxyHandler.java
===================================================================
---
container/openejb-core/src/main/java/org/apache/openejb/core/ivm/BaseEjbProxyHandler.java
(revision 1585987)
+++
container/openejb-core/src/main/java/org/apache/openejb/core/ivm/BaseEjbProxyHandler.java
(working copy)
@@ -480,10 +480,12 @@
if (obj == null) {
return false;
}
- try {
- obj = ProxyManager.getInvocationHandler(obj);
- } catch (final IllegalArgumentException e) {
- return false;
+ if (!BaseEjbProxyHandler.class.isInstance(obj)) {
+ try {
+ obj = ProxyManager.getInvocationHandler(obj);
+ } catch (final IllegalArgumentException e) {
+ return false;
+ }
}
if (this == obj) {
return true;
should fix it
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau
2014-04-09 14:21 GMT+02:00 Anthony Fryer <[email protected]>:
> Hi Ivan,
>
> I duplicated your results using the test case you uploaded and saw a steady
> performance degredation. I was wondering if this was related to jpa, or the
> fact you're using ejb2, so i created a similar test case using ejb 3 entity
> beans, based on the "injection-of-entitymanager" test case. My test case is
> here...
>
> injection-of-entitymanager.zip
> <http://openejb.979440.n4.nabble.com/file/n4668673/injection-of-entitymanager.zip>
>
> Thankfully, i'm not seeing the same issue using ejb 3, so it looks like the
> problem is isolated to the use of ejb2 cmp entity beans.
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/TomEE-performance-degrades-gradually-tp4668090p4668673.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.