Connecting Apache and Tomcat
Evening all, I'm trying to connect tomcat to apache using redhat 9, freshly installed from CDs and have not been updated via the redhat network or anywhere else. I'm following a tutorial found at http://www.meritonlinesystems.com/docs/apache_tomcat_redhat.html . I have kept everything the same as the tutorial, even used the same version of tomcat so as not to make any mistakes. Currently I have tomcat and apache running perfectly as standalones. I am stuck at the 3.6 Building the mod_jk Connector part. it says: Run the buildconf script to to create the CONN_SRC_HOME/jk/native/configure file. CONN_SRC_HOME/jk/native/buildconf.sh when I type that in I get No such file or directory, even thoughthe file is located in the same directory as the tutorial. I thentried changing directory to native then running ./buildconf.shI got this:[EMAIL PROTECTED] native]# ./buildconf.shlibtoolize --force --automake --copy./buildconf.sh: line 4: libtoolize: command not foundaclocal./buildconf.sh: line 8: aclocal: command not foundautomake -a --foreign -i --copy./buildconf.sh: line 10: automake: command not foundautoconf./buildconf.sh: line 12: autoconf: command not [EMAIL PROTECTED] native]#How can I fix this?According to this site http://gfft.com/howtos/tomcat.php; I will need to install httpd-devel, so I downloaded:httpd-devel-2.0.40-21.9.i386.rpm and did rpm -ivh httpd-devel-2.0.40-21.9.i386.rpmthis produced:[EMAIL PROTECTED] downloads]# rpm -ivh httpd-devel-2.0.40-21.9.i386.rpmwarning: httpd-devel-2.0.40-21.9.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60eerror: Failed dependencies:libtool is needed by [EMAIL PROTECTED] downloads]#So I downloaded libtool and did rpm -ivh libtool-1.5-8.src.rpm and I got this:[EMAIL PROTECTED] downloads]# rpm -ivh libtool-1.5-8.src.rpmerror: libtool-1.5-8.src.rpm: V3 DSA signature: BAD, key ID 4f2a6fd2error: libtool-1.5-8.src.rpm cannot be [EMAIL PROTECTED] downloads]#I don't have a clue if I'm doing the right thing here. There are different versionsof the libtool and httpd-devel files, so which ones do I install?I did ls -l at the prompt and got for buildconf.sh:-rwxr-xr-x1 154 wheel 295 May 28 2002 buildconf.shWhy does this say wheel? I certainly don't have a user called wheel.If anyone can help me sort this out I'd really appreciate it. I'm a bit lost.Cheers,Graeme :)
Re: Connecting Apache and Tomcat on AIX 5.1
Hello, based on the lack of response, I guess I'm forging new ground building on AIX 5.1? Sigh, lucky me Please help me verify I'm heading in the right direction -- here's what I've done already: (1) I've built Apache 2.0.49 from httpd-2.0.49.tar.gz via the standard procedure, including: ./configure --enable-usertrack --enable-ssl --enable-so. (2) Then I installed ant from apache-ant-1.6.1.tar.gz. (3) I then installed Tomcat 4.1.30 via jakarta-tomcat-4.1.30.tar.gz. Here's what I plan to do next: (4) Build the mod_jk2.so connector via jakarta-tomcat-connectors-jk2-src-current.tar.gz. (5) Configure Apache 2.0.49 to use mod_jk2.so. Hopefully this all works -- and then I can also post the binaries back to the Apache/Jakarta websites. Thanks, DaveG David Goldschmidt wrote: Hello. Has anyone successfully connected Apache 2.0.49 and Tomcat 4.1.30 via mod_jk2.so under AIX 5.1? I've been unable to compile mod_jk2.so, though I've got Apache and Tomcat running in standalone modes. And I see no binaries anywhere on the Web. Any help (or URLs with AIX binaries) would be much appreciated. Thanks, DaveG - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Connecting Apache and Tomcat on AIX 5.1
Hello. Has anyone successfully connected Apache 2.0.49 and Tomcat 4.1.30 via mod_jk2.so under AIX 5.1? I've been unable to compile mod_jk2.so, though I've got Apache and Tomcat running in standalone modes. And I see no binaries anywhere on the Web. Any help (or URLs with AIX binaries) would be much appreciated. Thanks, DaveG - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Looking for a HOW-TO for connecting apache to tomcat 5
Can anyone send me a link for any info on this. Nathan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Looking for a HOW-TO for connecting apache to tomcat 5
Hi, Can anyone send me a link for any info on this. http://wiki.apache.org/jakarta-tomcat/Tomcat_2fLinks Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Connecting Apache and Tomcat
Someone on this planet surely has gotten this to work. I have found 4 sites with instructions, all 4 have vastly different instructions, and none of them work, at least on my system. I am running Fedora Core 1, Apache 2.0.47 and Tomcat 5.0.19. I've tried a pre-compiled connector. I've tried compiling it myself. Nothing works. The last setup I tried was the instruction found at www.greenfieldresearch.ca/technical/jk2_config.html. Those also seemed to be the simplest instructions. I have gotten different errors, but this setup from the site above gives me an error about a possible misconfiguration. Other setups have given me a 503 Service Unavailable error. My files are exactly as suggested on the site above. Any suggestions or ideas are welcome. Thanks, Karl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Connecting Apache and Tomcat
Hi, I am running Fedora Core 1, Apache 2.0.47 and Tomcat 5.0.19. I've tried a pre-compiled connector. I've tried compiling it myself. Nothing works. The last setup I tried was the instruction found at www.greenfieldresearch.ca/technical/jk2_config.html. That page clearly says at the top the instructions were tested with tomcat 4.1, not 5.x. There are significant differences between the tomcat branches. See http://wiki.apache.org/jakarta-tomcat/Tomcat_2fLinks for a list of references, including a great one specific to your environment at http://wiki.apache.org/jakarta-tomcat/Tomcat_2fLinks. FYI, you'll need to do better than Nothing works in order to get specific help. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Connecting Apache and Tomcat
Try this one http://www.connecties.com/cymulacrum/tomcat5/book1.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 30 March 2004 17:26 To: [EMAIL PROTECTED] Subject: Connecting Apache and Tomcat Someone on this planet surely has gotten this to work. I have found 4 sites with instructions, all 4 have vastly different instructions, and none of them work, at least on my system. I am running Fedora Core 1, Apache 2.0.47 and Tomcat 5.0.19. I've tried a pre-compiled connector. I've tried compiling it myself. Nothing works. The last setup I tried was the instruction found at www.greenfieldresearch.ca/technical/jk2_config.html. Those also seemed to be the simplest instructions. I have gotten different errors, but this setup from the site above gives me an error about a possible misconfiguration. Other setups have given me a 503 Service Unavailable error. My files are exactly as suggested on the site above. Any suggestions or ideas are welcome. Thanks, Karl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Any opinions expressed in this E-mail may be those of the individual and not necessarily the company. This E-mail and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this E-mail in error and that any use or copying is strictly prohibited. If you have received this E-mail in error please notify the beCogent postmaster at [EMAIL PROTECTED] Unless expressly stated, opinions in this email are those of the individual sender and not beCogent Ltd. You must take full responsibility for virus checking this email and any attachments. Please note that the content of this email or any of its attachments may contain data that falls within the scope of the Data Protection Acts and that you must ensure that any handling or processing of such data by you is fully compliant with the terms and provisions of the Data Protection Act 1984 and 1998. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Connecting Apache and Tomcat
Hi, That's the one I meant to paste in my second link ;) Sometimes ctrl-c doesn't happen ;) Thanks, Yoav Shapira Millennium Research Informatics -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 11:31 AM To: Tomcat Users List Subject: RE: Connecting Apache and Tomcat Try this one http://www.connecties.com/cymulacrum/tomcat5/book1.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 30 March 2004 17:26 To: [EMAIL PROTECTED] Subject: Connecting Apache and Tomcat Someone on this planet surely has gotten this to work. I have found 4 sites with instructions, all 4 have vastly different instructions, and none of them work, at least on my system. I am running Fedora Core 1, Apache 2.0.47 and Tomcat 5.0.19. I've tried a pre-compiled connector. I've tried compiling it myself. Nothing works. The last setup I tried was the instruction found at www.greenfieldresearch.ca/technical/jk2_config.html. Those also seemed to be the simplest instructions. I have gotten different errors, but this setup from the site above gives me an error about a possible misconfiguration. Other setups have given me a 503 Service Unavailable error. My files are exactly as suggested on the site above. Any suggestions or ideas are welcome. Thanks, Karl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE: Connecting Apache and Tomcat
Thanks guys for the links. I will check them out. Sorry for the nothing works blast, but I am just very frustrated with this. Karl From: Shapira, Yoav [EMAIL PROTECTED] Date: 2004/03/30 Tue AM 10:36:26 CST To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Connecting Apache and Tomcat Hi, That's the one I meant to paste in my second link ;) Sometimes ctrl-c doesn't happen ;) Thanks, Yoav Shapira Millennium Research Informatics -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 11:31 AM To: Tomcat Users List Subject: RE: Connecting Apache and Tomcat Try this one http://www.connecties.com/cymulacrum/tomcat5/book1.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 30 March 2004 17:26 To: [EMAIL PROTECTED] Subject: Connecting Apache and Tomcat Someone on this planet surely has gotten this to work. I have found 4 sites with instructions, all 4 have vastly different instructions, and none of them work, at least on my system. I am running Fedora Core 1, Apache 2.0.47 and Tomcat 5.0.19. I've tried a pre-compiled connector. I've tried compiling it myself. Nothing works. The last setup I tried was the instruction found at www.greenfieldresearch.ca/technical/jk2_config.html. Those also seemed to be the simplest instructions. I have gotten different errors, but this setup from the site above gives me an error about a possible misconfiguration. Other setups have given me a 503 Service Unavailable error. My files are exactly as suggested on the site above. Any suggestions or ideas are welcome. Thanks, Karl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE: Connecting Apache and Tomcat
That's one I tried already. That setup is the one that gave me the 503 Service Not Available error. I will post the logs from Apache and Tomcat when I get a chance. Maybe that will help. Karl From: Dale, Matt [EMAIL PROTECTED] Date: 2004/03/30 Tue AM 10:30:34 CST To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Connecting Apache and Tomcat Try this one http://www.connecties.com/cymulacrum/tomcat5/book1.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 30 March 2004 17:26 To: [EMAIL PROTECTED] Subject: Connecting Apache and Tomcat Someone on this planet surely has gotten this to work. I have found 4 sites with instructions, all 4 have vastly different instructions, and none of them work, at least on my system. I am running Fedora Core 1, Apache 2.0.47 and Tomcat 5.0.19. I've tried a pre-compiled connector. I've tried compiling it myself. Nothing works. The last setup I tried was the instruction found at www.greenfieldresearch.ca/technical/jk2_config.html. Those also seemed to be the simplest instructions. I have gotten different errors, but this setup from the site above gives me an error about a possible misconfiguration. Other setups have given me a 503 Service Unavailable error. My files are exactly as suggested on the site above. Any suggestions or ideas are welcome. Thanks, Karl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Any opinions expressed in this E-mail may be those of the individual and not necessarily the company. This E-mail and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this E-mail in error and that any use or copying is strictly prohibited. If you have received this E-mail in error please notify the beCogent postmaster at [EMAIL PROTECTED] Unless expressly stated, opinions in this email are those of the individual sender and not beCogent Ltd. You must take full responsibility for virus checking this email and any attachments. Please note that the content of this email or any of its attachments may contain data that falls within the scope of the Data Protection Acts and that you must ensure that any handling or processing of such data by you is fully compliant with the terms and provisions of the Data Protection Act 1984 and 1998. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Connecting Apache and Tomcat
I have this working (Apache 2.0.47, Tomcat 5.0.19, mod_jk) under Mandrake 9.2. Post relevant configuations (httpd.conf, mod_jk worker files, etc., ...) and most definitely the exact log file messages. Also, the output of 'netstat -tlnp' (execute as root) would help show what ports are open and what processes are listening. --David [EMAIL PROTECTED] wrote: Someone on this planet surely has gotten this to work. I have found 4 sites with instructions, all 4 have vastly different instructions, and none of them work, at least on my system. I am running Fedora Core 1, Apache 2.0.47 and Tomcat 5.0.19. I've tried a pre-compiled connector. I've tried compiling it myself. Nothing works. The last setup I tried was the instruction found at www.greenfieldresearch.ca/technical/jk2_config.html. Those also seemed to be the simplest instructions. I have gotten different errors, but this setup from the site above gives me an error about a possible misconfiguration. Other setups have given me a 503 Service Unavailable error. My files are exactly as suggested on the site above. Any suggestions or ideas are welcome. Thanks, Karl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: RE: Connecting Apache and Tomcat
I've got Apache 2.0.49, Tomcat 5.0.19 and mod_jk 2.0.4 working out of process on W2K server. I can send config files if your interested. Contact me offline. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 8:45 AM To: Tomcat Users List Subject: Re: RE: Connecting Apache and Tomcat Thanks guys for the links. I will check them out. Sorry for the nothing works blast, but I am just very frustrated with this. Karl From: Shapira, Yoav [EMAIL PROTECTED] Date: 2004/03/30 Tue AM 10:36:26 CST To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Connecting Apache and Tomcat Hi, That's the one I meant to paste in my second link ;) Sometimes ctrl-c doesn't happen ;) Thanks, Yoav Shapira Millennium Research Informatics -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 11:31 AM To: Tomcat Users List Subject: RE: Connecting Apache and Tomcat Try this one http://www.connecties.com/cymulacrum/tomcat5/book1.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 30 March 2004 17:26 To: [EMAIL PROTECTED] Subject: Connecting Apache and Tomcat Someone on this planet surely has gotten this to work. I have found 4 sites with instructions, all 4 have vastly different instructions, and none of them work, at least on my system. I am running Fedora Core 1, Apache 2.0.47 and Tomcat 5.0.19. I've tried a pre-compiled connector. I've tried compiling it myself. Nothing works. The last setup I tried was the instruction found at www.greenfieldresearch.ca/technical/jk2_config.html. Those also seemed to be the simplest instructions. I have gotten different errors, but this setup from the site above gives me an error about a possible misconfiguration. Other setups have given me a 503 Service Unavailable error. My files are exactly as suggested on the site above. Any suggestions or ideas are welcome. Thanks, Karl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Connecting Apache and Tomcat
Please also state whether the individual componenents work, ie can you see static pages in apache, can you access tomcat directly on port 8080 and obviously all the logs and config files. Ta Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 30 March 2004 17:52 To: Tomcat Users List Subject: Re: Connecting Apache and Tomcat That's one I tried already. That setup is the one that gave me the 503 Service Not Available error. I will post the logs from Apache and Tomcat when I get a chance. Maybe that will help. Karl From: Dale, Matt [EMAIL PROTECTED] Date: 2004/03/30 Tue AM 10:30:34 CST To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Connecting Apache and Tomcat Try this one http://www.connecties.com/cymulacrum/tomcat5/book1.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 30 March 2004 17:26 To: [EMAIL PROTECTED] Subject: Connecting Apache and Tomcat Someone on this planet surely has gotten this to work. I have found 4 sites with instructions, all 4 have vastly different instructions, and none of them work, at least on my system. I am running Fedora Core 1, Apache 2.0.47 and Tomcat 5.0.19. I've tried a pre-compiled connector. I've tried compiling it myself. Nothing works. The last setup I tried was the instruction found at www.greenfieldresearch.ca/technical/jk2_config.html. Those also seemed to be the simplest instructions. I have gotten different errors, but this setup from the site above gives me an error about a possible misconfiguration. Other setups have given me a 503 Service Unavailable error. My files are exactly as suggested on the site above. Any suggestions or ideas are welcome. Thanks, Karl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Any opinions expressed in this E-mail may be those of the individual and not necessarily the company. This E-mail and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this E-mail in error and that any use or copying is strictly prohibited. If you have received this E-mail in error please notify the beCogent postmaster at [EMAIL PROTECTED] Unless expressly stated, opinions in this email are those of the individual sender and not beCogent Ltd. You must take full responsibility for virus checking this email and any attachments. Please note that the content of this email or any of its attachments may contain data that falls within the scope of the Data Protection Acts and that you must ensure that any handling or processing of such data by you is fully compliant with the terms and provisions of the Data Protection Act 1984 and 1998. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE: Connecting Apache and Tomcat
SUCCESS! I made one little change and it works now. Bother jsp-examples and servlets-examples apps run. The change was adding the PROTOCOL property to the connector on port 8009 in the server.xml. I added protocol=AJP/1.3, restarted both Tomcat and Apache, and it worked!! Here's what my Connector looks like: Connector port=8009 enableLookups=false redirectPort=8443 debug=0 protocol=AJP/1.3 / Thanks to all who responded. Karl From: [EMAIL PROTECTED] Date: 2004/03/30 Tue AM 10:52:28 CST To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: RE: Connecting Apache and Tomcat That's one I tried already. That setup is the one that gave me the 503 Service Not Available error. I will post the logs from Apache and Tomcat when I get a chance. Maybe that will help. Karl From: Dale, Matt [EMAIL PROTECTED] Date: 2004/03/30 Tue AM 10:30:34 CST To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Connecting Apache and Tomcat Try this one http://www.connecties.com/cymulacrum/tomcat5/book1.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 30 March 2004 17:26 To: [EMAIL PROTECTED] Subject: Connecting Apache and Tomcat Someone on this planet surely has gotten this to work. I have found 4 sites with instructions, all 4 have vastly different instructions, and none of them work, at least on my system. I am running Fedora Core 1, Apache 2.0.47 and Tomcat 5.0.19. I've tried a pre-compiled connector. I've tried compiling it myself. Nothing works. The last setup I tried was the instruction found at www.greenfieldresearch.ca/technical/jk2_config.html. Those also seemed to be the simplest instructions. I have gotten different errors, but this setup from the site above gives me an error about a possible misconfiguration. Other setups have given me a 503 Service Unavailable error. My files are exactly as suggested on the site above. Any suggestions or ideas are welcome. Thanks, Karl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Any opinions expressed in this E-mail may be those of the individual and not necessarily the company. This E-mail and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this E-mail in error and that any use or copying is strictly prohibited. If you have received this E-mail in error please notify the beCogent postmaster at [EMAIL PROTECTED] Unless expressly stated, opinions in this email are those of the individual sender and not beCogent Ltd. You must take full responsibility for virus checking this email and any attachments. Please note that the content of this email or any of its attachments may contain data that falls within the scope of the Data Protection Acts and that you must ensure that any handling or processing of such data by you is fully compliant with the terms and provisions of the Data Protection Act 1984 and 1998. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: RE: Connecting Apache and Tomcat
Hi, Great! ;) You mean you followed the information as provided at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/ajp.html? You might want to email to authors of the various documents that you tried without success previously to let them know of this. Hopefully they'll update their docs and other users will be spared the hassles you went through. Yoav Shapira Millennium Research Informatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 3:56 PM To: Tomcat Users List Subject: Re: RE: Connecting Apache and Tomcat SUCCESS! I made one little change and it works now. Bother jsp-examples and servlets-examples apps run. The change was adding the PROTOCOL property to the connector on port 8009 in the server.xml. I added protocol=AJP/1.3, restarted both Tomcat and Apache, and it worked!! Here's what my Connector looks like: Connector port=8009 enableLookups=false redirectPort=8443 debug=0 protocol=AJP/1.3 / Thanks to all who responded. Karl From: [EMAIL PROTECTED] Date: 2004/03/30 Tue AM 10:52:28 CST To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: RE: Connecting Apache and Tomcat That's one I tried already. That setup is the one that gave me the 503 Service Not Available error. I will post the logs from Apache and Tomcat when I get a chance. Maybe that will help. Karl From: Dale, Matt [EMAIL PROTECTED] Date: 2004/03/30 Tue AM 10:30:34 CST To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Connecting Apache and Tomcat Try this one http://www.connecties.com/cymulacrum/tomcat5/book1.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 30 March 2004 17:26 To: [EMAIL PROTECTED] Subject: Connecting Apache and Tomcat Someone on this planet surely has gotten this to work. I have found 4 sites with instructions, all 4 have vastly different instructions, and none of them work, at least on my system. I am running Fedora Core 1, Apache 2.0.47 and Tomcat 5.0.19. I've tried a pre-compiled connector. I've tried compiling it myself. Nothing works. The last setup I tried was the instruction found at www.greenfieldresearch.ca/technical/jk2_config.html. Those also seemed to be the simplest instructions. I have gotten different errors, but this setup from the site above gives me an error about a possible misconfiguration. Other setups have given me a 503 Service Unavailable error. My files are exactly as suggested on the site above. Any suggestions or ideas are welcome. Thanks, Karl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: RE: Connecting Apache and Tomcat
Awesome.. I had some trouble understanding the documentation at the Jakarta site as well. So far I've been successful using http://www.connecties.com/cymulacrum/tomcat5/book1.html and it seems pretty cut and dry.. no fancy stuff. Thanks for the reply... Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 3:56 PM To: Tomcat Users List Subject: Re: RE: Connecting Apache and Tomcat SUCCESS! I made one little change and it works now. Bother jsp-examples and servlets-examples apps run. The change was adding the PROTOCOL property to the connector on port 8009 in the server.xml. I added protocol=AJP/1.3, restarted both Tomcat and Apache, and it worked!! Here's what my Connector looks like: Connector port=8009 enableLookups=false redirectPort=8443 debug=0 protocol=AJP/1.3 / Thanks to all who responded. Karl From: [EMAIL PROTECTED] Date: 2004/03/30 Tue AM 10:52:28 CST To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: RE: Connecting Apache and Tomcat That's one I tried already. That setup is the one that gave me the 503 Service Not Available error. I will post the logs from Apache and Tomcat when I get a chance. Maybe that will help. Karl From: Dale, Matt [EMAIL PROTECTED] Date: 2004/03/30 Tue AM 10:30:34 CST To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Connecting Apache and Tomcat Try this one http://www.connecties.com/cymulacrum/tomcat5/book1.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 30 March 2004 17:26 To: [EMAIL PROTECTED] Subject: Connecting Apache and Tomcat Someone on this planet surely has gotten this to work. I have found 4 sites with instructions, all 4 have vastly different instructions, and none of them work, at least on my system. I am running Fedora Core 1, Apache 2.0.47 and Tomcat 5.0.19. I've tried a pre-compiled connector. I've tried compiling it myself. Nothing works. The last setup I tried was the instruction found at www.greenfieldresearch.ca/technical/jk2_config.html. Those also seemed to be the simplest instructions. I have gotten different errors, but this setup from the site above gives me an error about a possible misconfiguration. Other setups have given me a 503 Service Unavailable error. My files are exactly as suggested on the site above. Any suggestions or ideas are welcome. Thanks, Karl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: RE: Connecting Apache and Tomcat
Hi, Awesome.. I had some trouble understanding the documentation at the Jakarta site as well. If you provide more details, or better yet modified docs, we'd be glad to incorporate them. In this case, the change Senor Coleman did and the Connector element he ended up with are not only exactly as described in the Connector configuration reference docs, but also exactly the same as the sample Apache-Tomcat connector provided in the out-of-the-box server.xml... Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: RE: Connecting Apache and Tomcat
Yes. Very strange to come full circle. The instructions at the Greenfield Research site I mentioned previously did not have the PROTOCOL attribute. I guess I just forgot to put it back in when I went to try something different. One of these days I will learn to backup config files before making major changes... Karl From: Shapira, Yoav [EMAIL PROTECTED] Date: 2004/03/30 Tue PM 03:12:21 CST To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: RE: Connecting Apache and Tomcat Hi, Awesome.. I had some trouble understanding the documentation at the Jakarta site as well. If you provide more details, or better yet modified docs, we'd be glad to incorporate them. In this case, the change Senor Coleman did and the Connector element he ended up with are not only exactly as described in the Connector configuration reference docs, but also exactly the same as the sample Apache-Tomcat connector provided in the out-of-the-box server.xml... Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Question about connecting Apache (2.0.40), tomcat (4.1.10) on Windows 2000
Actually, the instructions available work for both UNIX and Windows, as long as you are able to translate paths. For example, if the instructions use /usr/local/apache, that translates (usually) to something like c:\apache on a Windows server. Other than that, and the need to use Winzip instead of tar, the instructions are pretty much the same...the configuration files such as workers.properties and server.xml and the necessary Apache httpd.conf directives are platform-independent. That said, you can get mod_jk.dll binaries from here: http://www.johnturner.com/howto and if you search the archives for posts last week, you will find posts from Robert Sowders with a very thorough list of pointers to HOWTOs for various platforms, including Windows 2000. John -Original Message- From: ric [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 22, 2002 5:45 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Question about connecting Apache (2.0.40), tomcat (4.1.10) on Windows 2000 I have installed and configured apache (2.0.40)(it's currently hosting two URLs) and tomcat 4.1.10 on a windows 2000 advance server machine. Each, by themselves, are up and running. I am trying to integrate tomcat into the apache server and have failed. Has anyone done this and could you share the procedure (and configuration files). I am new to these servers and most of the documentation assumes Unix and I don't know how to convert what I am reading into what is necessary for a windows machine. Thanks for any help. ric ( ric @ garlic.com) PS I am currently not prepared to compile either server and am using straight binaries. -- 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]
Question about connecting Apache (2.0.40), tomcat (4.1.10) on Windows2000
I have installed and configured apache (2.0.40)(it's currently hosting two URLs) and tomcat 4.1.10 on a windows 2000 advance server machine. Each, by themselves, are up and running. I am trying to integrate tomcat into the apache server and have failed. Has anyone done this and could you share the procedure (and configuration files). I am new to these servers and most of the documentation assumes Unix and I don't know how to convert what I am reading into what is necessary for a windows machine. Thanks for any help. ric ( ric @ garlic.com) PS I am currently not prepared to compile either server and am using straight binaries. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
connecting apache to tomcat
i know this probably has been asked and answered many times before, but i did look through the documentation and the mail archive. and unfortunately, i am more lost than when i started. here is my situation: i have one server using apache webserver. and a separate machine using tomcat 4.0.something. how can i configure the apache webserver to send request for jsps and servlets to the tomcat server? i have read about mod_jk or mod_webapps, where do i get the modules as they don't seem to be on my servers. and is there documentation that i can read? Peter -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Problem in connecting apache and tomcat on different hosts
hi all, I have a problem here.. I have apache 1.3 on 1 machine and tomcat 3.2.3 on another machine. how do i make them talk to each other. where and what do i configure in apache so that it talks to tomcat on another host. if they are on the same machine then it works fine... Thanks in advance... Regards, Eswat
Re: Problem in connecting apache and tomcat on different hosts
think it has something to do with bindaddress in your tomcat properties file. experiment! Eswar.K wrote: hi all, I have a problem here.. I have apache 1.3 on 1 machine and tomcat 3.2.3 on another machine. how do i make them talk to each other. where and what do i configure in apache so that it talks to tomcat on another host. if they are on the same machine then it works fine... Thanks in advance... Regards, Eswat -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Connecting Apache to Tomcat
Hi, I have conectiva linux 7.0 (kernel 2.4.5), apache 1.3.19 and Tomacat 4.0.1 Tomcat are working well with the url: http://Myserv:tomcat_port/examples/jsp/index.html But when I try to access this application from Apache with the URL: http://Myserv/examples/jsp/index.html I receive the message in my browser: Forbidden You don't have permission to access /examples/jsp/index.html on this server. The corresponding entries in the Apache logs are: httpd/logs/access.log: GET /examples/jsp/index.html HTTP/1.0 403 301 httpd/logs/error.log: [error] [client xxx.xxx.xxx.x] (2)No such file or directory: cannot read directory for multi: /examples/jsp/ There is no entry in the Tomcat logs which looks like that Apache is not even trying to connect to Tomcat. My configuration files are: httpd.com . ServerName myServer ServerType standalone ServerRoot /etc/httpd .. LoadModule LoadModule webapp_module libexec/mod_webapp-1.0-eapi.so .. AddModule AddModule mod_webapp.c .. DocumentRoot /home/myDocs .. WebAppConnection Tomcat_Apache warp localhost:8008 WebAppDeploy examples Tomcat_Apache /examples/ server.xml . Service name=Tomcat_Apache Connector className=org.apache.catalina.connector.warp.WarpConnector port=8008 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0/ !-- Replace localhost with what your Apache ServerName is set to -- Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache defaultHost=myServer debug=0 appBase=webapps . /Engine /Service Anyone has any idea what could be the problem? Thanks. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
AW: Connecting Apache to Tomcat
hi, i have no defaultHost Parameter in my config everything else ist the same - so i have no more idea - Sorry... Are you sure that apache ist running correctly??? try http://yourApacheServer there must be a standard site: apacheWebServer is running... perhaps you have to look for the file/folder permissions for the /examples folder hope this helps you a little... Lars. Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache debug=0 appBase=webapps -Ursprungliche Nachricht- Von: Cleber Hostalacio de Melo [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 29. Januar 2002 16:45 An: [EMAIL PROTECTED] Betreff: Connecting Apache to Tomcat Hi, I have conectiva linux 7.0 (kernel 2.4.5), apache 1.3.19 and Tomacat 4.0.1 Tomcat are working well with the url: http://Myserv:tomcat_port/examples/jsp/index.html But when I try to access this application from Apache with the URL: http://Myserv/examples/jsp/index.html I receive the message in my browser: Forbidden You don't have permission to access /examples/jsp/index.html on this server. The corresponding entries in the Apache logs are: httpd/logs/access.log: GET /examples/jsp/index.html HTTP/1.0 403 301 httpd/logs/error.log: [error] [client xxx.xxx.xxx.x] (2)No such file or directory: cannot read directory for multi: /examples/jsp/ There is no entry in the Tomcat logs which looks like that Apache is not even trying to connect to Tomcat. My configuration files are: httpd.com . ServerName myServer ServerType standalone ServerRoot /etc/httpd .. LoadModule LoadModule webapp_module libexec/mod_webapp-1.0-eapi.so .. AddModule AddModule mod_webapp.c .. DocumentRoot /home/myDocs .. WebAppConnection Tomcat_Apache warp localhost:8008 WebAppDeploy examples Tomcat_Apache /examples/ server.xml . Service name=Tomcat_Apache Connector className=org.apache.catalina.connector.warp.WarpConnector port=8008 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0/ !-- Replace localhost with what your Apache ServerName is set to -- Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache defaultHost=myServer debug=0 appBase=webapps . /Engine /Service Anyone has any idea what could be the problem? Thanks. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: AW: Connecting Apache to Tomcat
Thanks Lars. After your sugestion a tried to configure Apache with these directives: Directory /examples/jsp/ Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all /Directory But I did not suceed on that although I agree with you that it looks like some problem related to access control. If you have another sugestion, I´d appreciate. Cleber. lars_ake_gentz wrote: hi, i have no defaultHost Parameter in my config everything else ist the same - so i have no more idea - Sorry... Are you sure that apache ist running correctly??? try http://yourApacheServer there must be a standard site: apacheWebServer is running... perhaps you have to look for the file/folder permissions for the /examples folder hope this helps you a little... Lars. Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache debug=0 appBase=webapps -Ursprungliche Nachricht- Von: Cleber Hostalacio de Melo [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 29. Januar 2002 16:45 An: [EMAIL PROTECTED] Betreff: Connecting Apache to Tomcat Hi, I have conectiva linux 7.0 (kernel 2.4.5), apache 1.3.19 and Tomacat 4.0.1 Tomcat are working well with the url: http://Myserv:tomcat_port/examples/jsp/index.html But when I try to access this application from Apache with the URL: http://Myserv/examples/jsp/index.html I receive the message in my browser: Forbidden You don't have permission to access /examples/jsp/index.html on this server. The corresponding entries in the Apache logs are: httpd/logs/access.log: GET /examples/jsp/index.html HTTP/1.0 403 301 httpd/logs/error.log: [error] [client xxx.xxx.xxx.x] (2)No such file or directory: cannot read directory for multi: /examples/jsp/ There is no entry in the Tomcat logs which looks like that Apache is not even trying to connect to Tomcat. My configuration files are: httpd.com . ServerName myServer ServerType standalone ServerRoot /etc/httpd .. LoadModule LoadModule webapp_module libexec/mod_webapp-1.0-eapi.so .. AddModule AddModule mod_webapp.c .. DocumentRoot /home/myDocs .. WebAppConnection Tomcat_Apache warp localhost:8008 WebAppDeploy examples Tomcat_Apache /examples/ server.xml . Service name=Tomcat_Apache Connector className=org.apache.catalina.connector.warp.WarpConnector port=8008 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0/ !-- Replace localhost with what your Apache ServerName is set to -- Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache defaultHost=myServer debug=0 appBase=webapps . /Engine /Service Anyone has any idea what could be the problem? Thanks. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Connecting Apache and Tomcat
I am having difficulty finding either mod_jk or mod_webapp to connect Apache 1.3.x to Tomcat 4.1. If anybody could send a URL or info I would greatly appreciate it. Regards Charles Horan -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Connecting Apache and Tomcat
I am having difficulty finding either mod_jk or mod_webapp to connect Apache 1.3.x to Tomcat 4.1. If anybody could send a URL or info I would greatly appreciate it. Do you mean 4.0.1? I'm not aware there was a 4.1 yet. If you need the 4.0 mod webapp check under(I believe): http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0/bin/ Haven't checked the link in a while but I believe that's where it is. --- Michael Wentzel Software Developer Software As We Think - http://www.aswethink.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Connecting Apache and Tomcat
Just looked and found the 4.0.1 webapp link: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/bin/win32/ Dennis -Original Message- From: wentzel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 1:42 PM To: tomcat-user Subject: RE: Connecting Apache and Tomcat I am having difficulty finding either mod_jk or mod_webapp to connect Apache 1.3.x to Tomcat 4.1. If anybody could send a URL or info I would greatly appreciate it. Do you mean 4.0.1? I'm not aware there was a 4.1 yet. If you need the 4.0 mod webapp check under(I believe): http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0/bin/ Haven't checked the link in a while but I believe that's where it is. --- Michael Wentzel Software Developer Software As We Think - http://www.aswethink.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Trouble connecting Apache 1.3 Tomcat 4 w/ mod_webApp for window NT
Try turning off image display in your browser preferences. If the pages then work, the problem is an unresolved one with mod_webpp. You can search the archive for nightly snapshot and you should find a link to the latest version of the source, which may have fixed this by now, but the last time I tried the same problem persisted. This problem is apparently not universal, since a coworker is using the same conf files and build of tomcat, apache, and mod_webapp on his machine and things work smoothly. Geoff -Original Message- From: Lin, Zhongwu [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 15, 2001 10:41 PM To: 'Tomcat Users List' Subject: Trouble connecting Apache 1.3 Tomcat 4 w/ mod_webApp for window NT I can't make Apache 1.3 Tomcat 4 w/ mod_webApp to work. This is what I do(follow install guide): 1) copy mod_webapp.so and libapr.dll to directory apache install dir \modules 2)edit httpd.conf like this ServerName localhost LoadModule webapp_module modules/mod_webapp.so WebAppConnection conn warp localhost:8008 WebAppDeploy examples conn /examples 3) my tomcat 4 has server.xml like this: !-- Define an Apache-Connector Service -- Service name=Tomcat-Apache Connector className=org.apache.catalina.connector.warp.WarpConnector port=8008 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0/ !-- Replace localhost with what your Apache ServerName is set to -- Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache defaultHost=localhost debug=0 appBase=webapps !-- Global logger unless overridden at lower levels -- Logger className=org.apache.catalina.logger.FileLogger prefix=apache_log. suffix=.txt timestamp=true/ !-- Because this Realm is here, an instance will be shared globally -- Realm className=org.apache.catalina.realm.MemoryRealm / /Engine /Service 4) start tomcat 4 and then apache, I can see apache home on port 80 and tomcat home on port 8080 like this http://localhost/ http://localhost:8080 http://localhost:8080/examples but the following http://localhost/examples give me error of page not found any idea why any help would be greatly appreciated John -Original Message- From: David Smith [SMTP:[EMAIL PROTECTED]] Sent: Thursday, November 15, 2001 4:04 PM To: Tomcat Users List Subject: Re: Trouble connecting Apache 1.3 Tomcat 4 w/ mod_webApp I'm guessing you changed the port for the Connector statement in the Tomcat-Apache service of server.xml to 9090? If so, that's correct. If not, try using 8008 instead. The second WebAppConnection line isn't needed unless it's connecting to a different machine and/or port. The way your config is below, there should only be one with both WebAppDeploy lines referencing it. This might be the source of your error. Good luck and hope this helps some. --David Smith On Thursday 15 November 2001 12:09 pm, you wrote: FreeBSD, Tomcat 4, Apache 1.3.19 Here's my config; Alias /myapp /usr/local/jakarta-tomcat-4.0/webapps/myapp/ WebAppConnection tomcat4 warp localhost:9090 WebAppDeploy myapp tomcat4 /myapp WebAppConnection conn warp localhost:9090 WebAppDeploy examples conn /examples Here's the result from the apache error log; [Thu Nov 15 10:40:00 2001] [error] Cannot receive handshake WARP packet [Thu Nov 15 10:40:00 2001] [error] Cannot read packet (pr_warp_config.c:139) [Thu Nov 15 10:40:00 2001] [error] Cannot configure connection tomcat4 [Thu Nov 15 10:40:00 2001] [error] Cannot receive handshake WARP packet [Thu Nov 15 10:40:00 2001] [error] Cannot read packet (pr_warp_config.c:139) [Thu Nov 15 10:40:00 2001] [error] Cannot configure connection tomcat4 Might this be an error with compiling? -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Trouble connecting Apache 1.3 Tomcat 4 w/ mod_webApp
FreeBSD, Tomcat 4, Apache 1.3.19 Here's my config; Alias /myapp /usr/local/jakarta-tomcat-4.0/webapps/myapp/ WebAppConnection tomcat4 warp localhost:9090 WebAppDeploy myapp tomcat4 /myapp WebAppConnection conn warp localhost:9090 WebAppDeploy examples conn /examples Here's the result from the apache error log; [Thu Nov 15 10:40:00 2001] [error] Cannot receive handshake WARP packet [Thu Nov 15 10:40:00 2001] [error] Cannot read packet (pr_warp_config.c:139) [Thu Nov 15 10:40:00 2001] [error] Cannot configure connection tomcat4 [Thu Nov 15 10:40:00 2001] [error] Cannot receive handshake WARP packet [Thu Nov 15 10:40:00 2001] [error] Cannot read packet (pr_warp_config.c:139) [Thu Nov 15 10:40:00 2001] [error] Cannot configure connection tomcat4 Might this be an error with compiling? -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Trouble connecting Apache 1.3 Tomcat 4 w/ mod_webApp
Alias /myapp /usr/local/jakarta-tomcat-4.0/webapps/myapp/\ What is the appBase (for the Apache-Tomcat service) specified in the Tomcat server.xml file? WebAppConnection tomcat4 warp localhost:9090 WebAppConnection warpConnection warp localhost:9090 WebAppDeploy myapp tomcat4 /myapp WebAppDeploy myapp warpConnection /myapp WebAppConnection warp localhost:9090 ... is this a different appBase (defined in tomcat's server.xml) than the first connection? WebAppDeploy examples conn /examples WebAppDeploy examples warpConnection /examples msg37085/bin0.bin Description: application/ms-tnef -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Trouble connecting Apache 1.3 Tomcat 4 w/ mod_webApp
I'm guessing you changed the port for the Connector statement in the Tomcat-Apache service of server.xml to 9090? If so, that's correct. If not, try using 8008 instead. The second WebAppConnection line isn't needed unless it's connecting to a different machine and/or port. The way your config is below, there should only be one with both WebAppDeploy lines referencing it. This might be the source of your error. Good luck and hope this helps some. --David Smith On Thursday 15 November 2001 12:09 pm, you wrote: FreeBSD, Tomcat 4, Apache 1.3.19 Here's my config; Alias /myapp /usr/local/jakarta-tomcat-4.0/webapps/myapp/ WebAppConnection tomcat4 warp localhost:9090 WebAppDeploy myapp tomcat4 /myapp WebAppConnection conn warp localhost:9090 WebAppDeploy examples conn /examples Here's the result from the apache error log; [Thu Nov 15 10:40:00 2001] [error] Cannot receive handshake WARP packet [Thu Nov 15 10:40:00 2001] [error] Cannot read packet (pr_warp_config.c:139) [Thu Nov 15 10:40:00 2001] [error] Cannot configure connection tomcat4 [Thu Nov 15 10:40:00 2001] [error] Cannot receive handshake WARP packet [Thu Nov 15 10:40:00 2001] [error] Cannot read packet (pr_warp_config.c:139) [Thu Nov 15 10:40:00 2001] [error] Cannot configure connection tomcat4 Might this be an error with compiling? -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Trouble connecting Apache 1.3 Tomcat 4 w/ mod_webApp for window NT
I can't make Apache 1.3 Tomcat 4 w/ mod_webApp to work. This is what I do(follow install guide): 1) copy mod_webapp.so and libapr.dll to directory apache install dir \modules 2)edit httpd.conf like this ServerName localhost LoadModule webapp_module modules/mod_webapp.so WebAppConnection conn warp localhost:8008 WebAppDeploy examples conn /examples 3) my tomcat 4 has server.xml like this: !-- Define an Apache-Connector Service -- Service name=Tomcat-Apache Connector className=org.apache.catalina.connector.warp.WarpConnector port=8008 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0/ !-- Replace localhost with what your Apache ServerName is set to -- Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache defaultHost=localhost debug=0 appBase=webapps !-- Global logger unless overridden at lower levels -- Logger className=org.apache.catalina.logger.FileLogger prefix=apache_log. suffix=.txt timestamp=true/ !-- Because this Realm is here, an instance will be shared globally -- Realm className=org.apache.catalina.realm.MemoryRealm / /Engine /Service 4) start tomcat 4 and then apache, I can see apache home on port 80 and tomcat home on port 8080 like this http://localhost/ http://localhost:8080 http://localhost:8080/examples but the following http://localhost/examples give me error of page not found any idea why any help would be greatly appreciated John -Original Message- From: David Smith [SMTP:[EMAIL PROTECTED]] Sent: Thursday, November 15, 2001 4:04 PM To: Tomcat Users List Subject: Re: Trouble connecting Apache 1.3 Tomcat 4 w/ mod_webApp I'm guessing you changed the port for the Connector statement in the Tomcat-Apache service of server.xml to 9090? If so, that's correct. If not, try using 8008 instead. The second WebAppConnection line isn't needed unless it's connecting to a different machine and/or port. The way your config is below, there should only be one with both WebAppDeploy lines referencing it. This might be the source of your error. Good luck and hope this helps some. --David Smith On Thursday 15 November 2001 12:09 pm, you wrote: FreeBSD, Tomcat 4, Apache 1.3.19 Here's my config; Alias /myapp /usr/local/jakarta-tomcat-4.0/webapps/myapp/ WebAppConnection tomcat4 warp localhost:9090 WebAppDeploy myapp tomcat4 /myapp WebAppConnection conn warp localhost:9090 WebAppDeploy examples conn /examples Here's the result from the apache error log; [Thu Nov 15 10:40:00 2001] [error] Cannot receive handshake WARP packet [Thu Nov 15 10:40:00 2001] [error] Cannot read packet (pr_warp_config.c:139) [Thu Nov 15 10:40:00 2001] [error] Cannot configure connection tomcat4 [Thu Nov 15 10:40:00 2001] [error] Cannot receive handshake WARP packet [Thu Nov 15 10:40:00 2001] [error] Cannot read packet (pr_warp_config.c:139) [Thu Nov 15 10:40:00 2001] [error] Cannot configure connection tomcat4 Might this be an error with compiling? -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]