Hi spuds99
Welcome to LQ
Please take some time to read the rules an "How to ask questions the Smart way" - you'll find the links in my signature below.
Note that "thread-jacking" is against the rules; thus even if a thread is similar to yours, please create a new thread with your questions/problem.
@Mods - please move this to a new thread.
Regarding your issue; simply copying the script is not going to get Tomcat working. Please provide details of how and where you've installed Tomcat. Also post the complete script and make use of Code tags to make it more readable.