String callerIP=request.getRemoteAddr();
if (!isProduction()) {
//only in dev mode do these command work
if (cmd.equals("start")) {
log.info(JavaUtils.getMessage("adminServiceStart", callerIP));
server.start();
}
else if (cmd.equals("stop")) {
log.info(JavaUtils.getMessage("adminServiceStop", callerIP));
server.stop();
}