Prepare migration on tomcat server