Re: xinetd port redirection for Tomcat

2011-11-26 Thread Pierre Goupil
m> wrote: > >> > From: Pierre Goupil [mailto:goupilpie...@gmail.com] >> > Subject: xinetd port redirection for Tomcat >> >> > Shall I use another way of binding Tomcat to port 80? >> >> Try iptables - it's even simpler. Something like the fol

Re: xinetd port redirection for Tomcat

2011-11-26 Thread Pierre Goupil
Thanks Chuck! I'll try it tomorrow. On Sat, Nov 26, 2011 at 9:40 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Pierre Goupil [mailto:goupilpie...@gmail.com] > > Subject: xinetd port redirection for Tomcat > > > Shall I use another

RE: xinetd port redirection for Tomcat

2011-11-26 Thread Caldarale, Charles R
> From: Pierre Goupil [mailto:goupilpie...@gmail.com] > Subject: xinetd port redirection for Tomcat > Shall I use another way of binding Tomcat to port 80? Try iptables - it's even simpler. Something like the following should work: /sbin/iptables -t nat -I PREROUTING -p tcp

xinetd port redirection for Tomcat

2011-11-26 Thread Pierre Goupil
Good evening, I use xinetd in order to bind my Tomcat 7.0.22 instance to port 80 without any Unix privileges, on a Debian 6.0 box. Here's the (slightly obfuscated) configuration file: service www { socket_type = stream protocol= tcp user= root

Re: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site

2010-03-15 Thread Melanie
The site is now up using the fix ProxyPass and ProxyRedirect. For now, I am happy with this solution. Maybe in long term though, I'm curious though what advantages are for using mod_jk versus ProxyPass and ProxyRedirect? -Melanie On Mon, Mar 15, 2010 at 9:32 AM, Cyrille Le Clerc wrote: > My mist

Re: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site

2010-03-15 Thread Cyrille Le Clerc
My mistake on port 80 without being root, I never used jsvc ; I relied on startup.sh. Cyrille On Mon, Mar 15, 2010 at 1:53 PM, André Warnier wrote: > Cyrille Le Clerc wrote: >> >> #4 I slightly disagree with André on asking Tomcat to listen on port >> 80 ; I am very reluctant to this approach as

Re: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site

2010-03-15 Thread André Warnier
Cyrille Le Clerc wrote: #4 I slightly disagree with André on asking Tomcat to listen on port 80 ; I am very reluctant to this approach as it requires to run the JVM as root ; No, it does not, if you run the JVM under jsvc (commons-daemon). This is how most Linux packages nowadays set it up by

Re: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site

2010-03-15 Thread Cyrille Le Clerc
   Hello Melanie,    I share André's vision : #1 To get the root context http://www.robotronics.org/ forwarded to Tomcat, the easiest way is to declare your java application as the root context of your Tomcat (either naming it ROOT.war or declaring it with path="" in server.xml according to your

Re: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site

2010-03-15 Thread André Warnier
Melanie wrote: Thanks Cyrille for the information. This looks like it's a quick fix but there is still another issue. The Tomcat Startup Page is now being served, but not the actual springapp J2EE web application that is located in the Tomcat directory ---> /usr/java/tomcat-5.5/webapps/springapp

RE: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site

2010-03-14 Thread Caldarale, Charles R
> From: Melanie [mailto:melanie.v...@gmail.com] > Subject: Re: Question on Linux Tomcat Apache Server and Port > Redirection for a robotics site > > Do you know the way to bring up the actual J2EE webpage instead of the > Tomcat Startup Page when the URL > http://www.robotro

Re: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site

2010-03-14 Thread Melanie
Thanks Cyrille for the information. This looks like it's a quick fix but there is still another issue. The Tomcat Startup Page is now being served, but not the actual springapp J2EE web application that is located in the Tomcat directory ---> /usr/java/tomcat-5.5/webapps/springapp Do you know the

Re: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site

2010-03-14 Thread Cyrille Le Clerc
Hello Melanie, I personally prefer to use HTTP between Apache and Tomcat rather than the proprietary AJP protocol. According to your description, I feel you can simply achive your need with the following httpd.conf configuration (no other binaries than out-of-the-box Apache Httpd needed) : --> b

RE: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site

2010-03-14 Thread Todd Hicks
Server and Port Redirection for a robotics site I am compiling mod_jk source code on the server. The command to compile is ./configure --with-apxs=/usr/sbin/apxs (or where ever the apxs/apxs2 is) I did a quick linux find. -name apxs under the usr directory and nothing turned up for apxs. I don&#

Re: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site

2010-03-14 Thread Melanie
Tomcat Users List > Subject: Re: Question on Linux Tomcat Apache Server and Port Redirection > for a robotics site > > The Apache server appears to be: > Apache HTTP Server Version 2.2 > On Sun, Mar 14, 2010 at 7:25 PM, Caldarale, Charles R < > chuck.caldar...@unisys.com> w

RE: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site

2010-03-14 Thread Todd Hicks
That's why I suggested mod_jk. -Original Message- From: Melanie [mailto:melanie.v...@gmail.com] Sent: Sunday, March 14, 2010 7:35 PM To: Tomcat Users List Subject: Re: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site The Apache server appears

Re: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site

2010-03-14 Thread Melanie
The Apache server appears to be: Apache HTTP Server Version 2.2 On Sun, Mar 14, 2010 at 7:25 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Melanie [mailto:melanie.v...@gmail.com] > > Subject: Re: Question on Linux Tomcat Apache Server and Port >

RE: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site

2010-03-14 Thread Caldarale, Charles R
> From: Melanie [mailto:melanie.v...@gmail.com] > Subject: Re: Question on Linux Tomcat Apache Server and Port > Redirection for a robotics site > > As far as the other question on what is my current port 80 web server > is? I don't understand the question exactly. You pr

Re: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site

2010-03-14 Thread Melanie
: > > From: Melanie [mailto:melanie.v...@gmail.com] > > Subject: Question on Linux Tomcat Apache Server and Port Redirection > > for a robotics site > > You don't bother to mention what your current port 80 web server is, not > what version of Tomcat you're usin

RE: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site

2010-03-14 Thread Todd Hicks
, March 14, 2010 6:47 PM To: users@tomcat.apache.org Subject: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site > Hello, > > This question requires knowledge of Linux Apache Tomcat Server. > > I have a website with domain name for instance: www.robotronic

RE: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site

2010-03-14 Thread Caldarale, Charles R
> From: Melanie [mailto:melanie.v...@gmail.com] > Subject: Question on Linux Tomcat Apache Server and Port Redirection > for a robotics site You don't bother to mention what your current port 80 web server is, not what version of Tomcat you're using. The links below presume

Question on Linux Tomcat Apache Server and Port Redirection for a robotics site

2010-03-14 Thread Melanie
> Hello, > > This question requires knowledge of Linux Apache Tomcat Server. > > I have a website with domain name for instance: www.robotronics.org > However this site is only for HTML and Javascript. > > I have a Java J2EE site on the same domain name but you can't get to it > unless you type the

port redirection

2008-02-28 Thread melanie_pfefer
Hello a servlet is running on port 9000 while apache in running on port 80. Is there a way to change this behavior so that users who type http://server1/OpenObject?doc=ERW will receive the same content of http://server1:9000/OpenObject?doc=ERW but the URL does not change (stays http://server1/Op

Re: port redirection

2008-02-28 Thread dapeng
use mok_jk Melanie Pfefer wrote: > Hello > > a servlet is running on port 9000 while apache in > running on port 80. > > Is there a way to change this behavior so that users > who type > http://server1/OpenObject?doc=ERW > > will receive the same content of > http://server1:9000/OpenObject?doc=ER

Re: port redirection

2008-02-28 Thread Dapeng
use mok_jk Melanie Pfefer wrote: Hello a servlet is running on port 9000 while apache in running on port 80. Is there a way to change this behavior so that users who type http://server1/OpenObject?doc=ERW will receive the same content of http://server1:9000/OpenObject?doc=ERW but the URL doe

port redirection

2008-02-28 Thread Melanie Pfefer
Hello a servlet is running on port 9000 while apache in running on port 80. Is there a way to change this behavior so that users who type http://server1/OpenObject?doc=ERW will receive the same content of http://server1:9000/OpenObject?doc=ERW but the URL does not change (stays http://server1/Op