1. Fix: avoid tomcat waring: temp directory;
2. Clean the configuration of default profile;