1 Reply Latest reply on Jul 28, 2008 8:51 AM by Benito Juarez

    Error using session bean

    Benito Juarez Newbie

      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