1 Reply Latest reply on Mar 13, 2005 4:11 PM by sgoggins

    JBoss hangs after stateful session passivation

    Vladimir Ivanov Newbie


      We recently started using Stateful Session EJBs in our app and noticed that every so often our JBoss server stops responding and needs to be restarted. This happens rather randomly, sometimes it takes a week until JBoss hangs, sometimes it takes a day.

      By examining the logs, it seems that the problem is a race condition between two processes, one that tries to passivate stateful session beans and one that tries to create stateful session beans.

      Basically, after several StatefulSessionFilePersistenceManager - Attempting to passivate ... Passivation complete blocks, the JBoss log reveals repeating StatefulSessionContainer - Created new session ID: ... Using create method for session: ... blocks. Application trace shows that JBoss never succeeds in creating these EJB's and stops responding.

      We are running JBoss 3.2.0_tomcat1.24 with Java 1.3.1 on Sun Solaris 5.8.

      Anyone able to shed some light on this?

      Thanks in advance,