tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shyam Yadav <shyam.ya...@mobicule.com>
Subject Re: Setting up tomcat to run on port 443 on ubuntu system
Date Fri, 29 Mar 2013 12:36:52 GMT
Hi Ognjen,

You are right. I am not running tomcat from root user.
But I have an requirement where tomcat should be running from normal user.
Is it possible anyway?
and is it going to affect system and performance??

Thanks & Regards,
Shyam Yadav


On Fri, Mar 29, 2013 at 4:35 PM, Ognjen Blagojevic <
ognjen.d.blagojevic@gmail.com> wrote:

> Shyam,
>
>
> On 29.3.2013 11:16, Shyam Yadav wrote:
>
>> I am getting this following exception and the tomcat doesn't start.
>>     java.net.BindException: Permission denied <null>:443
>>
>> I am really stuck with it. Please help me out with it.
>>
>
> How do you start tomcat? Which user runs the Tomcat process?
>
> It is recommended that you run Tomcat with unprivileged user (e.g.
> 'tomcat'). If you do it like that, process started by unprivileged user may
> not bind to port under 1024 (443 included). Maybe this is the source for
> the exception you get?
>
> If my assumption is correct, you may try to use jsvc from commons-daemon
> to run tomcat. More details here:
>
>   http://tomcat.apache.org/**tomcat-7.0-doc/setup.html#**Unix_daemon<http://tomcat.apache.org/tomcat-7.0-doc/setup.html#Unix_daemon>
>
>
> -Ognjen
>
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.**apache.org<users-unsubscribe@tomcat.apache.org>
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message