[
https://issues.jboss.org/browse/WELD-80?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589503#comment-12589503
]
John Ament commented on WELD-80:
--------------------------------
I'll need to review the test a bit more, but I am able to reproduce this in AS
6.
In the ejb3 aop xml file, set the timeout low (the default is 5 minutes, that's
enough).
Set the session timeout in web.xml high (60 minutes).
In a session scoped bean, create a reference to a local SFSB. make an initial
request, then wait 5-10 minutes. The EJB will passivate, then on next
invocation of the session scoped bean attempt to access the SFSB. This may be
more of a spec issue though, the more I think about it. CDI scope and EJB
passivation need to be linked.
> Passivation of stateful session beans results in a loss of reference to
> injected object
> ---------------------------------------------------------------------------------------
>
> Key: WELD-80
> URL: https://issues.jboss.org/browse/WELD-80
> Project: Weld
> Issue Type: Bug
> Components: Scopes & Contexts
> Environment: JBoss AS 5.1
> Reporter: John Ament
> Fix For: TBC
>
> Attachments: statefulpassivate.zip
>
>
> See forum post
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues