standardContext.notWrapper=Child of a Context must be a Wrapper
standardContext.parameter.duplicate=Duplicate context initialization parameter {0}
standardContext.parameter.required=Both parameter name and parameter value are required
-standardContext.reloadingCompleted=Reloading this Context is completed
+standardContext.reloadingCompleted=Reloading Context with path [{0}] is completed
standardContext.reloadingFailed=Reloading this Context failed due to previous errors
-standardContext.reloadingStarted=Reloading this Context has started
+standardContext.reloadingStarted=Reloading Context with path [{0}] has started
standardContext.resourcesStart=Error starting static Resources
standardContext.securityConstraint.pattern=Invalid <url-pattern> {0} in security constraint
standardContext.servletMap.name=Servlet mapping specifies an unknown servlet name {0}
throw new IllegalStateException
(sm.getString("containerBase.notStarted", logName()));
+ String path = getPath();
+ if (path.length() == 0) {
+ path = "/";
+ }
+
// Make sure reloading is enabled
// if (!reloadable)
// throw new IllegalStateException
// (sm.getString("standardContext.notReloadable"));
if(log.isInfoEnabled())
- log.info(sm.getString("standardContext.reloadingStarted"));
+ log.info(sm.getString("standardContext.reloadingStarted", path));
// Stop accepting requests temporarily
setPaused(true);
setPaused(false);
+ if(log.isInfoEnabled())
+ log.info(sm.getString("standardContext.reloadingCompleted", path));
+
}