{
setupTomcatWatcher();
log.info("Catwatcher service starting for {} with user {} and polling {}", endpoint, username, sleepTime);
try
{
catService = new TomcatManagerServiceImpl(endpoint, username, password);
watcher = new Watcher(sleepTime, catService);
watcher.start();
} catch (MalformedURLException e)
{
log.error("invalid endPoint", e);