Start autofs before tomcat and check for auto_deploy by strimg comparison.