tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: HttpSessionBindingListener ClassLoader
Date Sat, 12 Oct 2002 05:44:27 GMT
It seems reasonable to me.  The code in the CVS HEAD has been patched to set
the TCCL in this case.  You can try the next nightly, or wait for 3.3.2.

----- Original Message -----
From: "Aaron Mulder" <ammulder@alumni.princeton.edu>
To: "Tomcat Dev List" <tomcat-dev@jakarta.apache.org>
Sent: Friday, October 11, 2002 10:46 AM
Subject: HttpSessionBindingListener ClassLoader


> I'ts been brought to my attention that a
> HttpSessionBindingListener is being called with an unexpected thread
> context ClassLoader when the session expires.  That interface is used to
> detect when object are bound or unbound from a session, and the developer
> was attempting to perform an EJB call when the object was unbound.
> However, in Tomcat 3.3.1, the EJB classes are not available when the call
> comes in due to a session timeout, because the TCCL is not set to the
> appropriate application CL.
> Does anyone have any thoughts on the appropriate behavior here?
> Would it be unreasonable to set the TCCL to the application CL when
> calling a HttpSessionBindingListener in the timeout case?  If not, I'll
> file a bug report.
> Also, I'm not sure whether this is an issue with the 4.x/5.x
> releases.
>
> Thanks,
> Aaron
>
>
> --
> To unsubscribe, e-mail:
<mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:tomcat-dev-help@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message