Fix tomcat restart different syntax for error handling with warn_only