I'm using jboss-2.4.4. I have a stateful session bean, sometime, JBoss gives me FileNotFoundException.........can't find file ....../db/session/com...../xxxxx.ser
It seems it can't find the file Jboss stores state for my stateful session bean and restore states back my session bean. Does any one happen to know this problem? Really appreciated if any one can give me any hint on it.
Thanks a lot in advance
After some idle time, the server passivates stateful session beans. After some more idle time, the passivated beans is destroyed. This is what happens in your case: the file cannot be found, because the bean (and thus the file) is removed.
You can change the time out values in the container configuration (jboss.xml or standardjboss.xml).