java cleanup
BasePathServlet cleanup