This content has been marked as final.
Show 2 replies
-
1. Re: Difference of handling @Stateless in Wildfly-10.0.0.CR4 to 9.0.2 ?
tremes Nov 26, 2015 5:37 AM (in response to shadogray)Hi,
I don't understand your use case much. Do you inject SecureFileBean anywhere or why is it annotated @Produces? I can't see anything like this in SecureFileSystemBean class. Anyway I guess it behaves like this because of SLSB pooling which was re-enabled in WF 10 AFAIK. See WildFly 10.0.0.CR4 Release Notes.
-
2. Re: Difference of handling @Stateless in Wildfly-10.0.0.CR4 to 9.0.2 ?
shadogray Nov 26, 2015 10:25 AM (in response to tremes)Thank you for the hint, I understand, that this shows the result of my bad design, on which you commented.
Evidently it worked by coincidence due to inactive pooling.
After activation of pooling, the SLSB was still active on the second call and still held a reference to the SFSB it had resolved before.
Thanks a lot,
Thomas