TUSCANY-3281 fixes for DojoModuleActivator for an exception No servlet registered at this URI: /dojo

git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@818381 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
ramkumar 2009-09-24 06:47:59 +00:00
parent 1ce01fc26e
commit e865172e1b

View file

@ -69,7 +69,7 @@ public class DojoModuleActivator implements ModuleActivator {
public void stop(ExtensionPointRegistry registry) {
Servlet servlet = servletHost.getServletMapping(dojoBaseUri);
if(servlet == null) {
if(servlet != null) {
servletHost.removeServletMapping(dojoBaseUri);
servletHost.removeServletMapping(dojoUri);