This content has been marked as final.
Show 2 replies
-
1. Re: Stateless session bean is not destroyed
damnh Mar 22, 2012 4:55 AM (in response to damnh)I think this following link is the same problem, in this link maybe logged in user injected right, but not in my case.
-
2. Re: Stateless session bean is not destroyed
jharting Mar 23, 2012 5:00 AM (in response to damnh)Your producer method creates a dependent instance which means that this instance will not be re-injected when the SLSB is used from a different session. This can be fixed by declaring a normal-scoped producer method - adding @SessionScoped to your producer method.