rename the directory for tomcat.