[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tomcat-user
Subject:    Re: Setting up tomcat to run on port 443 on ubuntu system
From:       Ognjen Blagojevic <ognjen.d.blagojevic () gmail ! com>
Date:       2013-03-31 21:52:28
Message-ID: 5158B01C.8010802 () gmail ! com
[Download RAW message or body]

Shyam,

On 29.3.2013 14:54, Shyam Yadav wrote:
> I did all the setting you have mentioned for Unix Daemon for Tomcat, but
> still i am getting the same problem.
> i.e.  Permission Denied.

When you run your jsvc-based Tomcat startup script, you MUST do it as 
root. It will bind port 443 as root, and then create child process for 
unprivileged user that will actually run JVM.

There is no point in running /etc/init.d/tomcat (or whatever is Ubuntu 
equivalent) as unprivileged user. You won't be able to bind port 443.

-Ognjen


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic