Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

VanMac

macrumors 6502a
Original poster
May 26, 2005
914
0
Rampaging Tokyo
Hey.

Post for a friend. He is trying to install Apache Tomcat on his mini to play around with some java programming.

He cannot get past the setup stage successfully. Not sure of all the details or errors...but he says he followed the steps from the Apple site, but gets nothing when surfing to http://localhost:8080

If anyone has done this, and can post whatever you used as a guideline, etc, it would be appreciated.

Thanks in advance.
 
VanMac said:
Hey.

Post for a friend. He is trying to install Apache Tomcat on his mini to play around with some java programming.

He cannot get past the setup stage successfully. Not sure of all the details or errors...but he says he followed the steps from the Apple site, but gets nothing when surfing to http://localhost:8080

If anyone has done this, and can post whatever you used as a guideline, etc, it would be appreciated.

Thanks in advance.
There's not a lot to go on here. I haven't done this on Macs, but I have on Windows, Solaris and Linux, and it's extremely straightforward to get Tomcat running. I can't imagine it would be difficult with Macs.

For a start, what does "... gets nothing when surfing to http://localhost:8080" mean. Does he get any error message? If the server isn't running, he should get a connection refused message. If the server is running but no resources are accessible, he should get a 404 error.

If there are errors on startup, they should be logged. Get him to take a look in the logs directory (it's at the top of the tomcat directory tree)

To leave out any possible problems with a browser, what happens if he opens Terminal, types "telnet localhost 8080" followed by "GET /"?

Actually, he should try that before starting Tomcat, to make sure there is no process already running on port 8080. If the telnet to port 8080 is accepted then he has to find out what process is listening on port 8080 and kill it, or configure tomcat to use a different port.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.