fixing prereq tomcat.war_deployed function
Merge pull request #6515 from ranl/develop

fixing prereq tomcat.war_deployed function