Use Tomcat 6 API for remote deployment