RE: Configure Tomcat 7 using Apache 2.4.6
Andy, Thank you for responding. I changed the mod_proxy_ajp.c to mod_proxy_ajp.so which is the module that is being loaded. Now my html pages are rendering fine; however, when I go the jsp pages it's not even putting an entry in the tomcat access log. Any ideas? Andy Andrew J. Leggio | MBIA Services Corporation | Assistant Vice President | Phone P (914) 765-3206 | Fax ( (914) 765-3095 | andrew.leg...@mbia.com -Original Message- From: Andy Wang [mailto:aw...@ptc.com] Sent: Wednesday, April 08, 2015 2:07 PM To: users@tomcat.apache.org Subject: Re: Configure Tomcat 7 using Apache 2.4.6 On 04/08/2015 12:43 PM, Leggio, Andrew wrote: I am trying to get tomcat to work under Apache. I have verified that tomcat is listening on port 8009. I tried doing the following: *Apache Web Server Settings* Add the following to the */etc/httpd/conf.d/proxy_ajp.conf* file or if that file does not exist you can add it to the end of the */etc/httpd/conf/httpd.conf* file instead: IfModule mod_proxy_ajp.c ProxyPass / ajp://localhost:8009/ /IfModule Did you actually load the mod_proxy_ajp module? Given the directory structure of the configuration files you're likely using a distribution bundled apache httpd. Given that you'd probably get a bit more help from the resources for that distribution. But it's most likely that you need to ensure that the module is loaded. Andy - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- This e-mail, including any attachments, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified any dissemination, distribution or copying of any part of this e-mail is strictly prohibited; please contact the sender and permanently delete the original and any copies of it. -- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Configure Tomcat 7 using Apache 2.4.6
I am trying to get tomcat to work under Apache. I have verified that tomcat is listening on port 8009. I tried doing the following: Apache Web Server Settings Add the following to the /etc/httpd/conf.d/proxy_ajp.conf file or if that file does not exist you can add it to the end of the /etc/httpd/conf/httpd.conf file instead: IfModule mod_proxy_ajp.c ProxyPass / ajp://localhost:8009/ /IfModule Once I put this in my html pages will not render: [cid:image001.png@01D07202.009EC2D0] What am I doing wrong? Any help would be greatly appreciated. Thanks. Andrew J. Leggio | MBIA Services Corporation | Assistant Vice President | Phone * (914) 765-3206 | Fax * (914) 765-3095 | * andrew.leg...@mbia.commailto:andrew.leg...@mbia.com -- This e-mail, including any attachments, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified any dissemination, distribution or copying of any part of this e-mail is strictly prohibited; please contact the sender and permanently delete the original and any copies of it. --
RE: Rendering JSP files through Apache
This contains both HTML and JSP. I would like the HTML to be handled through Apache and JSP pages to be handled by TOMCAT. How do I accomplish this? This is a Linux environment with Apache version 2.4.6 and Tomcat version 7. Thanks Andrew J. Leggio | MBIA Services Corporation | Assistant Vice President | Phone P (914) 765-3206 | Fax ( (914) 765-3095 | andrew.leg...@mbia.com -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Wednesday, April 08, 2015 5:34 PM To: Tomcat Users List Subject: Re: Rendering JSP files through Apache Leggio, Andrew wrote: I have the following being used in my conf file: IfModule mod_proxy_ajp.so ProxyPass / ajp://localhost:8009/ /IfModule Does this actually direct jsp files to use Tomcat? That is a funny way of putting it. What the above does - if everything else is installed and configured correctly - is proxying *all* HTTP requests originally directed to Apache httpd (including requests for any JSP page), toward a Tomcat supposedly running on the same host, and supposedly listening on port 8009. Now whether this is actually what is happening or not, is anyone's guess so far. Chances are that this is not happening though, since otherwise you probably would not be asking what's wrong. The question is also : if you are going to proxy all requests from Apache httpd to Tomcat anyway, then why do you think that you need Apache httpd ? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- This e-mail, including any attachments, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified any dissemination, distribution or copying of any part of this e-mail is strictly prohibited; please contact the sender and permanently delete the original and any copies of it. -- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Rendering JSP files through Apache
I have the following being used in my conf file: IfModule mod_proxy_ajp.so ProxyPass / ajp://localhost:8009/ /IfModule Does this actually direct jsp files to use Tomcat? Andrew J. Leggio | MBIA Services Corporation | Assistant Vice President | Phone * (914) 765-3206 | Fax * (914) 765-3095 | * andrew.leg...@mbia.commailto:andrew.leg...@mbia.com -- This e-mail, including any attachments, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified any dissemination, distribution or copying of any part of this e-mail is strictly prohibited; please contact the sender and permanently delete the original and any copies of it. --