tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: Duplicate Contexts in reloading. Probably a sync bug in Tomcat 3.3.
Date Wed, 21 Aug 2002 18:31:53 GMT
This should be fixed now.  If you could test the latest nightly, it would be
a big help.

----- Original Message -----
From: "Hugh J. L." <hughjlee@yahoo.com>
To: "Tomcat Developers List" <tomcat-dev@jakarta.apache.org>
Sent: Monday, August 19, 2002 1:42 AM
Subject: Duplicate Contexts in reloading. Probably a sync bug in Tomcat 3.3.


> Hi,
>
> If two requests enter ReloadInterceptor.contextMap()
> simultaneously and both reload context, it causes
> duplicate context reloading.
>
> ---------- messages ----------
>
> 2002-08-19 16:15:16 - ContextManager: Removing context
> DEFAULT:/examples
>
> 2002-08-19 16:15:16 - ContextManager: Removing context
> DEFAULT:/examples
>
> 2002-08-19 16:15:16 - ContextManager: Adding context
> DEFAULT:/examples
>
> 2002-08-19 16:15:16 - ContextManager: Adding context
> DEFAULT:/examples
>
> ---------- messages ----------
>
> As a result, ContextManager.contextsV has duplicate
> Context object, while ContextManager.contexts doesn't
> have since it is Hashtable -- the first is replaced.
>
> I found this problem and then simulated it in JBuilder
> with its debugging functions.
>
> I think that it is not enough to sync DependManager
> only. It is necessary to sync some code in
> ReloadInterceptor.contextMap().
>
> So far don't know if this problem will cause further
> errors.
>
> Thanks.
>
>
> __________________________________________________
> Do You Yahoo!?
> HotJobs - Search Thousands of New Jobs
> http://www.hotjobs.com
>
> --
> 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