This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I've read that on UNIX, ports below 1024 are "privileged," and can only be opened by root. I don't fully understand what this means, but I expect that if this were the problem, then the log would show an error, right? [ August 13, 2005: Message edited by: marc weber ]
With OSX (as with any Unix), only the root user is allowed to bind to ports < 1024. Often, this is why people run Tomcat with Apache. Apache starts up as root, binds to the port and then downgrades itself to a user with fewer privileges.
Tomcat ships with jSvc which can be used to do something similar with Tomcat as a standalone.
Also, if you search this forum, Earnest Friedman Hill posted a link to an article that shows how to do the same thing with ipchains in Linux not too long ago. I'm guessing the same techique would work on OSX.
Thanks for the info! I probably won't have a chance to get back to this for a few days, but I'll try starting Tomcat with sudo to verify that it's a privileged user issue. Then I'll probably try either the jSvc or start using Apache.
Well, I finally got a chance to try this (too much "real" work going on). Indeed, the XML configuration of port 80 works fine if Tomcat is started using sudo as Bear suggested, so this seems to confirm it's a privliged port issue.
Also, I want to follow up and thank Ben for his recommendation (a couple of months ago) of the text, Core Servlets and JavaServer Pages, Vol. 1, Second Edition by Marty Hall and Larry Brown. I see that a new edition of Vol. 2 is scheduled for January, 2006.
I wish I had more time to spend on this, but I'll get there eventually... [ August 20, 2005: Message edited by: marc weber ]