You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Jarek Gawor (JIRA)" <ji...@apache.org> on 2010/09/01 23:20:53 UTC

[jira] Created: (OPENEJB-1349) No interceptor of type org.apache.openejb.cdi.CdiInterceptor

No interceptor of type org.apache.openejb.cdi.CdiInterceptor
------------------------------------------------------------

                 Key: OPENEJB-1349
                 URL: https://issues.apache.org/jira/browse/OPENEJB-1349
             Project: OpenEJB
          Issue Type: Bug
          Components: deployment
    Affects Versions: (trunk/openejb3)
            Reporter: Jarek Gawor


I'm seeing the following exception in the latest code:

java.lang.IllegalArgumentException: No interceptor of type org.apache.openejb.cdi.CdiInterceptor
	at org.apache.openejb.core.interceptor.InterceptorStack.<init>(InterceptorStack.java:60)
	at org.apache.openejb.core.stateful.StatefulContainer$StatefulCacheListener.afterLoad(StatefulContainer.java:1048)
	at org.apache.openejb.core.stateful.StatefulContainer$StatefulCacheListener.afterLoad(StatefulContainer.java:1038)
	at org.apache.openejb.core.stateful.SimpleCache.loadEntry(SimpleCache.java:500)
	at org.apache.openejb.core.stateful.SimpleCache.checkOut(SimpleCache.java:223)
	at org.apache.openejb.core.stateful.StatefulContainer.obtainInstance(StatefulContainer.java:633)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (OPENEJB-1349) No interceptor of type org.apache.openejb.cdi.CdiInterceptor

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENEJB-1349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Gawor resolved OPENEJB-1349.
----------------------------------

         Assignee: Jarek Gawor
    Fix Version/s: (trunk/openejb3)
       Resolution: Fixed

Resolving. I should have checked the jcdi branch as these fixes were already there - just were missed in the merge.



> No interceptor of type org.apache.openejb.cdi.CdiInterceptor
> ------------------------------------------------------------
>
>                 Key: OPENEJB-1349
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1349
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: deployment
>    Affects Versions: (trunk/openejb3)
>            Reporter: Jarek Gawor
>            Assignee: Jarek Gawor
>             Fix For: (trunk/openejb3)
>
>         Attachments: OPENEJB-1349.patch
>
>
> I'm seeing the following exception in the latest code:
> java.lang.IllegalArgumentException: No interceptor of type org.apache.openejb.cdi.CdiInterceptor
> 	at org.apache.openejb.core.interceptor.InterceptorStack.<init>(InterceptorStack.java:60)
> 	at org.apache.openejb.core.stateful.StatefulContainer$StatefulCacheListener.afterLoad(StatefulContainer.java:1048)
> 	at org.apache.openejb.core.stateful.StatefulContainer$StatefulCacheListener.afterLoad(StatefulContainer.java:1038)
> 	at org.apache.openejb.core.stateful.SimpleCache.loadEntry(SimpleCache.java:500)
> 	at org.apache.openejb.core.stateful.SimpleCache.checkOut(SimpleCache.java:223)
> 	at org.apache.openejb.core.stateful.StatefulContainer.obtainInstance(StatefulContainer.java:633)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OPENEJB-1349) No interceptor of type org.apache.openejb.cdi.CdiInterceptor

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENEJB-1349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Gawor updated OPENEJB-1349:
---------------------------------

    Attachment: OPENEJB-1349.patch

Here's a patch for this issue. But I'm a little bit concerned about CdiInterceptor using IntraVmArtifact for serialization as it looks to me like IntraVmArtifact can lead to a memory leak. For example, in readResolve() we should be setting list.set(null) once we get the resource. Otherwise, we will be keeping it forever.


> No interceptor of type org.apache.openejb.cdi.CdiInterceptor
> ------------------------------------------------------------
>
>                 Key: OPENEJB-1349
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1349
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: deployment
>    Affects Versions: (trunk/openejb3)
>            Reporter: Jarek Gawor
>         Attachments: OPENEJB-1349.patch
>
>
> I'm seeing the following exception in the latest code:
> java.lang.IllegalArgumentException: No interceptor of type org.apache.openejb.cdi.CdiInterceptor
> 	at org.apache.openejb.core.interceptor.InterceptorStack.<init>(InterceptorStack.java:60)
> 	at org.apache.openejb.core.stateful.StatefulContainer$StatefulCacheListener.afterLoad(StatefulContainer.java:1048)
> 	at org.apache.openejb.core.stateful.StatefulContainer$StatefulCacheListener.afterLoad(StatefulContainer.java:1038)
> 	at org.apache.openejb.core.stateful.SimpleCache.loadEntry(SimpleCache.java:500)
> 	at org.apache.openejb.core.stateful.SimpleCache.checkOut(SimpleCache.java:223)
> 	at org.apache.openejb.core.stateful.StatefulContainer.obtainInstance(StatefulContainer.java:633)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OPENEJB-1349) No interceptor of type org.apache.openejb.cdi.CdiInterceptor

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENEJB-1349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905397#action_12905397 ] 

Jarek Gawor commented on OPENEJB-1349:
--------------------------------------

Committed the patch with some additional changes (proper synchronization for static handles) in revision 991810.


> No interceptor of type org.apache.openejb.cdi.CdiInterceptor
> ------------------------------------------------------------
>
>                 Key: OPENEJB-1349
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1349
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: deployment
>    Affects Versions: (trunk/openejb3)
>            Reporter: Jarek Gawor
>         Attachments: OPENEJB-1349.patch
>
>
> I'm seeing the following exception in the latest code:
> java.lang.IllegalArgumentException: No interceptor of type org.apache.openejb.cdi.CdiInterceptor
> 	at org.apache.openejb.core.interceptor.InterceptorStack.<init>(InterceptorStack.java:60)
> 	at org.apache.openejb.core.stateful.StatefulContainer$StatefulCacheListener.afterLoad(StatefulContainer.java:1048)
> 	at org.apache.openejb.core.stateful.StatefulContainer$StatefulCacheListener.afterLoad(StatefulContainer.java:1038)
> 	at org.apache.openejb.core.stateful.SimpleCache.loadEntry(SimpleCache.java:500)
> 	at org.apache.openejb.core.stateful.SimpleCache.checkOut(SimpleCache.java:223)
> 	at org.apache.openejb.core.stateful.StatefulContainer.obtainInstance(StatefulContainer.java:633)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.