Re: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site
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 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 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 default. > > > > But of course, you cannot run 2 servers at the same time listening on the > > same port. So if you want to have Tomcat handle port 80, then you cannot > > have Apache httpd listening to that same port at the same time. > > > > > > - > > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > > For additional commands, e-mail: users-h...@tomcat.apache.org > > > > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >
Re: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site
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 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 default. > > But of course, you cannot run 2 servers at the same time listening on the > same port. So if you want to have Tomcat handle port 80, then you cannot > have Apache httpd listening to that same port at the same time. > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site
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 default. But of course, you cannot run 2 servers at the same time listening on the same port. So if you want to have Tomcat handle port 80, then you cannot have Apache httpd listening to that same port at the same time. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site
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 deployment method). #1.1 If you cannot rename your tomcat app to serve Tomcat's root context, look at context rewriting ; it would look like : ProxyPass / http://my-tomcat:9080/Robotronics ProxyPassReverse /Robotronics http://www.robotronics.org/ #2 You can mix the approach #1 to serve most of the http://www.robotronics.org/ content including the root context with Tomcat with serving sub parts of the web site directly from Apache Httpd or from other servers. ProxyPreserveHost On ProxyPass /handle/in/httpd/rather/than/in/tomcat ! ProxyPass / http://my-tomcat:9080/ #3 Some people are afraid about performance cost of serving static content from Tomcat rather than from Apache Httpd. For such problems, I feel the solution resides more in the usage of standard HTTP caching header Expires and Cache-Control combined with mod_expires and mod_disk_cache rather than in copying static resources on Apache Httpd. #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 ; I prefer the iptables approach (well described in the in the rimuhosting doc you referred - 1). Hope this helps, Cyrille 1) http://rimuhosting.com/mod_jk2_and_mod_proxy_ajp.jsp#iptables -- clecl...@xebia.fr http://blog.xebia.fr On Mon, Mar 15, 2010 at 11:37 AM, André Warnier wrote: > > 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 >> >> Do you know the way to bring up the actual J2EE webpage instead of the >> Tomcat Startup Page when the URL >> http://www.robotronics.org is served by Apache and Tomcat? >> > Melanie, > > backing up a little bit.. > > According to your various posts, originally, you have, on the same host : > > - an Apache httpd, answering on http://www.robotronics.org (port 80), which > serves html and javascript documents > - a Tomcat engine and an application in it, answering on > http://www.robotronics.org:9080/Robotronics (thus port 9080, and a URI > "/Robotronics"), but this application is located in the directory > /usr/java/tomcat-5.5/webapps/springapp. > > and you would apparently like that "everything" would answer to the URL > http://www.robotronics.org (port 80). > > That is feasible, but the above is composed of several parts, and there are > several ways to configure the individual parts. > So you have to be a bit systematic in the approach, and do one thing at a > time. > > A couple of questions to answer first are : > 1) do you want to leave the html and javascript part under the Apache httpd > server, or not ? > 2) do you need this Apache httpd server for other things, apart from this > specific case ? > > The reason for these questions is that the easiest and simplest setup would be > - to move the html and javascript part onto the Tomcat server > - to eliminate the Apache httpd server > - to change the Tomcat server so that it responds to port 80 instead of port > 9080 > - to change the Tomcat configuration so that your webapp application becomes > the "default" application of Tomcat, and thus answers to the URL > http://www.robotronics.org, without the "/Robotronics" prefix. > > But, this simple setup would not be the right one if you want to keep the > front-end Apache httpd, because for example you need it for other things > (other virtual sites, other applications, etc..). > In that case, we would then recommend some form of "proxying" between Apache > httpd and Tomcat. And there are several possibilities there too. > Which is why I mention the need to take this one bit at a time.. > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site
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 Do you know the way to bring up the actual J2EE webpage instead of the Tomcat Startup Page when the URL http://www.robotronics.org is served by Apache and Tomcat? Melanie, backing up a little bit.. According to your various posts, originally, you have, on the same host : - an Apache httpd, answering on http://www.robotronics.org (port 80), which serves html and javascript documents - a Tomcat engine and an application in it, answering on http://www.robotronics.org:9080/Robotronics (thus port 9080, and a URI "/Robotronics"), but this application is located in the directory /usr/java/tomcat-5.5/webapps/springapp. and you would apparently like that "everything" would answer to the URL http://www.robotronics.org (port 80). That is feasible, but the above is composed of several parts, and there are several ways to configure the individual parts. So you have to be a bit systematic in the approach, and do one thing at a time. A couple of questions to answer first are : 1) do you want to leave the html and javascript part under the Apache httpd server, or not ? 2) do you need this Apache httpd server for other things, apart from this specific case ? The reason for these questions is that the easiest and simplest setup would be - to move the html and javascript part onto the Tomcat server - to eliminate the Apache httpd server - to change the Tomcat server so that it responds to port 80 instead of port 9080 - to change the Tomcat configuration so that your webapp application becomes the "default" application of Tomcat, and thus answers to the URL http://www.robotronics.org, without the "/Robotronics" prefix. But, this simple setup would not be the right one if you want to keep the front-end Apache httpd, because for example you need it for other things (other virtual sites, other applications, etc..). In that case, we would then recommend some form of "proxying" between Apache httpd and Tomcat. And there are several possibilities there too. Which is why I mention the need to take this one bit at a time.. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site
> 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.robotronics.org is served by Apache and Tomcat? If you want the springapp to be the default webapp, delete (or rename) the Tomcat-supplied webapps/ROOT directory, and change the J2EE application directory to webapps/ROOT (case sensitive). There are alternative means of doing this, but the above is the simplest. BTW, if everything is being passed through to Tomcat, you can simply eliminate httpd, and run Tomcat on port 80. However, your previous description indicated that you had some existing HTML being served by httpd, and if you want to keep that, you'll need to modify the ProxyPass setting to not pass those requests to Tomcat. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
Re: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site
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 way to bring up the actual J2EE webpage instead of the Tomcat Startup Page when the URL http://www.robotronics.org is served by Apache and Tomcat? No, I'm not French. The Google translations is rough. Thank you, -Melanie On Sun, Mar 14, 2010 at 8:00 PM, Cyrille Le Clerc wrote: > 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) : > > --> begin httpd.conf sample fragment <-- > > # load proxy and proxy_http modules > LoadModule proxy_module libexec/apache2/mod_proxy.so > LoadModule proxy_http_module libexec/apache2/mod_proxy_http.so > ... > > # route all traffic to Tomcat > ProxyPreserveHost On > ProxyPass / http://my-tomcat-server:9080/ > > --> end httpd.conf sample fragment <-- > > I blogged in French about Tomcat-Apache configuration. Hopefully, as > your name sounds french :-) you can understand them ; otherwise, they > are google-translate friendly : > > > http://blog.xebia.fr/2010/02/03/tomcat-load-balancing-mod_proxy-vs-mod_jk-le-match/ > > http://blog.xebia.fr/2009/05/05/tomcat-adresse-ip-de-linternaute-load-balancer-reverse-proxy-et-header-http-x-forwarded-for/ > > http://blog.xebia.fr/2009/11/13/tomcat-ssl-communications-securisees-et-x-forwarded-proto/ > > > Hope this helps, good luck > > Cyrille > > -- > Cyrille Le Clerc > clecl...@xebia.fr > http://blog.xebia.fr > > On Sun, Mar 14, 2010 at 11:47 PM, Melanie wrote: > >> 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: > >> http://www.robotronics.org:9080/Robotronics > >> > >> How can I get the domain name www.robotronics.org to point to the Java > >> J2EE site without having to type in the port 9080 and the directory > >> Robotronics? > >> > >> I found one site that gives some ideas on how to do it --> > >> http://rimuhosting.com/mod_jk2_and_mod_proxy_ajp.jsp#mod_proxy > >> > >> I tried to follow the instructions and could not get this to work. > >> > >> Thank you, > >> > > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >
Re: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site
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) : --> begin httpd.conf sample fragment <-- # load proxy and proxy_http modules LoadModule proxy_module libexec/apache2/mod_proxy.so LoadModule proxy_http_module libexec/apache2/mod_proxy_http.so ... # route all traffic to Tomcat ProxyPreserveHost On ProxyPass / http://my-tomcat-server:9080/ --> end httpd.conf sample fragment <-- I blogged in French about Tomcat-Apache configuration. Hopefully, as your name sounds french :-) you can understand them ; otherwise, they are google-translate friendly : http://blog.xebia.fr/2010/02/03/tomcat-load-balancing-mod_proxy-vs-mod_jk-le-match/ http://blog.xebia.fr/2009/05/05/tomcat-adresse-ip-de-linternaute-load-balancer-reverse-proxy-et-header-http-x-forwarded-for/ http://blog.xebia.fr/2009/11/13/tomcat-ssl-communications-securisees-et-x-forwarded-proto/ Hope this helps, good luck Cyrille -- Cyrille Le Clerc clecl...@xebia.fr http://blog.xebia.fr On Sun, Mar 14, 2010 at 11:47 PM, Melanie wrote: >> 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: >> http://www.robotronics.org:9080/Robotronics >> >> How can I get the domain name www.robotronics.org to point to the Java >> J2EE site without having to type in the port 9080 and the directory >> Robotronics? >> >> I found one site that gives some ideas on how to do it --> >> http://rimuhosting.com/mod_jk2_and_mod_proxy_ajp.jsp#mod_proxy >> >> I tried to follow the instructions and could not get this to work. >> >> Thank you, >> > - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site
Melanie, Try a precompiled binary: http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/linux/jk-1.2.28/ -Original Message- From: Melanie [mailto:melanie.v...@gmail.com] Sent: Sunday, March 14, 2010 7:47 PM To: Tomcat Users List Subject: Re: Question on Linux Tomcat Apache 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't think the mod_jk can be built without it. Is it because Apache Http server is only 2.2 version? On Sun, Mar 14, 2010 at 7:38 PM, Todd Hicks wrote: > 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 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 > > > 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 previously stated: > > > > > > I have a website with domain name for instance: www.robotronics.org > > > > However this site is only for HTML and Javascript. > > > > Something has to be listening on port 80, in order to respond to browser > > requests for your existing HTML and Javascript; what is it? (From the > > headers in the responses from your website, it appears to be httpd 2.2.8 > - > > which is a couple of years old and could stand updating.) > > > > - Chuck > > > > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > > MATERIAL and is thus for use only by the intended recipient. If you > received > > this in error, please contact the sender and delete the e-mail and its > > attachments from all computers. > > > > > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Question on Linux Tomcat Apache 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't think the mod_jk can be built without it. Is it because Apache Http server is only 2.2 version? On Sun, Mar 14, 2010 at 7:38 PM, Todd Hicks wrote: > 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 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 > > > 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 previously stated: > > > > > > I have a website with domain name for instance: www.robotronics.org > > > > However this site is only for HTML and Javascript. > > > > Something has to be listening on port 80, in order to respond to browser > > requests for your existing HTML and Javascript; what is it? (From the > > headers in the responses from your website, it appears to be httpd 2.2.8 > - > > which is a couple of years old and could stand updating.) > > > > - Chuck > > > > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > > MATERIAL and is thus for use only by the intended recipient. If you > received > > this in error, please contact the sender and delete the e-mail and its > > attachments from all computers. > > > > > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >
RE: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site
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 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 > > 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 previously stated: > > > > I have a website with domain name for instance: www.robotronics.org > > > However this site is only for HTML and Javascript. > > Something has to be listening on port 80, in order to respond to browser > requests for your existing HTML and Javascript; what is it? (From the > headers in the responses from your website, it appears to be httpd 2.2.8 - > which is a couple of years old and could stand updating.) > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you received > this in error, please contact the sender and delete the e-mail and its > attachments from all computers. > > - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
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> wrote: > > 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 previously stated: > > > > I have a website with domain name for instance: www.robotronics.org > > > However this site is only for HTML and Javascript. > > Something has to be listening on port 80, in order to respond to browser > requests for your existing HTML and Javascript; what is it? (From the > headers in the responses from your website, it appears to be httpd 2.2.8 - > which is a couple of years old and could stand updating.) > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you received > this in error, please contact the sender and delete the e-mail and its > attachments from all computers. > >
RE: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site
> 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 previously stated: > > I have a website with domain name for instance: www.robotronics.org > > However this site is only for HTML and Javascript. Something has to be listening on port 80, in order to respond to browser requests for your existing HTML and Javascript; what is it? (From the headers in the responses from your website, it appears to be httpd 2.2.8 - which is a couple of years old and could stand updating.) - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
Re: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site
Hi, The version of Tomcat is 5.5. As far as the other question on what is my current port 80 web server is? I don't understand the question exactly. It is a virtual dedicated server. -Melanie On Sun, Mar 14, 2010 at 6:56 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > 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 you're using > httpd and the current version of Tomcat. > > > I found one site that gives some ideas on how to do it --> > > http://rimuhosting.com/mod_jk2_and_mod_proxy_ajp.jsp#mod_proxy > > mod_jk2 hasn't been supported in several years; don't even think about > using it. > > For proper instructions, read this first: > http://wiki.apache.org/tomcat/FAQ/Connectors > > If you need it, the full doc is here: > http://tomcat.apache.org/connectors-doc/ > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you received > this in error, please contact the sender and delete the e-mail and its > attachments from all computers. > >
RE: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site
Melanie, I would recommend using the Apache Tomcat Connector mod_jk. Documentation can be found here: http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html See what you can make of it. -Original Message- From: Melanie [mailto:melanie.v...@gmail.com] Sent: Sunday, 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.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: > http://www.robotronics.org:9080/Robotronics > > How can I get the domain name www.robotronics.org to point to the Java > J2EE site without having to type in the port 9080 and the directory > Robotronics? > > I found one site that gives some ideas on how to do it --> > http://rimuhosting.com/mod_jk2_and_mod_proxy_ajp.jsp#mod_proxy > > I tried to follow the instructions and could not get this to work. > > Thank you, > - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site
> 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 you're using httpd and the current version of Tomcat. > I found one site that gives some ideas on how to do it --> > http://rimuhosting.com/mod_jk2_and_mod_proxy_ajp.jsp#mod_proxy mod_jk2 hasn't been supported in several years; don't even think about using it. For proper instructions, read this first: http://wiki.apache.org/tomcat/FAQ/Connectors If you need it, the full doc is here: http://tomcat.apache.org/connectors-doc/ - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.