Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to setup Apache Tomcat 7 for some work. I need to get it done, but I think I've setup things incorrectly. What is the right way? I'm using NetBeans, and have set the install directory for the server in the Netbeans folder under Applications.

share|improve this question
up vote 6 down vote accepted

Try brew to install custom packages

brew install tomcat

then start it via:

/usr/local/opt/tomcat/bin/catalina start

If using with Netbeans/Eclipse IDEs, you've to set-up to point to CATALINA_HOME which is /usr/local/opt/tomcat/libexec.

share|improve this answer
The only reason I want to avoid installing Homebrew packages for tomcat is that I'm not sure if Netbeans will be able to detect the installed package. – T145 Jan 17 '14 at 14:53
Tried it /w v 6 line (brew install tomcat6), it installed to /usr/local/Cellar/tomcat6/6.0.43. Can be started synchronously /w [..]/bin/ run, runs at port 8080, I suspect you just need to point netbeans at the appropriate directory. The server at http://localhost:8080 was pretty self-documenting. – Jacob Oscarson Jan 12 '15 at 13:36

I used the Bitnami installer available at to do this. Let someone else worry about the details, I say.

Bitnami make good installers (and VMs) for a large range of this sort of stuff.

share|improve this answer
Looks awesome! I'll try it out! – T145 Jan 17 '14 at 14:47

Another option is to go with Pivotal tc Server Developer Edition, which is a free drop-in replacement for Apache Tomcat.

Installing it on OSX straightforward. First, open Terminal then install HomeBrew if you don't have it:

ruby -e "$(curl -fsSL"

Next, run the following Homebrew command:

brew tap pivotal/tap && brew install tcserver

This will connect to the Pivotal HomeBrew repository, then download and install tc Server. From there you can follow the instructions in the Terminal.

Full disclosure: I work for Pivotal and am part of the tc Server product team, and one of our goals is to make it super easy to get started with tc Server on OSX. Any questions, you can reach me at @alsargent on Twitter.

share|improve this answer
Is it open-source on a VCS? I could probably contribute! – T145 Jan 17 '14 at 14:54
tc Server is closed source. But you're more than welcome to contribute to ASF Tomcat. – Al Sargent Jan 18 '14 at 1:56

Are you looking for something like MAMP (analogous to the LAMP stack)?

share|improve this answer
No, but thanks for the input! It may prove useful to some other function in the future! – T145 Jan 17 '14 at 14:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .