permission problem solved
check if file exists before setting FQDN for Apache
Set memory limits for tomcat