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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to