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 https://raw.github.com/Homebrew/homebrew/go/install)"
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.
1Tried it /w v 6 line (
brew install tomcat6
), it installed to/usr/local/Cellar/tomcat6/6.0.43
. Can be started synchronously /w[..]/bin/catalina.sh run
, runs at port 8080, I suspect you just need to point netbeans at the appropriate directory. The server athttp://localhost:8080
was pretty self-documenting. – Jacob Oscarson – 2015-01-12T13:36:58.730The 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 – 2014-01-17T14:53:40.590