RE: Connecting Tomcat 4.1.12 with Apache 1.3
They do have these. The URLs are regularly posted on this list, and the URLs are readily available on the Jakarta site: JK: http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.1 / JK2: http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/ John -Original Message- From: response [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 14, 2002 1:44 AM To: Tomcat Users List Subject: Re: Connecting Tomcat 4.1.12 with Apache 1.3 Hello. I wish the Tomcat/Apache team would come up with precompiled binaries for Linux and, if possible, rpms. The problem of compiling the source for binaries is too much work for the average user. Thank-you for your time. Sean. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Connecting Tomcat 4.1.12 with Apache 1.3
I feel bad that you are having this much difficulty. If you want to describe what parts of my HOWTO you've followed and which parts you haven't, or which parts are causing you grief, I will do my best to help. The process works exactly as stated in my HOWTO, I have independent confirmation of this and have done it on both Solaris and Linux, so I'm not sure what else I can put in there to help out, but I am willing to try. I will upload a binary for 2.0.43 and 4.1.12 later today, compiled from a fresh download. If that's not the version you need, please let me know. John -Original Message- From: Jerry Ford [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 9:53 PM To: Tomcat Users List Subject: Re: Connecting Tomcat 4.1.12 with Apache 1.3 No, wait, that's not true...I did get the right one (or as close as I could come, the connector cell in the matrix says Tomcate 4.0x). I got confused because I'm not at the Linux box right now, I checked his website from my Win2000 machine and the Solaris link was the one that showed the last visit. I must have clicked it from this computer, even though I didn't download it---not only for Solaris, but also wrong Apache. Jerry Jerry Ford wrote: Denise: I have Red Hat 7.1. I didn't have a problem unzipping it; but when I tried to compile, it failed the first time, then compiled, but when I run the configure script, it fails consistently. Now that I'm responding to you, I went back to John's how-to page to check my facts and I think see where I went wrong...I may have grabbed a Solaris file, which would explain why it wouldn't build on Linux. It's the only 4.1.12 tomcat version in his connector matrix, so I took it not seeing it was for the wrong system. When it failed to install, I went back and got the binary instead. I see he has a 4.1.10 version for Linux; maybe I'll try that. Or maybe not, if I can get the binary to work. I don't really feel a need to build it, just want to get it working. :) Jerry Denise Mangano wrote: Jerry, I know you have same version of Apache and Tomcat I do. By any chance are you running RedHat Linux 7.2 / 7.3? I ran into same problem with encountering error during configure, and just downloaded the binary. That is the binary that I downloaded, but when I try to gunzip it tells me the file is not in gzip format. Did you have a similar problem? Denise -Original Message- From: Jerry Ford [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 1:17 PM To: Tomcat Users List Subject: Re: Connecting Tomcat 4.1.12 with Apache 1.3 John: I took your advice from yesterday, replaced mod_webapp.so with mod_jk.so and now jsps and servlets don't work. They worked fine under mod_webapp, including my own HelloWorld app in addition to the Tomcat examples. Now they don't work, although I am able to get to the HTML pages using, for example, http://localhost/examples/servlets. But the servlets and jsp examples themselves all generate an Apache port 80 internal server error. I followed the instructions on your howto page, (except that the configure script fails---I have been able to build apache, tomcat, ant, and mod_webapp on my system, but mod_jk fails, so I just grabbed your posted binary.) I added the listener statements to server.xml. mod_jk.conf shows Location entries for each of the webapps, and there is a JkMount entry for the servlets (including my HelloWorld entry). mod_jk.log is empty. What more do I need to do? Thanks, Jerry Turner, John wrote: Mod_webapp is deprecated, and has some fairly serious limitations. JK/JK2 is the better choice if you are concerned with future growth. If you're having problems, perhaps my HOWTOs will help: http://www.johnturner.com/howto John -Original Message- From: Jerry Ford [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 3:15 PM To: Tomcat Users List Subject: Re: Connecting Tomcat 4.1.12 with Apache 1.3 Denise: I have just got my Apache 1.3.27/Tomcat 4.1.12 connection to work. Answers to your questions are yes, and yes. You need a connector between them, and mod_jk.so is one such connector. However, I had a devil of a time locating any connector on the apache.org website, and I never was able to make mod_jk work (I tried using the version that did work with my Tomcat 3.2 installation, but it did not work with 4.1 and I was not able to locate mod_jk---any version---on the apache website in order to rebuild). I ended up using mod_webapp.so, which is another connector. It's located in the jakarta-tomcat-connectors-4.1.12-src.tar.gz, which you can download from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4 .1.12/src
RE: Connecting Tomcat 4.1.12 with Apache 1.3
It will take some time, but I will install Apache 1.3.27 on a test box later today and compile mod_jk and upload it to my site. John -Original Message- From: Denise Mangano [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 1:54 PM To: 'Tomcat Users List' Subject: RE: Connecting Tomcat 4.1.12 with Apache 1.3 Jerry, I know you have same version of Apache and Tomcat I do. By any chance are you running RedHat Linux 7.2 / 7.3? I ran into same problem with encountering error during configure, and just downloaded the binary. That is the binary that I downloaded, but when I try to gunzip it tells me the file is not in gzip format. Did you have a similar problem? Denise -Original Message- From: Jerry Ford [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 1:17 PM To: Tomcat Users List Subject: Re: Connecting Tomcat 4.1.12 with Apache 1.3 John: I took your advice from yesterday, replaced mod_webapp.so with mod_jk.so and now jsps and servlets don't work. They worked fine under mod_webapp, including my own HelloWorld app in addition to the Tomcat examples. Now they don't work, although I am able to get to the HTML pages using, for example, http://localhost/examples/servlets. But the servlets and jsp examples themselves all generate an Apache port 80 internal server error. I followed the instructions on your howto page, (except that the configure script fails---I have been able to build apache, tomcat, ant, and mod_webapp on my system, but mod_jk fails, so I just grabbed your posted binary.) I added the listener statements to server.xml. mod_jk.conf shows Location entries for each of the webapps, and there is a JkMount entry for the servlets (including my HelloWorld entry). mod_jk.log is empty. What more do I need to do? Thanks, Jerry Turner, John wrote: Mod_webapp is deprecated, and has some fairly serious limitations. JK/JK2 is the better choice if you are concerned with future growth. If you're having problems, perhaps my HOWTOs will help: http://www.johnturner.com/howto John -Original Message- From: Jerry Ford [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 3:15 PM To: Tomcat Users List Subject: Re: Connecting Tomcat 4.1.12 with Apache 1.3 Denise: I have just got my Apache 1.3.27/Tomcat 4.1.12 connection to work. Answers to your questions are yes, and yes. You need a connector between them, and mod_jk.so is one such connector. However, I had a devil of a time locating any connector on the apache.org website, and I never was able to make mod_jk work (I tried using the version that did work with my Tomcat 3.2 installation, but it did not work with 4.1 and I was not able to locate mod_jk---any version---on the apache website in order to rebuild). I ended up using mod_webapp.so, which is another connector. It's located in the jakarta-tomcat-connectors-4.1.12-src.tar.gz, which you can download from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v 4.1.12/src/ (the same directory as tomcat itself). When you unpack it, look for README.txt in the webapp directory. It will tell you how to build the connector from CVS. Follow the directions in the readme. They're clear, straightforward, and the build process was smooth and routine, for me at least. Jerry http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/ v4.1.12/sr c/jak arta-tomcat-connectors-4.1.12-src.tar.gz Denise Mangano wrote: Hi all, I am fairly new to using Apache / Tomcat. I currently have my website set up in Apache, running in the /var/html directory. I have installed Tomcat because I have a form page (HTML) that I want to run a servlet with to process a credit card payment with an outside payment processor. I have seen some instances that people have stated I have to do some special configuration in order to use both Apache and Tomcat together. Is this so? If so, then are there any good resources for this? Perhaps using JSP for the form will be better because I want a custom page to display depending on what error message will come back from the payment engine. If that is the case then wouldn't I need the connection between Apache and Tomcat? (the images I will need for the JSP page is stored in apache web directory as well). Is this the mod_jk plug in? (I am running RedHat Linux 7.3) Thanks in advance! Denise Mangano Help Desk Analyst Complus Data Innovations, Inc. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] --- Incoming mail is certified Virus Free
Re: Connecting Tomcat 4.1.12 with Apache 1.3
John: I took your advice from yesterday, replaced mod_webapp.so with mod_jk.so and now jsps and servlets don't work. They worked fine under mod_webapp, including my own HelloWorld app in addition to the Tomcat examples. Now they don't work, although I am able to get to the HTML pages using, for example, http://localhost/examples/servlets. But the servlets and jsp examples themselves all generate an Apache port 80 internal server error. I followed the instructions on your howto page, (except that the configure script fails---I have been able to build apache, tomcat, ant, and mod_webapp on my system, but mod_jk fails, so I just grabbed your posted binary.) I added the listener statements to server.xml. mod_jk.conf shows Location entries for each of the webapps, and there is a JkMount entry for the servlets (including my HelloWorld entry). mod_jk.log is empty. What more do I need to do? Thanks, Jerry Turner, John wrote: Mod_webapp is deprecated, and has some fairly serious limitations. JK/JK2 is the better choice if you are concerned with future growth. If you're having problems, perhaps my HOWTOs will help: http://www.johnturner.com/howto John -Original Message- From: Jerry Ford [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 3:15 PM To: Tomcat Users List Subject: Re: Connecting Tomcat 4.1.12 with Apache 1.3 Denise: I have just got my Apache 1.3.27/Tomcat 4.1.12 connection to work. Answers to your questions are yes, and yes. You need a connector between them, and mod_jk.so is one such connector. However, I had a devil of a time locating any connector on the apache.org website, and I never was able to make mod_jk work (I tried using the version that did work with my Tomcat 3.2 installation, but it did not work with 4.1 and I was not able to locate mod_jk---any version---on the apache website in order to rebuild). I ended up using mod_webapp.so, which is another connector. It's located in the jakarta-tomcat-connectors-4.1.12-src.tar.gz, which you can download from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/src/ (the same directory as tomcat itself). When you unpack it, look for README.txt in the webapp directory. It will tell you how to build the connector from CVS. Follow the directions in the readme. They're clear, straightforward, and the build process was smooth and routine, for me at least. Jerry http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/src/jak arta-tomcat-connectors-4.1.12-src.tar.gz Denise Mangano wrote: Hi all, I am fairly new to using Apache / Tomcat. I currently have my website set up in Apache, running in the /var/html directory. I have installed Tomcat because I have a form page (HTML) that I want to run a servlet with to process a credit card payment with an outside payment processor. I have seen some instances that people have stated I have to do some special configuration in order to use both Apache and Tomcat together. Is this so? If so, then are there any good resources for this? Perhaps using JSP for the form will be better because I want a custom page to display depending on what error message will come back from the payment engine. If that is the case then wouldn't I need the connection between Apache and Tomcat? (the images I will need for the JSP page is stored in apache web directory as well). Is this the mod_jk plug in? (I am running RedHat Linux 7.3) Thanks in advance! Denise Mangano Help Desk Analyst Complus Data Innovations, Inc. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Connecting Tomcat 4.1.12 with Apache 1.3
On Fri, 2002-12-13 at 12:16, Jerry Ford wrote: John: I added the listener statements to server.xml. mod_jk.conf shows Location entries for each of the webapps, and there is a JkMount entry for the servlets (including my HelloWorld entry). mod_jk.log is empty. Do you see that mod_jk is being loaded by Apache when you start it or in Apache's error_log? I see the following when I start Apache: Apache/1.3.26 (Unix) mod_jk/1.2.0 configured -- resuming normal operations I also will assume that you have the 'Include' statement in the httpd.conf for mod_jk.properties (as well as the LoadModule/AddModule directives for mod_jk.so). You might also want to bump the 'JkLogLevel' in your mod_jk.properties to get the debug level to get some feedback on what is going on. Hth, Ben Ricker What more do I need to do? Thanks, Jerry Turner, John wrote: Mod_webapp is deprecated, and has some fairly serious limitations. JK/JK2 is the better choice if you are concerned with future growth. If you're having problems, perhaps my HOWTOs will help: http://www.johnturner.com/howto John -Original Message- From: Jerry Ford [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 3:15 PM To: Tomcat Users List Subject: Re: Connecting Tomcat 4.1.12 with Apache 1.3 Denise: I have just got my Apache 1.3.27/Tomcat 4.1.12 connection to work. Answers to your questions are yes, and yes. You need a connector between them, and mod_jk.so is one such connector. However, I had a devil of a time locating any connector on the apache.org website, and I never was able to make mod_jk work (I tried using the version that did work with my Tomcat 3.2 installation, but it did not work with 4.1 and I was not able to locate mod_jk---any version---on the apache website in order to rebuild). I ended up using mod_webapp.so, which is another connector. It's located in the jakarta-tomcat-connectors-4.1.12-src.tar.gz, which you can download from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/src/ (the same directory as tomcat itself). When you unpack it, look for README.txt in the webapp directory. It will tell you how to build the connector from CVS. Follow the directions in the readme. They're clear, straightforward, and the build process was smooth and routine, for me at least. Jerry http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/src/jak arta-tomcat-connectors-4.1.12-src.tar.gz Denise Mangano wrote: Hi all, I am fairly new to using Apache / Tomcat. I currently have my website set up in Apache, running in the /var/html directory. I have installed Tomcat because I have a form page (HTML) that I want to run a servlet with to process a credit card payment with an outside payment processor. I have seen some instances that people have stated I have to do some special configuration in order to use both Apache and Tomcat together. Is this so? If so, then are there any good resources for this? Perhaps using JSP for the form will be better because I want a custom page to display depending on what error message will come back from the payment engine. If that is the case then wouldn't I need the connection between Apache and Tomcat? (the images I will need for the JSP page is stored in apache web directory as well). Is this the mod_jk plug in? (I am running RedHat Linux 7.3) Thanks in advance! Denise Mangano Help Desk Analyst Complus Data Innovations, Inc. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Ben Ricker [EMAIL PROTECTED] Wellinx.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Connecting Tomcat 4.1.12 with Apache 1.3
Jerry, I know you have same version of Apache and Tomcat I do. By any chance are you running RedHat Linux 7.2 / 7.3? I ran into same problem with encountering error during configure, and just downloaded the binary. That is the binary that I downloaded, but when I try to gunzip it tells me the file is not in gzip format. Did you have a similar problem? Denise -Original Message- From: Jerry Ford [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 1:17 PM To: Tomcat Users List Subject: Re: Connecting Tomcat 4.1.12 with Apache 1.3 John: I took your advice from yesterday, replaced mod_webapp.so with mod_jk.so and now jsps and servlets don't work. They worked fine under mod_webapp, including my own HelloWorld app in addition to the Tomcat examples. Now they don't work, although I am able to get to the HTML pages using, for example, http://localhost/examples/servlets. But the servlets and jsp examples themselves all generate an Apache port 80 internal server error. I followed the instructions on your howto page, (except that the configure script fails---I have been able to build apache, tomcat, ant, and mod_webapp on my system, but mod_jk fails, so I just grabbed your posted binary.) I added the listener statements to server.xml. mod_jk.conf shows Location entries for each of the webapps, and there is a JkMount entry for the servlets (including my HelloWorld entry). mod_jk.log is empty. What more do I need to do? Thanks, Jerry Turner, John wrote: Mod_webapp is deprecated, and has some fairly serious limitations. JK/JK2 is the better choice if you are concerned with future growth. If you're having problems, perhaps my HOWTOs will help: http://www.johnturner.com/howto John -Original Message- From: Jerry Ford [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 3:15 PM To: Tomcat Users List Subject: Re: Connecting Tomcat 4.1.12 with Apache 1.3 Denise: I have just got my Apache 1.3.27/Tomcat 4.1.12 connection to work. Answers to your questions are yes, and yes. You need a connector between them, and mod_jk.so is one such connector. However, I had a devil of a time locating any connector on the apache.org website, and I never was able to make mod_jk work (I tried using the version that did work with my Tomcat 3.2 installation, but it did not work with 4.1 and I was not able to locate mod_jk---any version---on the apache website in order to rebuild). I ended up using mod_webapp.so, which is another connector. It's located in the jakarta-tomcat-connectors-4.1.12-src.tar.gz, which you can download from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/src/ (the same directory as tomcat itself). When you unpack it, look for README.txt in the webapp directory. It will tell you how to build the connector from CVS. Follow the directions in the readme. They're clear, straightforward, and the build process was smooth and routine, for me at least. Jerry http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/sr c/jak arta-tomcat-connectors-4.1.12-src.tar.gz Denise Mangano wrote: Hi all, I am fairly new to using Apache / Tomcat. I currently have my website set up in Apache, running in the /var/html directory. I have installed Tomcat because I have a form page (HTML) that I want to run a servlet with to process a credit card payment with an outside payment processor. I have seen some instances that people have stated I have to do some special configuration in order to use both Apache and Tomcat together. Is this so? If so, then are there any good resources for this? Perhaps using JSP for the form will be better because I want a custom page to display depending on what error message will come back from the payment engine. If that is the case then wouldn't I need the connection between Apache and Tomcat? (the images I will need for the JSP page is stored in apache web directory as well). Is this the mod_jk plug in? (I am running RedHat Linux 7.3) Thanks in advance! Denise Mangano Help Desk Analyst Complus Data Innovations, Inc. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail
Re: Connecting Tomcat 4.1.12 with Apache 1.3
I also will assume that you have the 'Include' statement in the httpd.conf for mod_jk.properties (as well as the LoadModule/AddModule directives for mod_jk.so). Ah, oops, you may have hit it...I put in the include statement, but I forgot to load the module. Thanks. Jerry Ben Ricker wrote: On Fri, 2002-12-13 at 12:16, Jerry Ford wrote: John: I added the listener statements to server.xml. mod_jk.conf shows Location entries for each of the webapps, and there is a JkMount entry for the servlets (including my HelloWorld entry). mod_jk.log is empty. Do you see that mod_jk is being loaded by Apache when you start it or in Apache's error_log? I see the following when I start Apache: Apache/1.3.26 (Unix) mod_jk/1.2.0 configured -- resuming normal operations I also will assume that you have the 'Include' statement in the httpd.conf for mod_jk.properties (as well as the LoadModule/AddModule directives for mod_jk.so). You might also want to bump the 'JkLogLevel' in your mod_jk.properties to get the debug level to get some feedback on what is going on. Hth, Ben Ricker What more do I need to do? Thanks, Jerry Turner, John wrote: Mod_webapp is deprecated, and has some fairly serious limitations. JK/JK2 is the better choice if you are concerned with future growth. If you're having problems, perhaps my HOWTOs will help: http://www.johnturner.com/howto John -Original Message- From: Jerry Ford [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 3:15 PM To: Tomcat Users List Subject: Re: Connecting Tomcat 4.1.12 with Apache 1.3 Denise: I have just got my Apache 1.3.27/Tomcat 4.1.12 connection to work. Answers to your questions are yes, and yes. You need a connector between them, and mod_jk.so is one such connector. However, I had a devil of a time locating any connector on the apache.org website, and I never was able to make mod_jk work (I tried using the version that did work with my Tomcat 3.2 installation, but it did not work with 4.1 and I was not able to locate mod_jk---any version---on the apache website in order to rebuild). I ended up using mod_webapp.so, which is another connector. It's located in the jakarta-tomcat-connectors-4.1.12-src.tar.gz, which you can download from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/src/ (the same directory as tomcat itself). When you unpack it, look for README.txt in the webapp directory. It will tell you how to build the connector from CVS. Follow the directions in the readme. They're clear, straightforward, and the build process was smooth and routine, for me at least. Jerry http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/src/jak arta-tomcat-connectors-4.1.12-src.tar.gz Denise Mangano wrote: Hi all, I am fairly new to using Apache / Tomcat. I currently have my website set up in Apache, running in the /var/html directory. I have installed Tomcat because I have a form page (HTML) that I want to run a servlet with to process a credit card payment with an outside payment processor. I have seen some instances that people have stated I have to do some special configuration in order to use both Apache and Tomcat together. Is this so? If so, then are there any good resources for this? Perhaps using JSP for the form will be better because I want a custom page to display depending on what error message will come back from the payment engine. If that is the case then wouldn't I need the connection between Apache and Tomcat? (the images I will need for the JSP page is stored in apache web directory as well). Is this the mod_jk plug in? (I am running RedHat Linux 7.3) Thanks in advance! Denise Mangano Help Desk Analyst Complus Data Innovations, Inc. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Connecting Tomcat 4.1.12 with Apache 1.3
Denise: I have Red Hat 7.1. I didn't have a problem unzipping it; but when I tried to compile, it failed the first time, then compiled, but when I run the configure script, it fails consistently. Now that I'm responding to you, I went back to John's how-to page to check my facts and I think see where I went wrong...I may have grabbed a Solaris file, which would explain why it wouldn't build on Linux. It's the only 4.1.12 tomcat version in his connector matrix, so I took it not seeing it was for the wrong system. When it failed to install, I went back and got the binary instead. I see he has a 4.1.10 version for Linux; maybe I'll try that. Or maybe not, if I can get the binary to work. I don't really feel a need to build it, just want to get it working. :) Jerry Denise Mangano wrote: Jerry, I know you have same version of Apache and Tomcat I do. By any chance are you running RedHat Linux 7.2 / 7.3? I ran into same problem with encountering error during configure, and just downloaded the binary. That is the binary that I downloaded, but when I try to gunzip it tells me the file is not in gzip format. Did you have a similar problem? Denise -Original Message- From: Jerry Ford [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 1:17 PM To: Tomcat Users List Subject: Re: Connecting Tomcat 4.1.12 with Apache 1.3 John: I took your advice from yesterday, replaced mod_webapp.so with mod_jk.so and now jsps and servlets don't work. They worked fine under mod_webapp, including my own HelloWorld app in addition to the Tomcat examples. Now they don't work, although I am able to get to the HTML pages using, for example, http://localhost/examples/servlets. But the servlets and jsp examples themselves all generate an Apache port 80 internal server error. I followed the instructions on your howto page, (except that the configure script fails---I have been able to build apache, tomcat, ant, and mod_webapp on my system, but mod_jk fails, so I just grabbed your posted binary.) I added the listener statements to server.xml. mod_jk.conf shows Location entries for each of the webapps, and there is a JkMount entry for the servlets (including my HelloWorld entry). mod_jk.log is empty. What more do I need to do? Thanks, Jerry Turner, John wrote: Mod_webapp is deprecated, and has some fairly serious limitations. JK/JK2 is the better choice if you are concerned with future growth. If you're having problems, perhaps my HOWTOs will help: http://www.johnturner.com/howto John -Original Message- From: Jerry Ford [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 3:15 PM To: Tomcat Users List Subject: Re: Connecting Tomcat 4.1.12 with Apache 1.3 Denise: I have just got my Apache 1.3.27/Tomcat 4.1.12 connection to work. Answers to your questions are yes, and yes. You need a connector between them, and mod_jk.so is one such connector. However, I had a devil of a time locating any connector on the apache.org website, and I never was able to make mod_jk work (I tried using the version that did work with my Tomcat 3.2 installation, but it did not work with 4.1 and I was not able to locate mod_jk---any version---on the apache website in order to rebuild). I ended up using mod_webapp.so, which is another connector. It's located in the jakarta-tomcat-connectors-4.1.12-src.tar.gz, which you can download from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/src/ (the same directory as tomcat itself). When you unpack it, look for README.txt in the webapp directory. It will tell you how to build the connector from CVS. Follow the directions in the readme. They're clear, straightforward, and the build process was smooth and routine, for me at least. Jerry http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/sr c/jak arta-tomcat-connectors-4.1.12-src.tar.gz Denise Mangano wrote: Hi all, I am fairly new to using Apache / Tomcat. I currently have my website set up in Apache, running in the /var/html directory. I have installed Tomcat because I have a form page (HTML) that I want to run a servlet with to process a credit card payment with an outside payment processor. I have seen some instances that people have stated I have to do some special configuration in order to use both Apache and Tomcat together. Is this so? If so, then are there any good resources for this? Perhaps using JSP for the form will be better because I want a custom page to display depending on what error message will come back from the payment engine. If that is the case then wouldn't I need the connection between Apache and Tomcat? (the images I will need for the JSP page is stored in apache web directory as well). Is this the mod_jk plug in? (I am running RedHat Linux 7.3) Thanks in advance! Denise Mangano Help Desk Analyst Complus Data Innovations, Inc
Re: Connecting Tomcat 4.1.12 with Apache 1.3
No, wait, that's not true...I did get the right one (or as close as I could come, the connector cell in the matrix says Tomcate 4.0x). I got confused because I'm not at the Linux box right now, I checked his website from my Win2000 machine and the Solaris link was the one that showed the last visit. I must have clicked it from this computer, even though I didn't download it---not only for Solaris, but also wrong Apache. Jerry Jerry Ford wrote: Denise: I have Red Hat 7.1. I didn't have a problem unzipping it; but when I tried to compile, it failed the first time, then compiled, but when I run the configure script, it fails consistently. Now that I'm responding to you, I went back to John's how-to page to check my facts and I think see where I went wrong...I may have grabbed a Solaris file, which would explain why it wouldn't build on Linux. It's the only 4.1.12 tomcat version in his connector matrix, so I took it not seeing it was for the wrong system. When it failed to install, I went back and got the binary instead. I see he has a 4.1.10 version for Linux; maybe I'll try that. Or maybe not, if I can get the binary to work. I don't really feel a need to build it, just want to get it working. :) Jerry Denise Mangano wrote: Jerry, I know you have same version of Apache and Tomcat I do. By any chance are you running RedHat Linux 7.2 / 7.3? I ran into same problem with encountering error during configure, and just downloaded the binary. That is the binary that I downloaded, but when I try to gunzip it tells me the file is not in gzip format. Did you have a similar problem? Denise -Original Message- From: Jerry Ford [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 1:17 PM To: Tomcat Users List Subject: Re: Connecting Tomcat 4.1.12 with Apache 1.3 John: I took your advice from yesterday, replaced mod_webapp.so with mod_jk.so and now jsps and servlets don't work. They worked fine under mod_webapp, including my own HelloWorld app in addition to the Tomcat examples. Now they don't work, although I am able to get to the HTML pages using, for example, http://localhost/examples/servlets. But the servlets and jsp examples themselves all generate an Apache port 80 internal server error. I followed the instructions on your howto page, (except that the configure script fails---I have been able to build apache, tomcat, ant, and mod_webapp on my system, but mod_jk fails, so I just grabbed your posted binary.) I added the listener statements to server.xml. mod_jk.conf shows Location entries for each of the webapps, and there is a JkMount entry for the servlets (including my HelloWorld entry). mod_jk.log is empty. What more do I need to do? Thanks, Jerry Turner, John wrote: Mod_webapp is deprecated, and has some fairly serious limitations. JK/JK2 is the better choice if you are concerned with future growth. If you're having problems, perhaps my HOWTOs will help: http://www.johnturner.com/howto John -Original Message- From: Jerry Ford [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 3:15 PM To: Tomcat Users List Subject: Re: Connecting Tomcat 4.1.12 with Apache 1.3 Denise: I have just got my Apache 1.3.27/Tomcat 4.1.12 connection to work. Answers to your questions are yes, and yes. You need a connector between them, and mod_jk.so is one such connector. However, I had a devil of a time locating any connector on the apache.org website, and I never was able to make mod_jk work (I tried using the version that did work with my Tomcat 3.2 installation, but it did not work with 4.1 and I was not able to locate mod_jk---any version---on the apache website in order to rebuild). I ended up using mod_webapp.so, which is another connector. It's located in the jakarta-tomcat-connectors-4.1.12-src.tar.gz, which you can download from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/src/ (the same directory as tomcat itself). When you unpack it, look for README.txt in the webapp directory. It will tell you how to build the connector from CVS. Follow the directions in the readme. They're clear, straightforward, and the build process was smooth and routine, for me at least. Jerry http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/sr c/jak arta-tomcat-connectors-4.1.12-src.tar.gz Denise Mangano wrote: Hi all, I am fairly new to using Apache / Tomcat. I currently have my website set up in Apache, running in the /var/html directory. I have installed Tomcat because I have a form page (HTML) that I want to run a servlet with to process a credit card payment with an outside payment processor. I have seen some instances that people have stated I have to do some special configuration in order to use both Apache and Tomcat together. Is this so? If so, then are there any good resources for this? Perhaps using JSP for the form
Re: Connecting Tomcat 4.1.12 with Apache 1.3
Hello. I wish the Tomcat/Apache team would come up with precompiled binaries for Linux and, if possible, rpms. The problem of compiling the source for binaries is too much work for the average user. Thank-you for your time. Sean. Jerry Ford wrote: Denise: I have Red Hat 7.1. I didn't have a problem unzipping it; but when I tried to compile, it failed the first time, then compiled, but when I run the configure script, it fails consistently. Now that I'm responding to you, I went back to John's how-to page to check my facts and I think see where I went wrong...I may have grabbed a Solaris file, which would explain why it wouldn't build on Linux. It's the only 4.1.12 tomcat version in his connector matrix, so I took it not seeing it was for the wrong system. When it failed to install, I went back and got the binary instead. I see he has a 4.1.10 version for Linux; maybe I'll try that. Or maybe not, if I can get the binary to work. I don't really feel a need to build it, just want to get it working. :) Jerry Denise Mangano wrote: Jerry, I know you have same version of Apache and Tomcat I do. By any chance are you running RedHat Linux 7.2 / 7.3? I ran into same problem with encountering error during configure, and just downloaded the binary. That is the binary that I downloaded, but when I try to gunzip it tells me the file is not in gzip format. Did you have a similar problem? Denise -Original Message- From: Jerry Ford [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 1:17 PM To: Tomcat Users List Subject: Re: Connecting Tomcat 4.1.12 with Apache 1.3 John: I took your advice from yesterday, replaced mod_webapp.so with mod_jk.so and now jsps and servlets don't work. They worked fine under mod_webapp, including my own HelloWorld app in addition to the Tomcat examples. Now they don't work, although I am able to get to the HTML pages using, for example, http://localhost/examples/servlets. But the servlets and jsp examples themselves all generate an Apache port 80 internal server error. I followed the instructions on your howto page, (except that the configure script fails---I have been able to build apache, tomcat, ant, and mod_webapp on my system, but mod_jk fails, so I just grabbed your posted binary.) I added the listener statements to server.xml. mod_jk.conf shows Location entries for each of the webapps, and there is a JkMount entry for the servlets (including my HelloWorld entry). mod_jk.log is empty. What more do I need to do? Thanks, Jerry Turner, John wrote: Mod_webapp is deprecated, and has some fairly serious limitations. JK/JK2 is the better choice if you are concerned with future growth. If you're having problems, perhaps my HOWTOs will help: http://www.johnturner.com/howto John -Original Message- From: Jerry Ford [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 3:15 PM To: Tomcat Users List Subject: Re: Connecting Tomcat 4.1.12 with Apache 1.3 Denise: I have just got my Apache 1.3.27/Tomcat 4.1.12 connection to work. Answers to your questions are yes, and yes. You need a connector between them, and mod_jk.so is one such connector. However, I had a devil of a time locating any connector on the apache.org website, and I never was able to make mod_jk work (I tried using the version that did work with my Tomcat 3.2 installation, but it did not work with 4.1 and I was not able to locate mod_jk---any version---on the apache website in order to rebuild). I ended up using mod_webapp.so, which is another connector. It's located in the jakarta-tomcat-connectors-4.1.12-src.tar.gz, which you can download from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/src/ (the same directory as tomcat itself). When you unpack it, look for README.txt in the webapp directory. It will tell you how to build the connector from CVS. Follow the directions in the readme. They're clear, straightforward, and the build process was smooth and routine, for me at least. Jerry http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/sr c/jak arta-tomcat-connectors-4.1.12-src.tar.gz Denise Mangano wrote: Hi all, I am fairly new to using Apache / Tomcat. I currently have my website set up in Apache, running in the /var/html directory. I have installed Tomcat because I have a form page (HTML) that I want to run a servlet with to process a credit card payment with an outside payment processor. I have seen some instances that people have stated I have to do some special configuration in order to use both Apache and Tomcat together. Is this so? If so, then are there any good resources for this? Perhaps using JSP for the form will be better because I want a custom page to display depending on what error message will come back from the payment engine. If that is the case then wouldn't I need the connection between Apache and Tomcat
Re: Connecting Tomcat 4.1.12 with Apache 1.3
Denise: I have just got my Apache 1.3.27/Tomcat 4.1.12 connection to work. Answers to your questions are yes, and yes. You need a connector between them, and mod_jk.so is one such connector. However, I had a devil of a time locating any connector on the apache.org website, and I never was able to make mod_jk work (I tried using the version that did work with my Tomcat 3.2 installation, but it did not work with 4.1 and I was not able to locate mod_jk---any version---on the apache website in order to rebuild). I ended up using mod_webapp.so, which is another connector. It's located in the jakarta-tomcat-connectors-4.1.12-src.tar.gz, which you can download from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/src/ (the same directory as tomcat itself). When you unpack it, look for README.txt in the webapp directory. It will tell you how to build the connector from CVS. Follow the directions in the readme. They're clear, straightforward, and the build process was smooth and routine, for me at least. Jerry http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/src/jakarta-tomcat-connectors-4.1.12-src.tar.gz Denise Mangano wrote: Hi all, I am fairly new to using Apache / Tomcat. I currently have my website set up in Apache, running in the /var/html directory. I have installed Tomcat because I have a form page (HTML) that I want to run a servlet with to process a credit card payment with an outside payment processor. I have seen some instances that people have stated I have to do some special configuration in order to use both Apache and Tomcat together. Is this so? If so, then are there any good resources for this? Perhaps using JSP for the form will be better because I want a custom page to display depending on what error message will come back from the payment engine. If that is the case then wouldn't I need the connection between Apache and Tomcat? (the images I will need for the JSP page is stored in apache web directory as well). Is this the mod_jk plug in? (I am running RedHat Linux 7.3) Thanks in advance! Denise Mangano Help Desk Analyst Complus Data Innovations, Inc. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Connecting Tomcat 4.1.12 with Apache 1.3
BTW, the configuration lines that go in httpd.conf for webapp are entirely different than what is required for mod_jk. They serve the same function, but they are entirely different connectors. It will take some reading to make the transition. Jerry Jerry Ford wrote: Denise: I have just got my Apache 1.3.27/Tomcat 4.1.12 connection to work. Answers to your questions are yes, and yes. You need a connector between them, and mod_jk.so is one such connector. However, I had a devil of a time locating any connector on the apache.org website, and I never was able to make mod_jk work (I tried using the version that did work with my Tomcat 3.2 installation, but it did not work with 4.1 and I was not able to locate mod_jk---any version---on the apache website in order to rebuild). I ended up using mod_webapp.so, which is another connector. It's located in the jakarta-tomcat-connectors-4.1.12-src.tar.gz, which you can download from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/src/ (the same directory as tomcat itself). When you unpack it, look for README.txt in the webapp directory. It will tell you how to build the connector from CVS. Follow the directions in the readme. They're clear, straightforward, and the build process was smooth and routine, for me at least. Jerry http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/src/jakarta-tomcat-connectors-4.1.12-src.tar.gz Denise Mangano wrote: Hi all, I am fairly new to using Apache / Tomcat. I currently have my website set up in Apache, running in the /var/html directory. I have installed Tomcat because I have a form page (HTML) that I want to run a servlet with to process a credit card payment with an outside payment processor. I have seen some instances that people have stated I have to do some special configuration in order to use both Apache and Tomcat together. Is this so? If so, then are there any good resources for this? Perhaps using JSP for the form will be better because I want a custom page to display depending on what error message will come back from the payment engine. If that is the case then wouldn't I need the connection between Apache and Tomcat? (the images I will need for the JSP page is stored in apache web directory as well). Is this the mod_jk plug in? (I am running RedHat Linux 7.3) Thanks in advance! Denise Mangano Help Desk Analyst Complus Data Innovations, Inc. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Connecting Tomcat 4.1.12 with Apache 1.3
Hi - You should find everything you need right here: http://www.johnturner.com/howto/apache-tomcat-howto.html You can get recent official mod_jk binaries from the Jakarta site here: http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.1 /bin/linux/i386/ Older versions are on my site. In my HOWTO, if you are using a pre-compiled version of mod_jk, you can skip all of the stuff that talks about building mod_jk from source. John -Original Message- From: Denise Mangano [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 12:59 PM To: 'Tomcat Users List' Subject: Connecting Tomcat 4.1.12 with Apache 1.3 Hi all, I am fairly new to using Apache / Tomcat. I currently have my website set up in Apache, running in the /var/html directory. I have installed Tomcat because I have a form page (HTML) that I want to run a servlet with to process a credit card payment with an outside payment processor. I have seen some instances that people have stated I have to do some special configuration in order to use both Apache and Tomcat together. Is this so? If so, then are there any good resources for this? Perhaps using JSP for the form will be better because I want a custom page to display depending on what error message will come back from the payment engine. If that is the case then wouldn't I need the connection between Apache and Tomcat? (the images I will need for the JSP page is stored in apache web directory as well). Is this the mod_jk plug in? (I am running RedHat Linux 7.3) Thanks in advance! Denise Mangano Help Desk Analyst Complus Data Innovations, Inc. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Connecting Tomcat 4.1.12 with Apache 1.3
Mod_webapp is deprecated, and has some fairly serious limitations. JK/JK2 is the better choice if you are concerned with future growth. If you're having problems, perhaps my HOWTOs will help: http://www.johnturner.com/howto John -Original Message- From: Jerry Ford [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 3:15 PM To: Tomcat Users List Subject: Re: Connecting Tomcat 4.1.12 with Apache 1.3 Denise: I have just got my Apache 1.3.27/Tomcat 4.1.12 connection to work. Answers to your questions are yes, and yes. You need a connector between them, and mod_jk.so is one such connector. However, I had a devil of a time locating any connector on the apache.org website, and I never was able to make mod_jk work (I tried using the version that did work with my Tomcat 3.2 installation, but it did not work with 4.1 and I was not able to locate mod_jk---any version---on the apache website in order to rebuild). I ended up using mod_webapp.so, which is another connector. It's located in the jakarta-tomcat-connectors-4.1.12-src.tar.gz, which you can download from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/src/ (the same directory as tomcat itself). When you unpack it, look for README.txt in the webapp directory. It will tell you how to build the connector from CVS. Follow the directions in the readme. They're clear, straightforward, and the build process was smooth and routine, for me at least. Jerry http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/src/jak arta-tomcat-connectors-4.1.12-src.tar.gz Denise Mangano wrote: Hi all, I am fairly new to using Apache / Tomcat. I currently have my website set up in Apache, running in the /var/html directory. I have installed Tomcat because I have a form page (HTML) that I want to run a servlet with to process a credit card payment with an outside payment processor. I have seen some instances that people have stated I have to do some special configuration in order to use both Apache and Tomcat together. Is this so? If so, then are there any good resources for this? Perhaps using JSP for the form will be better because I want a custom page to display depending on what error message will come back from the payment engine. If that is the case then wouldn't I need the connection between Apache and Tomcat? (the images I will need for the JSP page is stored in apache web directory as well). Is this the mod_jk plug in? (I am running RedHat Linux 7.3) Thanks in advance! Denise Mangano Help Desk Analyst Complus Data Innovations, Inc. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Connecting Tomcat 4.1.12 with Apache 1.3
John, JK/JK2 is the better choice if you are concerned with future growth. If you're having problems, perhaps my HOWTOs will help: http://www.johnturner.com/howto You still planning to post mod_jk2 HOWTO soon? The information for that appears to be scattered (best source is still the source), and usage instructions are inconsistent from person to person. Personally, I like the idea of deprecating the properties file in favor of doing everything in httpd.conf. I don't know if that is the approach you're taking. --- Noel -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Connecting Tomcat 4.1.12 with Apache 1.3
John: Thanks, I'll try it. But, your website matrix of connectors/OSs/server versions just misses my setup on each detail---I'm running Apache 1.3.27 and Tomcat 4.1.12 on Red Hat Linux 7.1; your matrix shows Apache 1.3.26, Tomcat 4.1.10, RHLinux 7.2. How critical are version numbers? Jerry Turner, John wrote: Mod_webapp is deprecated, and has some fairly serious limitations. JK/JK2 is the better choice if you are concerned with future growth. If you're having problems, perhaps my HOWTOs will help: http://www.johnturner.com/howto John -Original Message- From: Jerry Ford [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 3:15 PM To: Tomcat Users List Subject: Re: Connecting Tomcat 4.1.12 with Apache 1.3 Denise: I have just got my Apache 1.3.27/Tomcat 4.1.12 connection to work. Answers to your questions are yes, and yes. You need a connector between them, and mod_jk.so is one such connector. However, I had a devil of a time locating any connector on the apache.org website, and I never was able to make mod_jk work (I tried using the version that did work with my Tomcat 3.2 installation, but it did not work with 4.1 and I was not able to locate mod_jk---any version---on the apache website in order to rebuild). I ended up using mod_webapp.so, which is another connector. It's located in the jakarta-tomcat-connectors-4.1.12-src.tar.gz, which you can download from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/src/ (the same directory as tomcat itself). When you unpack it, look for README.txt in the webapp directory. It will tell you how to build the connector from CVS. Follow the directions in the readme. They're clear, straightforward, and the build process was smooth and routine, for me at least. Jerry http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/src/jak arta-tomcat-connectors-4.1.12-src.tar.gz Denise Mangano wrote: Hi all, I am fairly new to using Apache / Tomcat. I currently have my website set up in Apache, running in the /var/html directory. I have installed Tomcat because I have a form page (HTML) that I want to run a servlet with to process a credit card payment with an outside payment processor. I have seen some instances that people have stated I have to do some special configuration in order to use both Apache and Tomcat together. Is this so? If so, then are there any good resources for this? Perhaps using JSP for the form will be better because I want a custom page to display depending on what error message will come back from the payment engine. If that is the case then wouldn't I need the connection between Apache and Tomcat? (the images I will need for the JSP page is stored in apache web directory as well). Is this the mod_jk plug in? (I am running RedHat Linux 7.3) Thanks in advance! Denise Mangano Help Desk Analyst Complus Data Innovations, Inc. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Connecting Tomcat 4.1.12 with Apache 1.3
I'm planning to dig into mod_jk2 this weekend, on RH 7.3. Robert Sowders has a good JK2 HOWTO available using Windows. Aside from pathnames, the setup should be the same as a *nix/Linux setup. John -Original Message- From: Noel J. Bergman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 4:11 PM To: Tomcat Users List Subject: RE: Connecting Tomcat 4.1.12 with Apache 1.3 John, JK/JK2 is the better choice if you are concerned with future growth. If you're having problems, perhaps my HOWTOs will help: http://www.johnturner.com/howto You still planning to post mod_jk2 HOWTO soon? The information for that appears to be scattered (best source is still the source), and usage instructions are inconsistent from person to person. Personally, I like the idea of deprecating the properties file in favor of doing everything in httpd.conf. I don't know if that is the approach you're taking. --- Noel -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Connecting Tomcat 4.1.12 with Apache 1.3
Not that critical, especially at the OS level. Building the connector from source is fairly easy. Assuming a GNU build environment (check my Solaris HOWTO for details, linked off the same URL), building mod_jk is: Localhost #: ./configure --with-apxs=/some/path/to/apache/bin/apxs --with-java=${JAVA_HOME} Localhost #: make Localhost #: make install There should be a mod_jk.so file on your system at that point. Then you are good to go. My RH and Solaris HOWTOs all detail how to build the connector. John -Original Message- From: Jerry Ford [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 4:19 PM To: Tomcat Users List Subject: Re: Connecting Tomcat 4.1.12 with Apache 1.3 John: Thanks, I'll try it. But, your website matrix of connectors/OSs/server versions just misses my setup on each detail---I'm running Apache 1.3.27 and Tomcat 4.1.12 on Red Hat Linux 7.1; your matrix shows Apache 1.3.26, Tomcat 4.1.10, RHLinux 7.2. How critical are version numbers? Jerry Turner, John wrote: Mod_webapp is deprecated, and has some fairly serious limitations. JK/JK2 is the better choice if you are concerned with future growth. If you're having problems, perhaps my HOWTOs will help: http://www.johnturner.com/howto John -Original Message- From: Jerry Ford [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 3:15 PM To: Tomcat Users List Subject: Re: Connecting Tomcat 4.1.12 with Apache 1.3 Denise: I have just got my Apache 1.3.27/Tomcat 4.1.12 connection to work. Answers to your questions are yes, and yes. You need a connector between them, and mod_jk.so is one such connector. However, I had a devil of a time locating any connector on the apache.org website, and I never was able to make mod_jk work (I tried using the version that did work with my Tomcat 3.2 installation, but it did not work with 4.1 and I was not able to locate mod_jk---any version---on the apache website in order to rebuild). I ended up using mod_webapp.so, which is another connector. It's located in the jakarta-tomcat-connectors-4.1.12-src.tar.gz, which you can download from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/src/ (the same directory as tomcat itself). When you unpack it, look for README.txt in the webapp directory. It will tell you how to build the connector from CVS. Follow the directions in the readme. They're clear, straightforward, and the build process was smooth and routine, for me at least. Jerry http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/src/ja k arta-tomcat-connectors-4.1.12-src.tar.gz Denise Mangano wrote: Hi all, I am fairly new to using Apache / Tomcat. I currently have my website set up in Apache, running in the /var/html directory. I have installed Tomcat because I have a form page (HTML) that I want to run a servlet with to process a credit card payment with an outside payment processor. I have seen some instances that people have stated I have to do some special configuration in order to use both Apache and Tomcat together. Is this so? If so, then are there any good resources for this? Perhaps using JSP for the form will be better because I want a custom page to display depending on what error message will come back from the payment engine. If that is the case then wouldn't I need the connection between Apache and Tomcat? (the images I will need for the JSP page is stored in apache web directory as well). Is this the mod_jk plug in? (I am running RedHat Linux 7.3) Thanks in advance! Denise Mangano Help Desk Analyst Complus Data Innovations, Inc. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Connecting Tomcat 4.1.12 with Apache 1.3
Thank you so much for getting back to me about that. I have just been trying to read up on the mod_jk, and was hoping there was another option. I do have one more question though related to running JSP with Tomcat. If I make my entire form JSP, and run from within Tomcat, and after it communicates with the payment server, an updated JSP page will be displayed (depending on the data received from the bank). Would I still have to make the connection between Apache and Tomcat? It would basically be a link from my website to the form, which will be JSP. I put up a dummy page and had a link to one of the example JSP that came with Tomcat. The link worked Ok, and the servlet ran fine. Thanks again! Denise Mangano Help Desk Analyst Complus Data Innovations, Inc. -Original Message- From: Jerry Ford [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 3:39 PM To: Tomcat Users List Subject: Re: Connecting Tomcat 4.1.12 with Apache 1.3 BTW, the configuration lines that go in httpd.conf for webapp are entirely different than what is required for mod_jk. They serve the same function, but they are entirely different connectors. It will take some reading to make the transition. Jerry Jerry Ford wrote: Denise: I have just got my Apache 1.3.27/Tomcat 4.1.12 connection to work. Answers to your questions are yes, and yes. You need a connector between them, and mod_jk.so is one such connector. However, I had a devil of a time locating any connector on the apache.org website, and I never was able to make mod_jk work (I tried using the version that did work with my Tomcat 3.2 installation, but it did not work with 4.1 and I was not able to locate mod_jk---any version---on the apache website in order to rebuild). I ended up using mod_webapp.so, which is another connector. It's located in the jakarta-tomcat-connectors-4.1.12-src.tar.gz, which you can download from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/src/ (the same directory as tomcat itself). When you unpack it, look for README.txt in the webapp directory. It will tell you how to build the connector from CVS. Follow the directions in the readme. They're clear, straightforward, and the build process was smooth and routine, for me at least. Jerry http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/s rc/jakarta-tomcat-connectors-4.1.12-src.tar.gz Denise Mangano wrote: Hi all, I am fairly new to using Apache / Tomcat. I currently have my website set up in Apache, running in the /var/html directory. I have installed Tomcat because I have a form page (HTML) that I want to run a servlet with to process a credit card payment with an outside payment processor. I have seen some instances that people have stated I have to do some special configuration in order to use both Apache and Tomcat together. Is this so? If so, then are there any good resources for this? Perhaps using JSP for the form will be better because I want a custom page to display depending on what error message will come back from the payment engine. If that is the case then wouldn't I need the connection between Apache and Tomcat? (the images I will need for the JSP page is stored in apache web directory as well). Is this the mod_jk plug in? (I am running RedHat Linux 7.3) Thanks in advance! Denise Mangano Help Desk Analyst Complus Data Innovations, Inc. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Connecting Tomcat 4.1.12 with Apache 1.3
Just an after thought here... Even though I can access the JSP from my web site in Apache, I just tried to access it through the https:// protocol. It just hung and did not load. Do I have to configure something in Tomcat to allow for SSL connection to the JSP's? I am looking at Jakarta's site and it is saying that when using Tomcat as a standalone server, SSL has to be configured. But when running Tomcat primarily as a Servlet/JSP container behind another web server, such as Apache the SSL is configured on the web server, which it is (I already have a certificate). What am I missing? The only time I will need to access Tomcat from my web site is over a secure connection. Sorry for the trivial questions, as I said I'm new to this. Thanks in advance, Denise Mangano Help Desk Analyst Complus Data Innovations, Inc. -Original Message- From: Denise Mangano [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 4:29 PM To: 'Tomcat Users List' Subject: RE: Connecting Tomcat 4.1.12 with Apache 1.3 Thank you so much for getting back to me about that. I have just been trying to read up on the mod_jk, and was hoping there was another option. I do have one more question though related to running JSP with Tomcat. If I make my entire form JSP, and run from within Tomcat, and after it communicates with the payment server, an updated JSP page will be displayed (depending on the data received from the bank). Would I still have to make the connection between Apache and Tomcat? It would basically be a link from my website to the form, which will be JSP. I put up a dummy page and had a link to one of the example JSP that came with Tomcat. The link worked Ok, and the servlet ran fine. Thanks again! Denise Mangano Help Desk Analyst Complus Data Innovations, Inc. -Original Message- From: Jerry Ford [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 3:39 PM To: Tomcat Users List Subject: Re: Connecting Tomcat 4.1.12 with Apache 1.3 BTW, the configuration lines that go in httpd.conf for webapp are entirely different than what is required for mod_jk. They serve the same function, but they are entirely different connectors. It will take some reading to make the transition. Jerry Jerry Ford wrote: Denise: I have just got my Apache 1.3.27/Tomcat 4.1.12 connection to work. Answers to your questions are yes, and yes. You need a connector between them, and mod_jk.so is one such connector. However, I had a devil of a time locating any connector on the apache.org website, and I never was able to make mod_jk work (I tried using the version that did work with my Tomcat 3.2 installation, but it did not work with 4.1 and I was not able to locate mod_jk---any version---on the apache website in order to rebuild). I ended up using mod_webapp.so, which is another connector. It's located in the jakarta-tomcat-connectors-4.1.12-src.tar.gz, which you can download from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/sr c/ (the same directory as tomcat itself). When you unpack it, look for README.txt in the webapp directory. It will tell you how to build the connector from CVS. Follow the directions in the readme. They're clear, straightforward, and the build process was smooth and routine, for me at least. Jerry http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/s rc/jakarta-tomcat-connectors-4.1.12-src.tar.gz Denise Mangano wrote: Hi all, I am fairly new to using Apache / Tomcat. I currently have my website set up in Apache, running in the /var/html directory. I have installed Tomcat because I have a form page (HTML) that I want to run a servlet with to process a credit card payment with an outside payment processor. I have seen some instances that people have stated I have to do some special configuration in order to use both Apache and Tomcat together. Is this so? If so, then are there any good resources for this? Perhaps using JSP for the form will be better because I want a custom page to display depending on what error message will come back from the payment engine. If that is the case then wouldn't I need the connection between Apache and Tomcat? (the images I will need for the JSP page is stored in apache web directory as well). Is this the mod_jk plug in? (I am running RedHat Linux 7.3) Thanks in advance! Denise Mangano Help Desk Analyst Complus Data Innovations, Inc. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e
RE: Connecting Tomcat 4.1.12 with Apache 1.3
do you have a reference to Robert's JK2 HOWTO -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 3:22 PM To: 'Tomcat Users List' Subject: RE: Connecting Tomcat 4.1.12 with Apache 1.3 I'm planning to dig into mod_jk2 this weekend, on RH 7.3. Robert Sowders has a good JK2 HOWTO available using Windows. Aside from pathnames, the setup should be the same as a *nix/Linux setup. John -Original Message- From: Noel J. Bergman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 4:11 PM To: Tomcat Users List Subject: RE: Connecting Tomcat 4.1.12 with Apache 1.3 John, JK/JK2 is the better choice if you are concerned with future growth. If you're having problems, perhaps my HOWTOs will help: http://www.johnturner.com/howto You still planning to post mod_jk2 HOWTO soon? The information for that appears to be scattered (best source is still the source), and usage instructions are inconsistent from person to person. Personally, I like the idea of deprecating the properties file in favor of doing everything in httpd.conf. I don't know if that is the approach you're taking. --- Noel -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Connecting Tomcat 4.1.12 with Apache 1.3
Not handy. I'm away from my bookmarks at the moment. He's posted the URL many times, I am sure it is the archives at one of the archive sites. John -Original Message- From: Ron Day [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 4:55 PM To: Tomcat Users List Subject: RE: Connecting Tomcat 4.1.12 with Apache 1.3 do you have a reference to Robert's JK2 HOWTO -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 3:22 PM To: 'Tomcat Users List' Subject: RE: Connecting Tomcat 4.1.12 with Apache 1.3 I'm planning to dig into mod_jk2 this weekend, on RH 7.3. Robert Sowders has a good JK2 HOWTO available using Windows. Aside from pathnames, the setup should be the same as a *nix/Linux setup. John -Original Message- From: Noel J. Bergman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 4:11 PM To: Tomcat Users List Subject: RE: Connecting Tomcat 4.1.12 with Apache 1.3 John, JK/JK2 is the better choice if you are concerned with future growth. If you're having problems, perhaps my HOWTOs will help: http://www.johnturner.com/howto You still planning to post mod_jk2 HOWTO soon? The information for that appears to be scattered (best source is still the source), and usage instructions are inconsistent from person to person. Personally, I like the idea of deprecating the properties file in favor of doing everything in httpd.conf. I don't know if that is the approach you're taking. --- Noel -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Connecting Tomcat 4.1.12 with Apache 1.3
On Wed, 11 Dec 2002, Denise Mangano wrote: Thank you so much for getting back to me about that. I have just been trying to read up on the mod_jk, and was hoping there was another option. I do have one more question though related to running JSP with Tomcat. If I make my entire form JSP, and run from within Tomcat, and after it communicates with the payment server, an updated JSP page will be displayed (depending on the data received from the bank). Would I still have to make the connection between Apache and Tomcat? It would basically be a link from my website to the form, which will be JSP. I put up a dummy page and had a link to one of the example JSP that came with Tomcat. The link worked Ok, and the servlet ran fine. Yes, to use JSP's, you need to set up Tomcat the same way you would if you are using servlets (basically). Servlets and JSP's are different entities, covered by different specs. But they are related, and typically a servlet container (such as Tomcat) will implement both of them. In fact, the way Tomcat (and most servlet containers, AFAIK) process JSP's, they *are* servlets -- that is, one of the first things that is done to them is that they are translated to a servlet. Also, in general, it is not recommended to put a lot of code in a JSP, and often systems are designed that use both servlets and JSP's. The only time you wouldn't need to connect Apache and Tomcat is if you are using Tomcat standalone, and that's an independent factor from whether you're using servlets or JSP's. -Original Message- From: Jerry Ford [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 3:39 PM To: Tomcat Users List Subject: Re: Connecting Tomcat 4.1.12 with Apache 1.3 BTW, the configuration lines that go in httpd.conf for webapp are entirely different than what is required for mod_jk. They serve the same function, but they are entirely different connectors. It will take some reading to make the transition. Jerry Jerry Ford wrote: Denise: I have just got my Apache 1.3.27/Tomcat 4.1.12 connection to work. Answers to your questions are yes, and yes. You need a connector between them, and mod_jk.so is one such connector. However, I had a devil of a time locating any connector on the apache.org website, and I never was able to make mod_jk work (I tried using the version that did work with my Tomcat 3.2 installation, but it did not work with 4.1 and I was not able to locate mod_jk---any version---on the apache website in order to rebuild). I ended up using mod_webapp.so, which is another connector. It's located in the jakarta-tomcat-connectors-4.1.12-src.tar.gz, which you can download from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/src/ (the same directory as tomcat itself). When you unpack it, look for README.txt in the webapp directory. It will tell you how to build the connector from CVS. Follow the directions in the readme. They're clear, straightforward, and the build process was smooth and routine, for me at least. Jerry http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/s rc/jakarta-tomcat-connectors-4.1.12-src.tar.gz Denise Mangano wrote: Hi all, I am fairly new to using Apache / Tomcat. I currently have my website set up in Apache, running in the /var/html directory. I have installed Tomcat because I have a form page (HTML) that I want to run a servlet with to process a credit card payment with an outside payment processor. I have seen some instances that people have stated I have to do some special configuration in order to use both Apache and Tomcat together. Is this so? If so, then are there any good resources for this? Perhaps using JSP for the form will be better because I want a custom page to display depending on what error message will come back from the payment engine. If that is the case then wouldn't I need the connection between Apache and Tomcat? (the images I will need for the JSP page is stored in apache web directory as well). Is this the mod_jk plug in? (I am running RedHat Linux 7.3) Thanks in advance! Denise Mangano Help Desk Analyst Complus Data Innovations, Inc. Milt Epstein Research Programmer Integration and Software Engineering (ISE) Campus Information Technologies and Educational Services (CITES) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Connecting Tomcat 4.1.12 with Apache 1.3
On Wed, 11 Dec 2002, Denise Mangano wrote: Just an after thought here... Even though I can access the JSP from my web site in Apache, I just tried to access it through the https:// protocol. It just hung and did not load. Do I have to configure something in Tomcat to allow for SSL connection to the JSP's? I am looking at Jakarta's site and it is saying that when using Tomcat as a standalone server, SSL has to be configured. But when running Tomcat primarily as a Servlet/JSP container behind another web server, such as Apache the SSL is configured on the web server, which it is (I already have a certificate). What am I missing? The only time I will need to access Tomcat from my web site is over a secure connection. That's basically correct. The thing is, you have to place the appropriate Tomcat connector-related directives in the appropriate section(s) of your Apache httpd.conf file to make sure Apache knows what to pass to Tomcat. For example, if you have SSL set up, and you have a section of your httpd.conf that deals with your https/SSL instance (perhaps as a virtual host), you have to put the appropriate connector-related directives in that section. If you put them in the root (i.e. http) section, they'll only apply to the root instance. I don't know exactly what your setup is, like what connector, so I can't be more specific. If you're using mod_jk, for example, you'd have to place appropriate JkMount directives in the https/SSL instance section of your httpd.conf. -Original Message- From: Denise Mangano [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 4:29 PM To: 'Tomcat Users List' Subject: RE: Connecting Tomcat 4.1.12 with Apache 1.3 Thank you so much for getting back to me about that. I have just been trying to read up on the mod_jk, and was hoping there was another option. I do have one more question though related to running JSP with Tomcat. If I make my entire form JSP, and run from within Tomcat, and after it communicates with the payment server, an updated JSP page will be displayed (depending on the data received from the bank). Would I still have to make the connection between Apache and Tomcat? It would basically be a link from my website to the form, which will be JSP. I put up a dummy page and had a link to one of the example JSP that came with Tomcat. The link worked Ok, and the servlet ran fine. Thanks again! Denise Mangano Help Desk Analyst Complus Data Innovations, Inc. -Original Message- From: Jerry Ford [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 3:39 PM To: Tomcat Users List Subject: Re: Connecting Tomcat 4.1.12 with Apache 1.3 BTW, the configuration lines that go in httpd.conf for webapp are entirely different than what is required for mod_jk. They serve the same function, but they are entirely different connectors. It will take some reading to make the transition. Jerry Jerry Ford wrote: Denise: I have just got my Apache 1.3.27/Tomcat 4.1.12 connection to work. Answers to your questions are yes, and yes. You need a connector between them, and mod_jk.so is one such connector. However, I had a devil of a time locating any connector on the apache.org website, and I never was able to make mod_jk work (I tried using the version that did work with my Tomcat 3.2 installation, but it did not work with 4.1 and I was not able to locate mod_jk---any version---on the apache website in order to rebuild). I ended up using mod_webapp.so, which is another connector. It's located in the jakarta-tomcat-connectors-4.1.12-src.tar.gz, which you can download from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/sr c/ (the same directory as tomcat itself). When you unpack it, look for README.txt in the webapp directory. It will tell you how to build the connector from CVS. Follow the directions in the readme. They're clear, straightforward, and the build process was smooth and routine, for me at least. Jerry http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/s rc/jakarta-tomcat-connectors-4.1.12-src.tar.gz Denise Mangano wrote: Hi all, I am fairly new to using Apache / Tomcat. I currently have my website set up in Apache, running in the /var/html directory. I have installed Tomcat because I have a form page (HTML) that I want to run a servlet with to process a credit card payment with an outside payment processor. I have seen some instances that people have stated I have to do some special configuration in order to use both Apache and Tomcat together. Is this so? If so, then are there any good resources for this? Perhaps using JSP for the form will be better because I want a custom page to display depending on what error message will come back from the payment engine. If that is the case then wouldn't I need the connection between Apache
Re: Connecting Tomcat 4.1.12 with Apache 1.3
Denise: You do not need SSL unless you want SSL. Tomcat works just fine without it, both as a standalone and as an Apache extension. But I don't know what the answer is if your Apache server is already configured for SSL. You're operating outside of my comfort zone. :) I don't use SSL. You need Tomcat (whether through Apache or standalone) in order to access the JSP. Just going to the JSP through http:// without a Java engine (a.k.a. Tomcat) won't work. Jerry Denise Mangano wrote: Just an after thought here... Even though I can access the JSP from my web site in Apache, I just tried to access it through the https:// protocol. It just hung and did not load. Do I have to configure something in Tomcat to allow for SSL connection to the JSP's? I am looking at Jakarta's site and it is saying that when using Tomcat as a standalone server, SSL has to be configured. But when running Tomcat primarily as a Servlet/JSP container behind another web server, such as Apache the SSL is configured on the web server, which it is (I already have a certificate). What am I missing? The only time I will need to access Tomcat from my web site is over a secure connection. Sorry for the trivial questions, as I said I'm new to this. Thanks in advance, Denise Mangano Help Desk Analyst Complus Data Innovations, Inc. -Original Message- From: Denise Mangano [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 4:29 PM To: 'Tomcat Users List' Subject: RE: Connecting Tomcat 4.1.12 with Apache 1.3 Thank you so much for getting back to me about that. I have just been trying to read up on the mod_jk, and was hoping there was another option. I do have one more question though related to running JSP with Tomcat. If I make my entire form JSP, and run from within Tomcat, and after it communicates with the payment server, an updated JSP page will be displayed (depending on the data received from the bank). Would I still have to make the connection between Apache and Tomcat? It would basically be a link from my website to the form, which will be JSP. I put up a dummy page and had a link to one of the example JSP that came with Tomcat. The link worked Ok, and the servlet ran fine. Thanks again! Denise Mangano Help Desk Analyst Complus Data Innovations, Inc. -Original Message- From: Jerry Ford [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 3:39 PM To: Tomcat Users List Subject: Re: Connecting Tomcat 4.1.12 with Apache 1.3 BTW, the configuration lines that go in httpd.conf for webapp are entirely different than what is required for mod_jk. They serve the same function, but they are entirely different connectors. It will take some reading to make the transition. Jerry Jerry Ford wrote: Denise: I have just got my Apache 1.3.27/Tomcat 4.1.12 connection to work. Answers to your questions are yes, and yes. You need a connector between them, and mod_jk.so is one such connector. However, I had a devil of a time locating any connector on the apache.org website, and I never was able to make mod_jk work (I tried using the version that did work with my Tomcat 3.2 installation, but it did not work with 4.1 and I was not able to locate mod_jk---any version---on the apache website in order to rebuild). I ended up using mod_webapp.so, which is another connector. It's located in the jakarta-tomcat-connectors-4.1.12-src.tar.gz, which you can download from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/sr c/ (the same directory as tomcat itself). When you unpack it, look for README.txt in the webapp directory. It will tell you how to build the connector from CVS. Follow the directions in the readme. They're clear, straightforward, and the build process was smooth and routine, for me at least. Jerry http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/s rc/jakarta-tomcat-connectors-4.1.12-src.tar.gz Denise Mangano wrote: Hi all, I am fairly new to using Apache / Tomcat. I currently have my website set up in Apache, running in the /var/html directory. I have installed Tomcat because I have a form page (HTML) that I want to run a servlet with to process a credit card payment with an outside payment processor. I have seen some instances that people have stated I have to do some special configuration in order to use both Apache and Tomcat together. Is this so? If so, then are there any good resources for this? Perhaps using JSP for the form will be better because I want a custom page to display depending on what error message will come back from the payment engine. If that is the case then wouldn't I need the connection between Apache and Tomcat? (the images I will need for the JSP page is stored in apache web directory as well). Is this the mod_jk plug in? (I am running RedHat Linux 7.3) Thanks in advance! Denise Mangano Help Desk Analyst Complus Data Innovations, Inc. -- To unsubscribe, e-mail