My personal preference is to get jsvc from the commons-daemon project (http://commons.apache.org/daemon/jsvc.html), build it, and then use it to start and stop tomcat. It runs as ROOT, captures the privileged ports, and then spawns tomcat to run as an unprivileged user.

--David

Ch Praveena wrote:
Great!!

You are absolutely right!! I could run perfectly on ROOT user!

But how to give the previllages to the USER as similar to ROOT?



Thank you in advance!!



2008/8/12 David Smith <[EMAIL PROTECTED]>

A complete stack trace would be wonderful as well as your OS and tomcat
version.  On the outset, I would guess this is a unix/linux based system
where ports below 1024 are privileged ports, not accessible except by the
root user.  If that's the case, you might want to consider using jsvc from
the commons-daemon project.

--David


Ch Praveena wrote:

Hi all,

          It would be my great experience if you share your views in
making
up the solution :

I am having an application running on my tomcat. And could run it like
http://10.30.330.45:8080/sample

When I am trying to run on the default port its saying "BIND EXCEPTION"
and
I am sure I ve nothing running on port 80.

and also can anyone gimme a solution to display that
http://com.praveena.sample   (with out changing my DNS name)

Thank you in advance





---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to