I have been searching the whole day about how to get CDI @SessionScoped being
persisted into session on disk, because that's how my log in system works.
Finally, I've found the solution thanks to this thread.

This property "openejb.session-context=http" should be listed on 
http://tomee.apache.org/properties-listing.html
<http://tomee.apache.org/properties-listing.html>   also, because there
might be more people having this issue, and it's a real pain in the ... to
figure it out.

Thanks a lot!

BTW...why isn't this the default behavior? Isn't this one of the reason why
@SessionScoped CDI exists?



--
View this message in context: 
http://openejb.979440.n4.nabble.com/TomEE-doesn-t-persist-SessionScoped-beans-tp4659814p4664358.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to