You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ch Praveena <ps...@gmail.com> on 2008/08/12 09:45:45 UTC
Doubts regarding the TOMCAT url
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
--
-Coolest Regards,
Praveena Chalamcharla,
Re: Doubts regarding the TOMCAT url
Posted by David Smith <dn...@cornell.edu>.
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 <dn...@cornell.edu>
>
>
>> 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Doubts regarding the TOMCAT url
Posted by Ch Praveena <ps...@gmail.com>.
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 <dn...@cornell.edu>
> 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
--
-Coolest Regards,
Praveena Chalamcharla,
Re: Doubts regarding the TOMCAT url
Posted by David Smith <dn...@cornell.edu>.
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org