The StackOverflow problem should be fixed in RC3. There is a unit test for it...
What version of EJB3 are you using? The one that comes with 4.0.3 installer is RC2.
yes am currently using the one fom 4.0.3 final installer in combination with JDK 1.5.0_05.
Updated to EJB3 RC3. It works now.
What a coincidence. I was browsing the source code for that all night. :)
Bill I also noticed in this issue that beans are also passivated early.
Sesion timeout is 300. This is in seconds I guess.
This is Line 82 in org.jboss.ejb3.cache.simple.SimpleStatefulCache
if (now - centry.lastUsed >= sessionTimeout)
so milliseconds and seconds are mixed up I guess.
Can you confirm?