Hello,
i have a session bean with following annotaions:
@Stateful
@Scope(SESSION)
@Name("productSearch")
in my view im reading some members of this bean. It works well at first, but when i wait some minutes and call the same link, the following error occours:
javax.el.ELException: /products.xhtml @42,98 value=#{productSearch.productName}: Error reading 'productName' on type org.javassist.tmp.java.lang.Object_$$_javassist_4
what can i do to avoid this? Its clear, what the session timed out, but arent the session beans reinitialized when the new session starts?
Grz
BJ
the error accous after some minutes waiting.
If i reload the error page, i get the correct response. Its only the first request after the session timeout...
Is where a way to reinitialize the bean on demand?
Plz Help
BJ