mikka2010 [
http://community.jboss.org/people/mikka2010] created the discussion
"Re: removalTimeoutInSeconds & subsequent removal?"
To view the discussion, visit:
http://community.jboss.org/message/567865#567865
--------------------------------------------------------------
Hello,
I have a similar problem.
I use a stateful session bean with a removalTimeoutSeconds = 60 (for testing), but after
the timeout the method annotated with @Remove is not executed.
Only the method annotated with @PreDestroy is called.
In the heap dump I can still see the session bean object in memory.
I want to use the removalTimeout for such sessions which terminate abnormal.
If the client terminates normal, it calls the method annotated with @Remove and then the
method annotated with @PreDestroy.
In this scenario the session bean object is not present in the memory anymore.
I use the application server jboss 4.2.3_GA.
Kind regards
Michael
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/567865#567865]
Start a new discussion in EJB 3.0 at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]