Wouldn't recommend leaving tomcat running on root... ;) any process it 
spawns will run with as root as well...

Mac OS X being based on BSD, like all *NIX OS' will require a privileged 
user to start any process to listen on a port < 1024.

You could try to compile the service wrapper included in 
<tomcat-home>/bin and use that...

Or you could use an ipfw divert/redirect rule to redirect traffic from 
port 80 to 8080 and/or 443 to 8443...

My 2c...

Vaughn wrote:
> Mac OS X has it's own web server, so maybe that's blocking Tomcat.
>
> System Preferences -> Sharing -> Uncheck 'Web Sharing' (think it's  
> 'Personal Web Sharing' pre 10.5)
>
> Vaughn Dickson
> Software Architect
> Serval Systems
> http://servalsystems.co.za
>
>
> On 05 Mar 2008, at 4:51 PM, Sparky wrote:
>
>   
>> Hi guys,
>>
>> Trying to start Tomcat (via Eclipse) on my mac. Works fine on port
>> 8080, but claims it's in use on port 80.
>>
>> It looks like you need special privs to start Tomcat on a port under
>> 1024.
>>
>> When I did a ./startup.sh, it seemed to work fine, but visiting port
>> 80 did nothing.
>> When I did a sudo ./startup.sh, everything was fine. Happily see
>> Tomcat on port 80.
>>
>> I'm not too sure how I'm going to teach eclipse to run tomcat as root.
>>
>> Any ideas or suggestions welcome!
>>
>> Kind regards,
>>
>> Mark
>>     
>
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CTJUG Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/CTJUG-Forum
For the ctjug home page see http://www.ctjug.org.za
-~----------~----~----~----~------~----~------~--~---

Reply via email to