3 Replies Latest reply on Sep 23, 2009 9:02 PM by Pete Muir

    Problems with beans that have been passivated

    John Ament Master

      I think I saw this before, but just wrote it off as not too much of an issue.  Basically, I have a web bean and an enterprise web bean.  The web bean is located within my web app (war file) and the EWB is in an EJB jar; both are in the EAR file.


      After about 15 minutes, the stateful EWB passivates, but the webbean stays active, since it's session scoped.  The EWB is also session scoped. They have different binding types.  When the EWB passivates, the webbean cannot reference it anymore, and there doesn't seem to be a mechanism the reload it.