Hi Cheng,
I'm running on 9.0_01 (build b21). Issue 2998 reproduced the problem for 9.1pe_b44 with the target release 9.1pe_b47. So I assume all I need is to upgrade to that version. Thanks a lot. That was helpful.
Anyway I was researching and thinking about the recommendation to NOT use threads and now totally agree with you guys. I also could change my stateful session bean to stateless (for which @PreDestroy works even in my glassfish version) and did create a new stateless bean that makes use of the EJB3 Timer Service.
Now everything works fine. After undeloyment, @PreDestroy gets invoked (even if I dont need it anymore right now :) and also the timer bean expires.
THANKS !
[Message sent by forum member 'swordofdarius' (swordofdarius)]
http://forums.java.net/jive/thread.jspa?messageID=247514