All, I posted this in the forum but without any luck. So I try it here. Sorry if it is a little of topic but maybe it is a bug. I am using JBoss 2.4.4 with Tomcat 4.0.1. Here is my original posting:
I am holding a EJBHandle in a java bean which implements HttpSessionBindingListener. When I logoff my application normally I invalidate the HTTPSession and the 'valueUnbound' method is called. In that method I call getEJBObject on my handle and do some method call on my EJB and then I call remove on my EJB. So far everything is fine. If my HTTPSession is invalidated because of a timeout 'valueUnbound' is also called but I get a ClassCastException when I want to cast my EJBObject to my real remote interface. >From what I can see is that the check if a timeout is reached is running in a separate Thread. Is it possible that the separate Thread has a different ClassLoader which causes the Exception? Thanks, --Marcus _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development