Tomcat 5.5 support

Hi, I am getting this error when testing for tomcat 5.5

./check_TomcatApplication.sh: line 4: syntax error near unexpected token `newline’
./check_TomcatApplication.sh: line 4: `’