How to Install Apache Tomcat Web App Server in 10 Minutes

How to Install Apache Tomcat on Mac OS X Snow Leopard

This tutorial will guide the user through the steps of installing Apache Tomcat on Mac OS X.

Prepare the Mac OS X to use the cURL command as Wget : Open a Terminal Window (Applications -> Utilities -> Terminal) and add wget as an alias for curl to the bash_profile file with the following command. Close the Terminal Window when complete.

Apache Tomcat Web App Server

Apache Tomcat is developed in an open and participatory environment and released under the Apache License version 2. Apache Tomcat is intended to be a collaboration of the best-of-breed developers from around the world. There is an open invitation to participate in this open development project. To learn more about getting involved, click here.

Apache Tomcat powers numerous large-scale, mission-critical web applications across a diverse range of industries and organizations. Some of these users and their stories are listed on the PoweredBy wiki page. Learn more here.

Mac OS X Snow Leopard

Mac OS X is renowned for its simplicity, its reliability, and its ease of use. So when it came to designing Snow Leopard, Apple engineers had a single goal: to make a great thing even better. Learn more here.

7 Steps for Installing Tomcat on Mac OS X

Open a Terminal Window and follow these seven steps to install and configure Tomcat on Mac OS X. Application developers can download Tomcat and configure it with various editors, but the method described here can save time and reduce mistakes. This method also supports remote installation. The steps described here, with a modification to step six, can be used to remotely install Tomcat on Unix based systems. This is helpful in “Cloud Computing” environments.

I’m glad you found this tutorial on “How to install Tomcat” helpful. I also have methods on how to virtualize Tomcat Web Servers. Let me know if you are interested in learning how to create virtual servers.

Normally, install the following apps, java, apache tomcat 6.xxxx and postgressql and finally MapleTA, Ver 7
when the concurrent login reaches, 160, the server will start dragging and its performance will seriously reduced, tweak all that i could find on the apps installed.
My connection is stiil is there a way to configure tomcat to create maxthread of about 1000 with count accept of say 500, so that I could like 500 users on the single server.
thanks

i followed the instructions but i am still getting this error after executing the command sh tomcat/bin/startup.sh

: command not foundsh: line 2:
: command not foundsh: line 17:
: command not foundsh: line 23:
‘omcat/bin/startup.sh: line 26: syntax error near unexpected token in
'omcat/bin/startup.sh: line 26: case “uname” in

I have seen this issue before. The “sh command not found” error can be easily fixed. This problem can occur when installing Tomcat’s .zip package, instead of Tomcat’s tar.gz package on Unix-based systems. The incorrect package will throw these type of errors because of the wrong type of line return in the files. Reviewing the “startup.sh” file in a vi text editor would reveal strange line return characters that look like this: ^M

hey Dan it worked very well, i installed the .tar file and entered perfectly to localhost, but when u run the server shouldn’t we have on the terminal tomcat starting in XXX ms or something like that ?