protected void setUp() throws Exception { super.setUp(); // ds = new DaemonStatus(); statSvc = theDaemon.getStatusService(); ssi = (StatusServiceImpl) statSvc; ssi.startService(); }
protected void initServletRunner() { super.initServletRunner(); sRunner.registerServlet("/DaemonStatus", DaemonStatus.class.getName()); // DaemonStatus wants there to be a local ip address ConfigurationUtil.setFromArgs(LockssServlet.PARAM_LOCAL_IP, "2.4.6.8"); }