Re: Apache2 adn/or Tomcat6?

2008-02-25 Thread Mark H. Wood
On Fri, Feb 22, 2008 at 12:57:22PM -0800, Alan Chaney wrote: > Or as I mentioned in a recent email, you can run something like jsvc and > set the user to 'tomcat' which allows you to bind to the port and then > changes the user. Okay, either I wasn't paying attention the last time I looked at jsv

Re: Apache2 adn/or Tomcat6?

2008-02-23 Thread Giancarlo Frison
Hassan Schroeder ha scritto: > On Fri, Feb 22, 2008 at 7:18 AM, Antonio Petrelli > <[EMAIL PROTECTED]> wrote: > > >> Or put Apache 2 in front of your Tomcat, as it is usually done in production >> environment. >> > > I don't know if you have statistics to substantiate that opinion, but it

Re: Apache2 adn/or Tomcat6?

2008-02-23 Thread Hassan Schroeder
On Fri, Feb 22, 2008 at 11:55 PM, elvberg <[EMAIL PROTECTED]> wrote: > >you can run something like jsvc and > > set the user to 'tomcat' which allows you to bind > Howto? By following the directions in the Tomcat documentation? -- Hassan Schroeder [EMAIL PROTECTED] --

Re: Apache2 adn/or Tomcat6?

2008-02-22 Thread elvberg
>you can run something like jsvc and > set the user to 'tomcat' which allows you to bind Howto? /dan On Fri, 2008-02-22 at 12:57 -0800, Alan Chaney wrote: > Or as I mentioned in a recent email, you can run something like jsvc and > set the user to 'tomcat' which allows you to bind to the port and

Re: Apache2 adn/or Tomcat6?

2008-02-22 Thread David Smith
I must've missed the place in the documentation where it explains how to get Tomcat to start as root, then drop privileges after opening listening sockets on low-numbered ports that are only accessible by root, like Apache HTTPD does. It's called the commons-daemon project. The linux compiled

Re: Apache2 adn/or Tomcat6?

2008-02-22 Thread Alan Chaney
Or as I mentioned in a recent email, you can run something like jsvc and set the user to 'tomcat' which allows you to bind to the port and then changes the user. Regards Alan Mark H. Wood wrote: I must've missed the place in the documentation where it explains how to get Tomcat to start as r

Re: Apache2 adn/or Tomcat6?

2008-02-22 Thread Mark H. Wood
I must've missed the place in the documentation where it explains how to get Tomcat to start as root, then drop privileges after opening listening sockets on low-numbered ports that are only accessible by root, like Apache HTTPD does. On most Unix-alikes, you have to choose: o tell people to use

RE: Apache2 adn/or Tomcat6?

2008-02-22 Thread Caldarale, Charles R
> From: elvberg [mailto:[EMAIL PROTECTED] > Subject: Re: Apache2 adn/or Tomcat6? > > ...and how do I do that? Unless you have an distinct need for httpd or you want to make your life much more complex, don't do it. Just configure Tomcat to use port 80 (and 443 for HTTPS, if

Re: Apache2 adn/or Tomcat6?

2008-02-22 Thread elvberg
> Or put Apache 2 in front of your Tomcat, as it is usually done in production > environment. ...and how do I do that? /dan On Fri, 2008-02-22 at 16:18 +0100, Antonio Petrelli wrote: > 2008/2/22, Hassan Schroeder <[EMAIL PROTECTED]>: > > > > On Fri, Feb 22, 2008 at 7:08 AM, elvberg <[EMAIL PROTECT

Re: Apache2 adn/or Tomcat6?

2008-02-22 Thread Hassan Schroeder
On Fri, Feb 22, 2008 at 7:18 AM, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > Or put Apache 2 in front of your Tomcat, as it is usually done in production > environment. I don't know if you have statistics to substantiate that opinion, but it doesn't answer the question, eh? :-) There are de

Re: Apache2 adn/or Tomcat6?

2008-02-22 Thread Antonio Petrelli
2008/2/22, Hassan Schroeder <[EMAIL PROTECTED]>: > > On Fri, Feb 22, 2008 at 7:08 AM, elvberg <[EMAIL PROTECTED]> wrote: > > > Conclusion (am I right or wrong?): http://xxx.xxx.xxx.xxx is equivalent > > with http://xxx.xxx.xxx.xxx:80 > > but never with http://xxx.xxx.xxx.xxx:8080 i.e. > > I can

Re: Apache2 adn/or Tomcat6?

2008-02-22 Thread Hassan Schroeder
On Fri, Feb 22, 2008 at 7:08 AM, elvberg <[EMAIL PROTECTED]> wrote: > Conclusion (am I right or wrong?): http://xxx.xxx.xxx.xxx is equivalent > with http://xxx.xxx.xxx.xxx:80 > but never with http://xxx.xxx.xxx.xxx:8080 i.e. > I can never browse http://xxx.xxx.xxx.xxx and utilize Tomcat as a w

Apache2 adn/or Tomcat6?

2008-02-22 Thread elvberg
Apache2 listens to port 80 and Tomcat6 to 8080 by default. I KNOW that browsing an IP http://xxx.xxx.xxx.xxx takes me to the Apache welcome page if the Apache service is running irrespective of Tomcat is enabled or not. If I stop the Apache service I get "Unable to connect" even if Tomcat is enable