There is something I forgot to tell you: WebSessionContext is NOT serializable. 
So if you have injected it into your SFSB, and the SFSB gets passivated (i.e. 
serialized) after some idle time, the sessionContext gets lost. And when 
reactivating the SFSB and accessing sessionContext you will get:

java.lang.RuntimeException: org.jboss.serial.exception.SerializationException: 
Could not create instance of org.jboss.seam.contexts.WebSessionContext

So use:

private transient sessionContext;
(Didn't have the time to test it yet)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962893#3962893

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962893
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to