[ 
https://issues.apache.org/jira/browse/OPENEJB-1618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13058985#comment-13058985
 ] 

Shawn Jiang commented on OPENEJB-1618:
--------------------------------------

Hi Jonathan,

This commit brought lots of ejb regressions on geronimo tck.   One of the 
errors I can see is:

Error in Main: java.lang.ClassFormatError: Illegal class name 
"Lorg/apache/openejb/core/ivm/IntraVmProxy;" in class file 
xxxxx/xxx/xxx/xxx/xxManagedBean$LocalBeanProxy.    

Because geronimo is in a tight schedule,  I'm going to revert it for now if no 
objection.


--------------------------------------------------------
ASF     #1141732        Thu Jun 30 21:42:27 UTC 2011    jgallimore      
OPENEJB-1618 don't cache anything that implements IntraVmProxy, make 
no-interface proxies implement IntraVmProxy as well
Files Changed
MODIFY 
/openejb/trunk/openejb3/container/openejb-core/src/test/java/org/apache/openejb/util/proxy/LocalBeanProxyGeneratorImplTest.java
MODIFY 
/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/ivm/naming/IvmContext.java
MODIFY 
/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/util/proxy/LocalBeanProxyGeneratorImpl.java
 

> Seem to be caching proxies in JNDI
> ----------------------------------
>
>                 Key: OPENEJB-1618
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1618
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: container system
>            Reporter: Jonathan Gallimore
>            Assignee: Jonathan Gallimore
>            Priority: Minor
>
> There seems to be a case where a proxy can be cached in IvmContext instead of 
> the reference. This can cause instances that have had an @Remove method 
> called to be returned from a JNDI lookup without a create method being called.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to