plugin cleanups

This commit is contained in:
zzz
2010-04-23 16:28:14 +00:00
parent c44698f61a
commit 9683a110d6
5 changed files with 9 additions and 4 deletions

View File

@ -89,6 +89,8 @@ public class WebAppStarter {
static boolean isWebAppRunning(String appName) {
Server server = WebAppStarter.getConsoleServer();
if (server == null)
return false;
// this will return a new context if one does not exist
HttpContext wac = server.getContext('/' + appName);
return wac.isStarted();