set working dir for fetch, notify tomcat