enable service of tomcat, not try in centos
corrected java role