}
else if (type.equals("wars")) {
String pattern
= "resin:type=WebApp,Host=" + host + ",name=/" + name;
WebAppMXBean war = (WebAppMXBean) Jmx.findGlobal(pattern);
if (war != null) {
war.update();
// state = war.getState();
errorMessage = war.getErrorMessage();
return errorMessage;
}
else
return L.l("'{0}' is an unknown war", tag);