tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jean-frederic clere <jfrederic.cl...@fujitsu-siemens.com>
Subject Re: Manager application working again in 4.0.4-B1. Please evaluate patch
Date Thu, 21 Mar 2002 16:41:33 GMT
Renato wrote:
> Hi all,
> 
> Apparently the new piece of in StandardContext that releases the
> DirContext breaks the ManagerServlet since it's messes with docBase (
> when it tries to start again, docBase in just relative not absolute ).
> The following patch moves super.stop() before the release of DirContext
> and add a setResources(DirContext) of what was left of DirContext ( I'm
> not sure f this part )
> 
> *** StandardContext.java.old    Thu Mar 21 11:29:06 2002
> --- StandardContext.java        Thu Mar 21 11:43:53 2002
> ***************
> *** 3455,3458 ****
> --- 3455,3463 ----
>           }
> 
> +         // Normal container shutdown processing
> +         if (debug >= 1)
> +             log("Processing standard container shutdown");
> +         super.stop();
> +
>           // Release our resources DirContext
>           DirContext dirContext = getResources();
> ***************
> *** 3471,3479 ****
>               }
>           }
> !
> !         // Normal container shutdown processing
> !         if (debug >= 1)
> !             log("Processing standard container shutdown");
> !         super.stop();
> 
>           // Unbinding thread
> --- 3476,3480 ----
>               }
>           }
> !         setResources(dirContext);
> 
>           // Unbinding thread
> 
> Thanks
> 
> Renato - Brazil
> 
>  
> 
> 
> 
> ---------------------------------
> Do You Yahoo!?
> Yahoo! Movies - coverage of the 74th Academy Awards(r)
> 

It helps to fix PR7239 or 6982 on 4.0.4-B1 (Remy has already fixed it the HEAD).


--
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