Hi Simon,

You are right, the fix you proposed seem to resolve the problem and I have
checked in the changes using TUSCANY-3281.

On Tue, Sep 22, 2009 at 8:22 PM, Simon Laws <[email protected]>wrote:

> Hi Ram
>
> Haven't tried with that version. Having looked at the code though
> there does seem to be a rather suspicious "if" statement. The stop()
> method of the DojoModuleActivator is as follows.
>
>
>    public void stop(ExtensionPointRegistry registry) {
>        Servlet servlet = servletHost.getServletMapping(dojoBaseUri);
>        if(servlet == null) {
>            servletHost.removeServletMapping(dojoBaseUri);
>            servletHost.removeServletMapping(dojoUri);
>
>            servletHost.removeServletMapping(tuscanyBaseUri);
>            servletHost.removeServletMapping(tuscanyUri);
>        }
>
>        servletHost = null;
>
>    }
>
> Just by visual inspection it would seem that is should read
> if(servlet != null). Is it possible for you to make this change
> locally and give it a spin. If not I'll see if I can get a copy of the
> JDK and try it here.
>
> Regards
>
> Simon
>



-- 
Thanks & Regards,
Ramkumar Ramalingam

Reply via email to