From the ejb life cycle, I think that when an ejb is timed out , the ejbRemove method is called. please correct me if I'm wrong.
Anyway if not so how to know that the ejb has timed out.
I'm using JBOSS 5.1 GA.
but actually the ejbRemove is not called when the ejb timesout, so I can't catch the ejb timeout event, please help me to catch this event somehow.
by the way is the ejb timeout related to the transaction timeout, I think not, but not sure.
note: I can change the ejb timeout time from the standardjboss.xml in the conf folder inside the JBOSS server folder from the < max-bean-life> tag under the < cache-policy>org.jboss.ejb.plugins.LRUStatefulContextCachePolicy< /cache-policy> tag