Help

Controls

PermLinkWikiLink

Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

Forum: Seam Users Forum ListTopic List
25. Jul 2008, 14:50 CET | Link

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

1 Reply:
28. Jul 2008, 08:51 CET | Link

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