RE: TC Apache integration
Chuck I have been out of the loop for a while. My Tomcat 5 has been running great with apache 2 But are you saying that they have optimized Tomcat 5.5.9 and it does not make sense to use apache has the front end? Thanks RP -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Thursday, July 28, 2005 12:57 AM To: Tomcat Users List Subject: RE: TC Apache integration From: Paul Wallace [mailto:[EMAIL PROTECTED] Subject: TC Apache integration I am following the resource - http://jakarta.apache.org/tomcat/tomcat-3.2-doc/mod_jk-howto.html to try and achieve the above. I have added the line Include C:\dev\tomcat5\jakarta-tomcat-5.5.9\conf\jk\mod_jk.conf-auto to my httpd.conf file. I can't answer your questions, since, in general, Tomcat 5.5.9 has outgrown the need to be front-ended by httpd, so I don't use it. However, I do have a question for you: why would you think the 3.2 Tomcat doc has any relevance to the 5.5.9 release? Have you tried perusing the 5.5 doc? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - 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: TC Apache integration
I asked for that one. I still wish to integrate the two. Unless you are saying that TC 5.5 is as robust as Apache. If that is the case, where does that leave httpd? Paul. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Thursday, 28 July 2005 3:57 PM To: Tomcat Users List Subject: RE: TC Apache integration From: Paul Wallace [mailto:[EMAIL PROTECTED] Subject: TC Apache integration I am following the resource - http://jakarta.apache.org/tomcat/tomcat-3.2-doc/mod_jk-howto.html to try and achieve the above. I have added the line Include C:\dev\tomcat5\jakarta-tomcat-5.5.9\conf\jk\mod_jk.conf-auto to my httpd.conf file. I can't answer your questions, since, in general, Tomcat 5.5.9 has outgrown the need to be front-ended by httpd, so I don't use it. However, I do have a question for you: why would you think the 3.2 Tomcat doc has any relevance to the 5.5.9 release? Have you tried perusing the 5.5 doc? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: TC Apache integration
Randy, Can you point me towards to documentation to achieve this? Thanks Paul. I have been out of the loop for a while. My Tomcat 5 has been running great with apache 2 But are you saying that they have optimized Tomcat 5.5.9 and it does not make sense to use apache has the front end? Thanks RP -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Thursday, July 28, 2005 12:57 AM To: Tomcat Users List Subject: RE: TC Apache integration From: Paul Wallace [mailto:[EMAIL PROTECTED] Subject: TC Apache integration I am following the resource - http://jakarta.apache.org/tomcat/tomcat-3.2-doc/mod_jk-howto.html to try and achieve the above. I have added the line Include C:\dev\tomcat5\jakarta-tomcat-5.5.9\conf\jk\mod_jk.conf-auto to my httpd.conf file. I can't answer your questions, since, in general, Tomcat 5.5.9 has outgrown the need to be front-ended by httpd, so I don't use it. However, I do have a question for you: why would you think the 3.2 Tomcat doc has any relevance to the 5.5.9 release? Have you tried perusing the 5.5 doc? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - 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: TC Apache integration
From: Randy Paries [mailto:[EMAIL PROTECTED] Subject: RE: TC Apache integration But are you saying that they have optimized Tomcat 5.5.9 and it does not make sense to use apache has the front end? Unless your web site consists almost entirely of static content, then adding a front end will probably just slow things down (as well as making your life a lot more complex). Check out Peter Lin's performance testing from back in January: http://cvs.apache.org/~woolfel/benchmark_summary.doc http://cvs.apache.org/~woolfel/benchmark_summary.sxw http://cvs.apache.org/~woolfel/tc_results.html There are other reasons for using httpd (such as a poor-man's load balancer for a Tomcat cluster), but serving static content isn't really one of them anymore. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: TC Apache integration
From: Paul Wallace [mailto:[EMAIL PROTECTED] Subject: RE: TC Apache integration Unless you are saying that TC 5.5 is as robust as Apache. I have difficulty conceiving of a situation where adding non-redundant componentry can improve robustness. I suppose it's theoretically possible, but, in general, adding complexity pretty much always degrades mean-time-to-failure. If that is the case, where does that leave httpd? Load balancing, routing, possibly a more familiar security configuration (not necessarily better, just better known), and of course, a fast basic web server. CGI and PHP should be more efficient with httpd - it all depends on what your predominant traffic is along with other site-specific requirements. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: TC Apache integration
You highlighted my reasons for wanting to integrate Apache in your previous email. I wish to make use of the robustness and performance of the Apache server, because the majority of my content is static content, and for all I know - a lot of it. I am bringing Tomcat in to the picture to process a small of amount of business logic, rather than the other way round. So, can someone point me towards Tomcat (5.5) and Apache integration documentation (or answer the few questions I posted in my original email:)). Thanks and regards Paul. Unless your web site consists almost entirely of static content, then adding a front end will probably just slow things down (as well as making your life a lot more complex). From: Paul Wallace [mailto:[EMAIL PROTECTED] Subject: RE: TC Apache integration Unless you are saying that TC 5.5 is as robust as Apache. I have difficulty conceiving of a situation where adding non-redundant componentry can improve robustness. I suppose it's theoretically possible, but, in general, adding complexity pretty much always degrades mean-time-to-failure. If that is the case, where does that leave httpd? Load balancing, routing, possibly a more familiar security configuration (not necessarily better, just better known), and of course, a fast basic web server. CGI and PHP should be more efficient with httpd - it all depends on what your predominant traffic is along with other site-specific requirements. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: TC Apache integration
From: Paul Wallace [mailto:[EMAIL PROTECTED] Subject: RE: TC Apache integration So, can someone point me towards Tomcat (5.5) and Apache integration documentation If you go to the main 5.5 doc page http://jakarta.apache.org/tomcat/tomcat-5.5-doc/index.html you'll see a link to JK 1.2 Documentation in the left column under Reference. You probably also want to look at Apache Tomcat Configuration. And, of course, Google and the archives for this mailing list are your friends. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: TC Apache integration
Hope this helps http://www.johnturner.com/howto/winxp-howto.html http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/confighowto.html -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Thursday, July 28, 2005 2:46 AM To: Tomcat Users List Subject: RE: TC Apache integration From: Paul Wallace [mailto:[EMAIL PROTECTED] Subject: RE: TC Apache integration So, can someone point me towards Tomcat (5.5) and Apache integration documentation If you go to the main 5.5 doc page http://jakarta.apache.org/tomcat/tomcat-5.5-doc/index.html you'll see a link to JK 1.2 Documentation in the left column under Reference. You probably also want to look at Apache Tomcat Configuration. And, of course, Google and the archives for this mailing list are your friends. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: TC Apache integration
Guys, just for completeness, I thought I would stick this in here. This is for Linux. http://cymulacrum.net/writings/tomcat5/c875.html -Original Message- From: Asif Chowdhary [mailto:[EMAIL PROTECTED] Sent: 28 July 2005 17:04 To: Tomcat Users List Subject: RE: TC Apache integration Hope this helps http://www.johnturner.com/howto/winxp-howto.html http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/confighowto.html -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Thursday, July 28, 2005 2:46 AM To: Tomcat Users List Subject: RE: TC Apache integration From: Paul Wallace [mailto:[EMAIL PROTECTED] Subject: RE: TC Apache integration So, can someone point me towards Tomcat (5.5) and Apache integration documentation If you go to the main 5.5 doc page http://jakarta.apache.org/tomcat/tomcat-5.5-doc/index.html you'll see a link to JK 1.2 Documentation in the left column under Reference. You probably also want to look at Apache Tomcat Configuration. And, of course, Google and the archives for this mailing list are your friends. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ___ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
TC Apache integration
Hi All, I am following the resource - http://jakarta.apache.org/tomcat/tomcat-3.2-doc/mod_jk-howto.html to try and achieve the above. I have a few questions as I seem to only be getting so far following the instructions. I have acquired the mod_jk-1.2.8-apache-2.0.52.so binary from the Jakarta website. What do I do with it? I have added the connector to TOMCAT_HOME/conf.server.xml - Connector className=org.apache.tomcat.service.PoolTcpConnector Parameter name=handler value=org.apache.tomcat.service.connector.Ajp12ConnectionHandler/ Parameter name=port value=8007/ /Connector (but can not see the port being consumed (netstat)) I have added the line Include C:\dev\tomcat5\jakarta-tomcat-5.5.9\conf\jk\mod_jk.conf-auto to my httpd.conf file. The page I mention says To configure Tomcat to generate the Apache auto-configuration add the following block to your TOMCAT_HOME/conf/server.xml file after AutoWebApp ... /. ApacheConfig /. I can see no such AutoWebApp ... / tag in my server.xml. Where / should it be added? Finally, Apache is running on HTTP port 80, any restrictions on Tomcat HTTP port (not 80)? Many thanks for your assistance Paul.
RE: TC Apache integration
From: Paul Wallace [mailto:[EMAIL PROTECTED] Subject: TC Apache integration I am following the resource - http://jakarta.apache.org/tomcat/tomcat-3.2-doc/mod_jk-howto.html to try and achieve the above. I have added the line Include C:\dev\tomcat5\jakarta-tomcat-5.5.9\conf\jk\mod_jk.conf-auto to my httpd.conf file. I can't answer your questions, since, in general, Tomcat 5.5.9 has outgrown the need to be front-ended by httpd, so I don't use it. However, I do have a question for you: why would you think the 3.2 Tomcat doc has any relevance to the 5.5.9 release? Have you tried perusing the 5.5 doc? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Apache Integration
After the whole day searching for answers in the Jakarta docs, I've come up with something. I made a whole howto which I'll publish right after I test it. It turns out that many docs published by people about Tomcat/Apache integration are wrong and make big mistakes. A lot of them mix-up jk and jk2 configuration or get confused with the (not so) numerous configuration files. For example, a lot of people added a path to tomcat in the workers.properties file. The only concern I have for the moment is how will react a machine with two Tomcat installations running at the same time. I'll be fixed on that today. After a lot of reading and sorting things out, once it's all tested, I will publish this guide. Is there any already well known website on which I can publish ? Luc Boudreau Université du Québec Canada -Message d'origine- De : QM [mailto:[EMAIL PROTECTED] Envoyé : 30 mai 2005 09:06 À : Tomcat Users List Objet : Re: Apache Integration On Mon, May 30, 2005 at 08:28:32AM -0400, [EMAIL PROTECTED] wrote: : connect both Tomcat 4 and Tomcat 5 to the httpd server. : : If I use mod_jk, I have to specify the path to a tomcat installation in the : workers.properties in the Apache2/conf/httpd.conf file. So, there's no way to : connect both and relay to the right server using the appropriate folder : alias. Are you using JK1 (supported) or JK2 (deprecated)? I use JK1 and there's no explicit path to the Tomcat install in the config file. Tomcat isn't even installed on the Apache/httpd machine. =) So what do you mean by path to a tomcat installation? -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Apache Integration
Well, things got a bit more complicated lately. Now, my bos wants me to connect both Tomcat 4 and Tomcat 5 to the httpd server. If I use mod_jk, I have to specify the path to a tomcat installation in the workers.properties in the Apache2/conf/httpd.conf file. So, there's no way to connect both and relay to the right server using the appropriate folder alias. Is there any other connector which could support two tomcat installation ? I've read about mod_jk, mod_jk2 but I remember seeing a third connector module. Does anyone ever succeeded in installing such a configuration ?? Luc Boudreau Université du Québec Canada
Re: Apache Integration
If my memory is good, tomcat is also able to act as a proxy. why not have apache forward to tomcat5 which forwards when needed to tomcat 4 (looks crazy engouh?:) Le Lundi 30 Mai 2005 14:28, [EMAIL PROTECTED] a écrit : Well, things got a bit more complicated lately. Now, my bos wants me to connect both Tomcat 4 and Tomcat 5 to the httpd server. If I use mod_jk, I have to specify the path to a tomcat installation in the workers.properties in the Apache2/conf/httpd.conf file. So, there's no way to connect both and relay to the right server using the appropriate folder alias. Is there any other connector which could support two tomcat installation ? I've read about mod_jk, mod_jk2 but I remember seeing a third connector module. Does anyone ever succeeded in installing such a configuration ?? Luc Boudreau Université du Québec Canada -- David Delbecq Royal Meteorological Institute of Belgium - Is there life after /sbin/halt -p? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Apache Integration
Define two workers tc4 and tc5 On httpd.conf JkMount /tc4prj/*.jsp tc4JkMount /tc5prj/*.jsp tc5http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html Viorel Dragomir . .. --- - Original Message - From: [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Monday, May 30, 2005 14:28 Subject: Re: Apache Integration Well, things got a bit more complicated lately. Now, my bos wants me to connect both Tomcat 4 and Tomcat 5 to the httpd server. If I use mod_jk, I have to specify the path to a tomcat installation in the workers.properties in the Apache2/conf/httpd.conf file. So, there's no way to connect both and relay to the right server using the appropriate folder alias. Is there any other connector which could support two tomcat installation ? I've read about mod_jk, mod_jk2 but I remember seeing a third connector module. Does anyone ever succeeded in installing such a configuration ?? Luc Boudreau Université du Québec Canada
Re: Apache Integration
On Mon, May 30, 2005 at 08:28:32AM -0400, [EMAIL PROTECTED] wrote: : connect both Tomcat 4 and Tomcat 5 to the httpd server. : : If I use mod_jk, I have to specify the path to a tomcat installation in the : workers.properties in the Apache2/conf/httpd.conf file. So, there's no way to : connect both and relay to the right server using the appropriate folder : alias. Are you using JK1 (supported) or JK2 (deprecated)? I use JK1 and there's no explicit path to the Tomcat install in the config file. Tomcat isn't even installed on the Apache/httpd machine. =) So what do you mean by path to a tomcat installation? -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Apache Integration
Hi, which connector are you using? I guess you're using apache to handle port 80 and you want it to relay jsp and servlets over to the tomcat, but serve other content than jsp/servlets by the apache? You should use mod_jk, newest version probably 1.2.13. My experience is that you shouldn't have to worry about connecting tomcat5 or tomcat4 to apache2, the main part here is to configure mod_jk correctly. I'd say that the documentation on http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk.html should be sufficient, but I can otherwise agree on that a complete guide would be beneficial for everyone. BR. Arnar On Fri, 2005-05-27 at 11:08 -0400, [EMAIL PROTECTED] wrote: I'm trying to setup an Apache 2.X server to relay JSP's to a Tomcat 5.5 server. So far, the information I've found is fragmented and out of date. It concerns Tomcat 3.2 and the libraries used by this « hot-to » are deprecated. For example, it says to install the mod_jserv module, which is not suitable for Apache 2. The best document I've found so far is « Tomcat - A minimalist user's guide ». I will have to proceed to an installation on a production server. I cannot fail this installation and it has to succeed the first time. Is there anyone who came upon a complete guide on how to proceed ?? Does anyone ever installed those two versions together and has valuable advice ? Luc Boudreau Université du Québec Canada
Apache Integration
I'm trying to setup an Apache 2.X server to relay JSP's to a Tomcat 5.5 server. So far, the information I've found is fragmented and out of date. It concerns Tomcat 3.2 and the libraries used by this « hot-to » are deprecated. For example, it says to install the mod_jserv module, which is not suitable for Apache 2. The best document I've found so far is « Tomcat - A minimalist user's guide ». I will have to proceed to an installation on a production server. I cannot fail this installation and it has to succeed the first time. Is there anyone who came upon a complete guide on how to proceed ?? Does anyone ever installed those two versions together and has valuable advice ? Luc Boudreau Université du Québec Canada
OSX Server and Tomcat/Apache integration
I am hoping that someone out there will be able to help. I have spent about 20+ hours on this and am getting nowhere fast. I have OSX Server (v 10.3, Panther) installed and am trying to get Tomcat and Apache to connect. I have read the documentation but with little luck. I have it all working on the plain client version of Panther without a problem BUT with the Server version of Panther the configuration is very different and it's not just a matter of copying across the config files or using the same concepts. Thank you. I v a n ... -- Ivan Markovic SculptLight http://www.sculptlight.com Mobile: (+353) 87 2939256 Office: (+353) 1 2982205 Fax: (+353) 1 2966848 2 Airfield Drive, Churchtown, Dublin 14, Ireland. VAT: IE 9072482G - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: OSX Server and Tomcat/Apache integration
Hi, What errors are you getting? Yoav Shapira Millennium Research Informatics -Original Message- From: Ivan E. Markovic [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 31, 2004 12:09 PM To: [EMAIL PROTECTED] Subject: OSX Server and Tomcat/Apache integration I am hoping that someone out there will be able to help. I have spent about 20+ hours on this and am getting nowhere fast. I have OSX Server (v 10.3, Panther) installed and am trying to get Tomcat and Apache to connect. I have read the documentation but with little luck. I have it all working on the plain client version of Panther without a problem BUT with the Server version of Panther the configuration is very different and it's not just a matter of copying across the config files or using the same concepts. Thank you. I v a n ... -- Ivan Markovic SculptLight http://www.sculptlight.com Mobile: (+353) 87 2939256 Office: (+353) 1 2982205 Fax: (+353) 1 2966848 2 Airfield Drive, Churchtown, Dublin 14, Ireland. VAT: IE 9072482G - 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[2]: Tomcat/Apache integration
I've got mod_jk set up and running, and it works as long as I'm on the server using http://localhost/ but if I go to a different machine, or even on the server try to access the site via the ip address, apache doesn't hand off the request to tomcat, it only hands it off if I use http://localhost/... If I add the port 8080 to the ip address everything is fine, so I know tomcat is working, the only problem is when I use the IP address I get a 404 file not found error, because apache isn't handing the request to tomcat, and apache doesn't know what to do with it. Chrismailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re[4]: Tomcat/Apache integration
Do I need to use a virtual host? It was my understanding that virtual hosts are only if you plan on running multiple sites on this installation of apache, which I am not doing. Chrismailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Re[2]: Tomcat/Apache integration
To me it looks like you have a problem in the httpd.conf or in the workers.properties file, if you can send them, it will be easier to give you a hand. Joaquin Corchero Chris Gibbons [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I've got mod_jk set up and running, and it works as long as I'm on the server using http://localhost/ but if I go to a different machine, or even on the server try to access the site via the ip address, apache doesn't hand off the request to tomcat, it only hands it off if I use http://localhost/... If I add the port 8080 to the ip address everything is fine, so I know tomcat is working, the only problem is when I use the IP address I get a 404 file not found error, because apache isn't handing the request to tomcat, and apache doesn't know what to do with it. Chrismailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat/Apache integration
I'm pretty new at setting up apache and tomcat to run together, I am running apache 2.0 and tomcat 4.1. The problem is that when I try to access my site using the IP address, apache doesn't hand the request off to tomcat, but if I am on the server and use http://localhost/... it works fine. I just can't access it via the IP address, if I do that apache never hands the request over to tomcat. I have everything installed on a win2k machine. Any help would be greatly appreciated. Chris mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: permissions for Tomcat+Apache integration
With the users: I thought of this strategy (one usr for both), too. Then one must be able to log-in or su to the apache-user to start tomcat, which I disallowed (book-advice ;-) by now. Or is there a way let apache start tomcat? Could you clarify? I hardly have any JSPs by now. We unfortunately have a directory with needed files outside WEB-INF, which I will change. The other thing I meant was that I find it difficult to write the [uri:] directives when Cocoon-Apps are involved - I think I would have to adopt the URIs used in cocoon-pipelines (and the directory structure) to the apache+tomcat task, too, they almost never have to do anything with the filesystem. Sonja Am Die, 2003-09-02 um 14.50 schrieb John Turner: Could you clarify? If you are using Apache, and you have *.jsp mapped correctly, your programming resources won't be shown to the world. Since all servlets are under WEB-INF, all you have to be concerned about are JSP. Properties files, etc. go under WEB-INF, as well. Applciation architecture best practices says don't put anything critical in a JSP, so what's the big risk? Going back to your earlier question, I simply set up a certain user account for both Apache and Tomcat. webuser or whatever. That user has restricted permissions and is a member of its own group (also webuser or whatever). Apache and Tomcat run as this user. Since developers should never have access to the command line on a production server, there's no problem. John Sonja Löhr wrote: You are very right in that my greatest problem is to work out a pattern where to find the static content hides that Apache could perhaps serve a bit faster. Unfortunately, I can't tell Apache to serve .gif etc. but must come the other way round, perhaps ending up with URLs to single servlets. Many people cite security-reasons for the integration of the two, but all I've been bothered up to now is how to prevent Apache to show my programming ressources to the world (those unfortunately not located in WEB-INF). I'll be thinking about doing it separately, you really calmed me down :-) thanks very much Sonja - Original Message - From: Eric J. Pinnell [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, September 01, 2003 4:28 PM Subject: Re: permissions for Tomcat+Apache integration Hi, The question is do you need to secure your application from the outside world or do you need to secure it from users that might be logging on to your system? Or both? Usually you want to go with the both scenerio. But to keep it simple, pick a user that you want tomcat to run as. Untar Tomcat and chown -R tomcat jakarta-4.x.x (if the user is named tomcat which isn't a bad name for the Tomcat user ;) Then just run it. It will be ok just like that. If you are running Tomcat and Apache on the same machine really look at why you are running Apache at all. It's a popular misconception that you _must_ run Apache in front of Tomcat. That couldn't be more wrong. Running Tomcat alone will save you the hassle of Apache and the connectors. However you do need to run Apache if you are going to use load balanceing and the apache modules. However most times people just have Apache pipe everything back to Tomcat. In this case you don't need Apache at all. -e On Mon, 1 Sep 2003, [iso-8859-1] Sonja Löhr wrote: Hello! Here is my second question, now concerning Apache+Tomcat integration on Linux: Could someone tell me a reasonable users, groups and file permissions structure for apache, the tomcat-files itself and a typical webapp? - Java security aside. 1. Is it a good idea at all to place the webapps under apache's document root, having to care about all WEB-INF and other sensible directories with deny from all ? 2. Which account in which group? Apache needs access to static files somewhere in the webapp. (Which may be very dispersed f.e. in case of cocoon). If a tomcat user and the apache user account are in the same group with restricted permissions, I can't assign permissions to a group of developers, just another owner (me ;-). Ok, may it be. Additionally, if tomcat unpacks war files, all resulting directories are owned by tomcat alone. So should I put the apache user into the tomcat group? 3.How paranoid must I be about tomcat-files (server-directory f.e)? Tomcat needs write access to some directories, but certainly I don't know all processes tomcat. You probably guess by now that I'm not grown up with Unix-systems. Spent my whole sunday with chmod and chown, now I would be very happy if someone told me something SIMPLE :-) Thank you, Sonja - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL
Re: permissions for Tomcat+Apache integration
Could you clarify? If you are using Apache, and you have *.jsp mapped correctly, your programming resources won't be shown to the world. Since all servlets are under WEB-INF, all you have to be concerned about are JSP. Properties files, etc. go under WEB-INF, as well. Applciation architecture best practices says don't put anything critical in a JSP, so what's the big risk? Going back to your earlier question, I simply set up a certain user account for both Apache and Tomcat. webuser or whatever. That user has restricted permissions and is a member of its own group (also webuser or whatever). Apache and Tomcat run as this user. Since developers should never have access to the command line on a production server, there's no problem. John Sonja Löhr wrote: You are very right in that my greatest problem is to work out a pattern where to find the static content hides that Apache could perhaps serve a bit faster. Unfortunately, I can't tell Apache to serve .gif etc. but must come the other way round, perhaps ending up with URLs to single servlets. Many people cite security-reasons for the integration of the two, but all I've been bothered up to now is how to prevent Apache to show my programming ressources to the world (those unfortunately not located in WEB-INF). I'll be thinking about doing it separately, you really calmed me down :-) thanks very much Sonja - Original Message - From: Eric J. Pinnell [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, September 01, 2003 4:28 PM Subject: Re: permissions for Tomcat+Apache integration Hi, The question is do you need to secure your application from the outside world or do you need to secure it from users that might be logging on to your system? Or both? Usually you want to go with the both scenerio. But to keep it simple, pick a user that you want tomcat to run as. Untar Tomcat and chown -R tomcat jakarta-4.x.x (if the user is named tomcat which isn't a bad name for the Tomcat user ;) Then just run it. It will be ok just like that. If you are running Tomcat and Apache on the same machine really look at why you are running Apache at all. It's a popular misconception that you _must_ run Apache in front of Tomcat. That couldn't be more wrong. Running Tomcat alone will save you the hassle of Apache and the connectors. However you do need to run Apache if you are going to use load balanceing and the apache modules. However most times people just have Apache pipe everything back to Tomcat. In this case you don't need Apache at all. -e On Mon, 1 Sep 2003, [iso-8859-1] Sonja Löhr wrote: Hello! Here is my second question, now concerning Apache+Tomcat integration on Linux: Could someone tell me a reasonable users, groups and file permissions structure for apache, the tomcat-files itself and a typical webapp? - Java security aside. 1. Is it a good idea at all to place the webapps under apache's document root, having to care about all WEB-INF and other sensible directories with deny from all ? 2. Which account in which group? Apache needs access to static files somewhere in the webapp. (Which may be very dispersed f.e. in case of cocoon). If a tomcat user and the apache user account are in the same group with restricted permissions, I can't assign permissions to a group of developers, just another owner (me ;-). Ok, may it be. Additionally, if tomcat unpacks war files, all resulting directories are owned by tomcat alone. So should I put the apache user into the tomcat group? 3.How paranoid must I be about tomcat-files (server-directory f.e)? Tomcat needs write access to some directories, but certainly I don't know all processes tomcat. You probably guess by now that I'm not grown up with Unix-systems. Spent my whole sunday with chmod and chown, now I would be very happy if someone told me something SIMPLE :-) Thank you, Sonja - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
permissions for Tomcat+Apache integration
Hello! Here is my second question, now concerning Apache+Tomcat integration on Linux: Could someone tell me a reasonable users, groups and file permissions structure for apache, the tomcat-files itself and a typical webapp? - Java security aside. 1. Is it a good idea at all to place the webapps under apache's document root, having to care about all WEB-INF and other sensible directories with deny from all ? 2. Which account in which group? Apache needs access to static files somewhere in the webapp. (Which may be very dispersed f.e. in case of cocoon). If a tomcat user and the apache user account are in the same group with restricted permissions, I can't assign permissions to a group of developers, just another owner (me ;-). Ok, may it be. Additionally, if tomcat unpacks war files, all resulting directories are owned by tomcat alone. So should I put the apache user into the tomcat group? 3.How paranoid must I be about tomcat-files (server-directory f.e)? Tomcat needs write access to some directories, but certainly I don't know all processes tomcat. You probably guess by now that I'm not grown up with Unix-systems. Spent my whole sunday with chmod and chown, now I would be very happy if someone told me something SIMPLE :-) Thank you, Sonja - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: permissions for Tomcat+Apache integration
Hi, The question is do you need to secure your application from the outside world or do you need to secure it from users that might be logging on to your system? Or both? Usually you want to go with the both scenerio. But to keep it simple, pick a user that you want tomcat to run as. Untar Tomcat and chown -R tomcat jakarta-4.x.x (if the user is named tomcat which isn't a bad name for the Tomcat user ;) Then just run it. It will be ok just like that. If you are running Tomcat and Apache on the same machine really look at why you are running Apache at all. It's a popular misconception that you _must_ run Apache in front of Tomcat. That couldn't be more wrong. Running Tomcat alone will save you the hassle of Apache and the connectors. However you do need to run Apache if you are going to use load balanceing and the apache modules. However most times people just have Apache pipe everything back to Tomcat. In this case you don't need Apache at all. -e On Mon, 1 Sep 2003, [iso-8859-1] Sonja Löhr wrote: Hello! Here is my second question, now concerning Apache+Tomcat integration on Linux: Could someone tell me a reasonable users, groups and file permissions structure for apache, the tomcat-files itself and a typical webapp? - Java security aside. 1. Is it a good idea at all to place the webapps under apache's document root, having to care about all WEB-INF and other sensible directories with deny from all ? 2. Which account in which group? Apache needs access to static files somewhere in the webapp. (Which may be very dispersed f.e. in case of cocoon). If a tomcat user and the apache user account are in the same group with restricted permissions, I can't assign permissions to a group of developers, just another owner (me ;-). Ok, may it be. Additionally, if tomcat unpacks war files, all resulting directories are owned by tomcat alone. So should I put the apache user into the tomcat group? 3.How paranoid must I be about tomcat-files (server-directory f.e)? Tomcat needs write access to some directories, but certainly I don't know all processes tomcat. You probably guess by now that I'm not grown up with Unix-systems. Spent my whole sunday with chmod and chown, now I would be very happy if someone told me something SIMPLE :-) Thank you, Sonja - 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: permissions for Tomcat+Apache integration
You are very right in that my greatest problem is to work out a pattern where to find the static content hides that Apache could perhaps serve a bit faster. Unfortunately, I can't tell Apache to serve .gif etc. but must come the other way round, perhaps ending up with URLs to single servlets. Many people cite security-reasons for the integration of the two, but all I've been bothered up to now is how to prevent Apache to show my programming ressources to the world (those unfortunately not located in WEB-INF). I'll be thinking about doing it separately, you really calmed me down :-) thanks very much Sonja - Original Message - From: Eric J. Pinnell [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, September 01, 2003 4:28 PM Subject: Re: permissions for Tomcat+Apache integration Hi, The question is do you need to secure your application from the outside world or do you need to secure it from users that might be logging on to your system? Or both? Usually you want to go with the both scenerio. But to keep it simple, pick a user that you want tomcat to run as. Untar Tomcat and chown -R tomcat jakarta-4.x.x (if the user is named tomcat which isn't a bad name for the Tomcat user ;) Then just run it. It will be ok just like that. If you are running Tomcat and Apache on the same machine really look at why you are running Apache at all. It's a popular misconception that you _must_ run Apache in front of Tomcat. That couldn't be more wrong. Running Tomcat alone will save you the hassle of Apache and the connectors. However you do need to run Apache if you are going to use load balanceing and the apache modules. However most times people just have Apache pipe everything back to Tomcat. In this case you don't need Apache at all. -e On Mon, 1 Sep 2003, [iso-8859-1] Sonja Löhr wrote: Hello! Here is my second question, now concerning Apache+Tomcat integration on Linux: Could someone tell me a reasonable users, groups and file permissions structure for apache, the tomcat-files itself and a typical webapp? - Java security aside. 1. Is it a good idea at all to place the webapps under apache's document root, having to care about all WEB-INF and other sensible directories with deny from all ? 2. Which account in which group? Apache needs access to static files somewhere in the webapp. (Which may be very dispersed f.e. in case of cocoon). If a tomcat user and the apache user account are in the same group with restricted permissions, I can't assign permissions to a group of developers, just another owner (me ;-). Ok, may it be. Additionally, if tomcat unpacks war files, all resulting directories are owned by tomcat alone. So should I put the apache user into the tomcat group? 3.How paranoid must I be about tomcat-files (server-directory f.e)? Tomcat needs write access to some directories, but certainly I don't know all processes tomcat. You probably guess by now that I'm not grown up with Unix-systems. Spent my whole sunday with chmod and chown, now I would be very happy if someone told me something SIMPLE :-) Thank you, Sonja - 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]
FW: Repost Tomcat Apache integration how to's
-Original Message- From: Robert L Sowders [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 17, 2002 6:47 PM To: Tomcat Users List Subject: Repost Tomcat Apache integration how to's Short list of Apache Tomcat integration How To's for multiple operating systems. I'm reposting this list for those that need it. It is getting buried to far in the list archives to turn up in a search now. First try the search at http://www.mail-archive.com/[EMAIL PROTECTED]/ or Google. Here is mine for windows using all the latest of each. ftp://pokey.wr.usgs.gov/pub/rsowders/Apache2_Win2k_TC4.1.10_JSDK1.4.zip Here's another for windows using the production quality versions. http://www.cnr.berkeley.edu/~salazar/apache_tomcat.html Here's another for windows using older production quality versions. http://www.galatea.com/flashguides/apache-tomcat-24-win32.xml Here's another for windows and Linux using older versions, and mod_webapp. http://bruno.vernay.free.fr/HowTo/Apache-tomcat/bWebServer/index.html Here's one for an unspecified unix using production quality versions. http://www.pubbitch.org/jboss/mod_jk2.html Here is one using older versions on Linux. http://www.ubeans.com/tomcat/index.html Here's a nice one for RH Linux using solid production versions. http://www.johnturner.com/howto/apache-tomcat-howto.html rls -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Repost Tomcat Apache integration how to's
Hi Dave, Thank you for your help. I am yet to try your attached configuration files. I attempted to download ftp://pokey.wr.usgs.gov/pub/rsowders/Apache2_Win2k_TC4.1.10_JSDK1.4.zip;, but get a 'login attempt failed' error. Just one further question regarding your earlier advice. What is the reasoning behind commenting out the listener on port 8080? Is this solely to prevent direct access to Tomcat, all access forced to go via Apache (a security matter)? Thanks again. Chris. - Original Message - From: Short, Dave [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Sunday, March 16, 2003 6:38 AM Subject: FW: Repost Tomcat Apache integration how to's -Original Message- From: Robert L Sowders [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 17, 2002 6:47 PM To: Tomcat Users List Subject: Repost Tomcat Apache integration how to's Short list of Apache Tomcat integration How To's for multiple operating systems. I'm reposting this list for those that need it. It is getting buried to far in the list archives to turn up in a search now. First try the search at http://www.mail-archive.com/[EMAIL PROTECTED]/ or Google. Here is mine for windows using all the latest of each. ftp://pokey.wr.usgs.gov/pub/rsowders/Apache2_Win2k_TC4.1.10_JSDK1.4.zip Here's another for windows using the production quality versions. http://www.cnr.berkeley.edu/~salazar/apache_tomcat.html Here's another for windows using older production quality versions. http://www.galatea.com/flashguides/apache-tomcat-24-win32.xml Here's another for windows and Linux using older versions, and mod_webapp. http://bruno.vernay.free.fr/HowTo/Apache-tomcat/bWebServer/index.html Here's one for an unspecified unix using production quality versions. http://www.pubbitch.org/jboss/mod_jk2.html Here is one using older versions on Linux. http://www.ubeans.com/tomcat/index.html Here's a nice one for RH Linux using solid production versions. http://www.johnturner.com/howto/apache-tomcat-howto.html rls -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[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: Tomcat w/ Apache integration question
Another question: Do I need to specify http://servername; before each image to explicitly tell Apache to load the images in a JSP? --- Matt Fury [EMAIL PROTECTED] wrote: Hi all! I am a bit confused and forgive me if I am not seeing things straight. When I integrate Apache with Tomcat and have workers forward JSP pages, does this mean all JSP will be served by Tomcat INCLUDING the HTML in the page? Or will the images, and html layout be served by Apache and Tomcat will take care of the code inside? 99% of my website is JSP/Servlet/Tags but the pages consist of a lot of images to load. Would it be beneficial for me to integrate Apache? Otherwise I would consider using Apache for just images and create an image server or something. -Matt - 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: Tomcat w/ Apache integration question
Someone may want to correct me on this... On Fri, Mar 07, 2003 at 11:00:28AM -0800, Matt Fury wrote: Do I need to specify http://servername; before each image to explicitly tell Apache to load the images in a JSP? No. --- Matt Fury [EMAIL PROTECTED] wrote: I am a bit confused and forgive me if I am not seeing things straight. Yes. When I integrate Apache with Tomcat and have workers forward JSP pages, No. Apache forwards the request to Tomcat (if using mod_jk, Apache decides by what's specified JkMount directive), and one of the workers sends back the HTML generated from the JSP. (Notionally. Actually the JSP is first translated to a Java servlet, which is compiled, and it's the servlet that sends HTML.) does this mean all JSP will be served by Tomcat INCLUDING the HTML in the page? Yes, except that the above. Sort of. HTML is JSP; that's part of the point. Or will the images, and html layout be served by Apache and Tomcat will take care of the code inside? Apache will serve everything, but .jsp pages (which, of course, may happen to contain mostly HTML, or not) will be processed by Tomcat first to produce straight HTML that Apache will send back to the browser. 99% of my website is JSP/Servlet/Tags but the pages consist of a lot of images to load. Would it be beneficial for me to integrate Apache? I would think so. Otherwise I would consider using Apache for just images and create an image server or something. No, that's not necessary... even if it were, most likely you'd still have Apache and Tomcat integrated, they'd just be on separate machines. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat w/ Apache integration question
Hi all! I am a bit confused and forgive me if I am not seeing things straight. When I integrate Apache with Tomcat and have workers forward JSP pages, does this mean all JSP will be served by Tomcat INCLUDING the HTML in the page? Or will the images, and html layout be served by Apache and Tomcat will take care of the code inside? 99% of my website is JSP/Servlet/Tags but the pages consist of a lot of images to load. Would it be beneficial for me to integrate Apache? Otherwise I would consider using Apache for just images and create an image server or something. -Matt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Still a problem with tomcat-apache integration
Dear All, please don't shoot me, but I've a problem making tomcat serve jsp for apache. My configuration is: red hat 8.0 apache 2.0.44 tomcat 4.1.18 jk_mod for 2.0.43 I followed the step by step guide provided by john turner on his site but I still have problem first I see that he references sometimes jk_mod.so while other jk_mod.2.0.43.so... so, to avoid problems I made a symbolic link to have both the file names. The problems I have are the following two: 1) when I access the site from another client I get apache error 404 saying that /examples does not exist 2) but when I access the site from the localhost with lynx I got the right redirection, but when I try to access a jsp file I get a 500 internal error but don't get the details of the error... just a 500 error from apache Can you please help me solve this boring problem I hoped that following the great john howto I could have go the site up and running with no problem.. but I was wrong. :-( thank you Simone - Simone Chiaretta www.piyosailing.com/S Any sufficiently advanced technology is indistinguishable from magic - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Still a problem with tomcat-apache integration
1) when I access the site from another client I get apache error 404 saying that /examples does not exist your servername in httpd.conf is not configured properly 2) but when I access the site from the localhost with lynx I got the right see, what did I tell you :) when I try to access a jsp file I get a 500 internal error you get that if tomcat and apache are not connected, hence apache throws an internal server error saying it can't reach tomcat. I thought the docs were pretty good, and should work for. Filip -Original Message- From: Simone Chiaretta [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 3:26 PM To: Tomcat User List Subject: Still a problem with tomcat-apache integration Dear All, please don't shoot me, but I've a problem making tomcat serve jsp for apache. My configuration is: red hat 8.0 apache 2.0.44 tomcat 4.1.18 jk_mod for 2.0.43 I followed the step by step guide provided by john turner on his site but I still have problem first I see that he references sometimes jk_mod.so while other jk_mod.2.0.43.so... so, to avoid problems I made a symbolic link to have both the file names. The problems I have are the following two: 1) when I access the site from another client I get apache error 404 saying that /examples does not exist 2) but when I access the site from the localhost with lynx I got the right redirection, but when I try to access a jsp file I get a 500 internal error but don't get the details of the error... just a 500 error from apache Can you please help me solve this boring problem I hoped that following the great john howto I could have go the site up and running with no problem.. but I was wrong. :-( thank you Simone - Simone Chiaretta www.piyosailing.com/S Any sufficiently advanced technology is indistinguishable from magic - 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: Still a problem with tomcat-apache integration
Try going directly to tomcat, if that works then try the connector. If you can view the page from tomcat directly, but not from apache, then it's something to do with the connector. If you can't view the page from tomcat directly, well, it's a tomcat problem (or a page problem). --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Simone Chiaretta [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 3:26 PM To: Tomcat User List Subject: Still a problem with tomcat-apache integration Dear All, please don't shoot me, but I've a problem making tomcat serve jsp for apache. My configuration is: red hat 8.0 apache 2.0.44 tomcat 4.1.18 jk_mod for 2.0.43 I followed the step by step guide provided by john turner on his site but I still have problem first I see that he references sometimes jk_mod.so while other jk_mod.2.0.43.so... so, to avoid problems I made a symbolic link to have both the file names. The problems I have are the following two: 1) when I access the site from another client I get apache error 404 saying that /examples does not exist 2) but when I access the site from the localhost with lynx I got the right redirection, but when I try to access a jsp file I get a 500 internal error but don't get the details of the error... just a 500 error from apache Can you please help me solve this boring problem I hoped that following the great john howto I could have go the site up and running with no problem.. but I was wrong. :-( thank you Simone - Simone Chiaretta www.piyosailing.com/S Any sufficiently advanced technology is indistinguishable from magic - 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]
R: Still a problem with tomcat-apache integration
I can access the pages directly with tomcat... it's the first thing I've done... even before trying the connector Simo -Messaggio originale- Da: Mike Jackson [mailto:[EMAIL PROTECTED] Inviato: giovedì 6 marzo 2003 0.29 A: Tomcat Users List Oggetto: RE: Still a problem with tomcat-apache integration Try going directly to tomcat, if that works then try the connector. If you can view the page from tomcat directly, but not from apache, then it's something to do with the connector. If you can't view the page from tomcat directly, well, it's a tomcat problem (or a page problem). --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Simone Chiaretta [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 3:26 PM To: Tomcat User List Subject: Still a problem with tomcat-apache integration Dear All, please don't shoot me, but I've a problem making tomcat serve jsp for apache. My configuration is: red hat 8.0 apache 2.0.44 tomcat 4.1.18 jk_mod for 2.0.43 I followed the step by step guide provided by john turner on his site but I still have problem first I see that he references sometimes jk_mod.so while other jk_mod.2.0.43.so... so, to avoid problems I made a symbolic link to have both the file names. The problems I have are the following two: 1) when I access the site from another client I get apache error 404 saying that /examples does not exist 2) but when I access the site from the localhost with lynx I got the right redirection, but when I try to access a jsp file I get a 500 internal error but don't get the details of the error... just a 500 error from apache Can you please help me solve this boring problem I hoped that following the great john howto I could have go the site up and running with no problem.. but I was wrong. :-( thank you Simone - Simone Chiaretta www.piyosailing.com/S Any sufficiently advanced technology is indistinguishable from magic - 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: Still a problem with tomcat-apache integration
and you started tomcat before apache, not the other way around? -Original Message- From: Simone Chiaretta [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 3:55 PM To: Tomcat Users List Subject: R: Still a problem with tomcat-apache integration I can access the pages directly with tomcat... it's the first thing I've done... even before trying the connector Simo -Messaggio originale- Da: Mike Jackson [mailto:[EMAIL PROTECTED] Inviato: giovedì 6 marzo 2003 0.29 A: Tomcat Users List Oggetto: RE: Still a problem with tomcat-apache integration Try going directly to tomcat, if that works then try the connector. If you can view the page from tomcat directly, but not from apache, then it's something to do with the connector. If you can't view the page from tomcat directly, well, it's a tomcat problem (or a page problem). --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Simone Chiaretta [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 3:26 PM To: Tomcat User List Subject: Still a problem with tomcat-apache integration Dear All, please don't shoot me, but I've a problem making tomcat serve jsp for apache. My configuration is: red hat 8.0 apache 2.0.44 tomcat 4.1.18 jk_mod for 2.0.43 I followed the step by step guide provided by john turner on his site but I still have problem first I see that he references sometimes jk_mod.so while other jk_mod.2.0.43.so... so, to avoid problems I made a symbolic link to have both the file names. The problems I have are the following two: 1) when I access the site from another client I get apache error 404 saying that /examples does not exist 2) but when I access the site from the localhost with lynx I got the right redirection, but when I try to access a jsp file I get a 500 internal error but don't get the details of the error... just a 500 error from apache Can you please help me solve this boring problem I hoped that following the great john howto I could have go the site up and running with no problem.. but I was wrong. :-( thank you Simone - Simone Chiaretta www.piyosailing.com/S Any sufficiently advanced technology is indistinguishable from magic - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Still a problem with tomcat-apache integration
Take a look at your mod_jk.log and see if there's anything in there that points anywhere, the next step after that would probably be to post your workers.properties and mod_jk.conf files. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Simone Chiaretta [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 3:55 PM To: Tomcat Users List Subject: R: Still a problem with tomcat-apache integration I can access the pages directly with tomcat... it's the first thing I've done... even before trying the connector Simo -Messaggio originale- Da: Mike Jackson [mailto:[EMAIL PROTECTED] Inviato: giovedì 6 marzo 2003 0.29 A: Tomcat Users List Oggetto: RE: Still a problem with tomcat-apache integration Try going directly to tomcat, if that works then try the connector. If you can view the page from tomcat directly, but not from apache, then it's something to do with the connector. If you can't view the page from tomcat directly, well, it's a tomcat problem (or a page problem). --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Simone Chiaretta [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 3:26 PM To: Tomcat User List Subject: Still a problem with tomcat-apache integration Dear All, please don't shoot me, but I've a problem making tomcat serve jsp for apache. My configuration is: red hat 8.0 apache 2.0.44 tomcat 4.1.18 jk_mod for 2.0.43 I followed the step by step guide provided by john turner on his site but I still have problem first I see that he references sometimes jk_mod.so while other jk_mod.2.0.43.so... so, to avoid problems I made a symbolic link to have both the file names. The problems I have are the following two: 1) when I access the site from another client I get apache error 404 saying that /examples does not exist 2) but when I access the site from the localhost with lynx I got the right redirection, but when I try to access a jsp file I get a 500 internal error but don't get the details of the error... just a 500 error from apache Can you please help me solve this boring problem I hoped that following the great john howto I could have go the site up and running with no problem.. but I was wrong. :-( thank you Simone - Simone Chiaretta www.piyosailing.com/S Any sufficiently advanced technology is indistinguishable from magic - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
R: Still a problem with tomcat-apache integration
I've the servername in httpd.conf set to localhost and the defaultHost and the only Host in server.xml set to localhost, too but when I access the /examples I get the right page under apache (the tomcat dir) but the jsp is not compiled so u suggest me trying to set all names with a foo.fakedomain.com? and then test it? simo -Messaggio originale- Da: Filip Hanik [mailto:[EMAIL PROTECTED] Inviato: giovedì 6 marzo 2003 0.29 A: Tomcat Users List Oggetto: RE: Still a problem with tomcat-apache integration 1) when I access the site from another client I get apache error 404 saying that /examples does not exist your servername in httpd.conf is not configured properly 2) but when I access the site from the localhost with lynx I got the right see, what did I tell you :) when I try to access a jsp file I get a 500 internal error you get that if tomcat and apache are not connected, hence apache throws an internal server error saying it can't reach tomcat. I thought the docs were pretty good, and should work for. Filip -Original Message- From: Simone Chiaretta [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 3:26 PM To: Tomcat User List Subject: Still a problem with tomcat-apache integration Dear All, please don't shoot me, but I've a problem making tomcat serve jsp for apache. My configuration is: red hat 8.0 apache 2.0.44 tomcat 4.1.18 jk_mod for 2.0.43 I followed the step by step guide provided by john turner on his site but I still have problem first I see that he references sometimes jk_mod.so while other jk_mod.2.0.43.so... so, to avoid problems I made a symbolic link to have both the file names. The problems I have are the following two: 1) when I access the site from another client I get apache error 404 saying that /examples does not exist 2) but when I access the site from the localhost with lynx I got the right redirection, but when I try to access a jsp file I get a 500 internal error but don't get the details of the error... just a 500 error from apache Can you please help me solve this boring problem I hoped that following the great john howto I could have go the site up and running with no problem.. but I was wrong. :-( thank you Simone - Simone Chiaretta www.piyosailing.com/S Any sufficiently advanced technology is indistinguishable from magic - 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]
R: Still a problem with tomcat-apache integration
sure -Messaggio originale- Da: Filip Hanik [mailto:[EMAIL PROTECTED] Inviato: giovedì 6 marzo 2003 0.56 A: Tomcat Users List Oggetto: RE: Still a problem with tomcat-apache integration and you started tomcat before apache, not the other way around? -Original Message- From: Simone Chiaretta [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 3:55 PM To: Tomcat Users List Subject: R: Still a problem with tomcat-apache integration I can access the pages directly with tomcat... it's the first thing I've done... even before trying the connector Simo -Messaggio originale- Da: Mike Jackson [mailto:[EMAIL PROTECTED] Inviato: giovedì 6 marzo 2003 0.29 A: Tomcat Users List Oggetto: RE: Still a problem with tomcat-apache integration Try going directly to tomcat, if that works then try the connector. If you can view the page from tomcat directly, but not from apache, then it's something to do with the connector. If you can't view the page from tomcat directly, well, it's a tomcat problem (or a page problem). --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Simone Chiaretta [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 3:26 PM To: Tomcat User List Subject: Still a problem with tomcat-apache integration Dear All, please don't shoot me, but I've a problem making tomcat serve jsp for apache. My configuration is: red hat 8.0 apache 2.0.44 tomcat 4.1.18 jk_mod for 2.0.43 I followed the step by step guide provided by john turner on his site but I still have problem first I see that he references sometimes jk_mod.so while other jk_mod.2.0.43.so... so, to avoid problems I made a symbolic link to have both the file names. The problems I have are the following two: 1) when I access the site from another client I get apache error 404 saying that /examples does not exist 2) but when I access the site from the localhost with lynx I got the right redirection, but when I try to access a jsp file I get a 500 internal error but don't get the details of the error... just a 500 error from apache Can you please help me solve this boring problem I hoped that following the great john howto I could have go the site up and running with no problem.. but I was wrong. :-( thank you Simone - Simone Chiaretta www.piyosailing.com/S Any sufficiently advanced technology is indistinguishable from magic - 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] - 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]
R: Still a problem with tomcat-apache integration
I'm from Italy and now I'm not at work I'll check them tomorrow at work Thank you for now anyway the workers contains this # BEGIN workers.properties worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 # END workers.properties Simone -Messaggio originale- Da: Mike Jackson [mailto:[EMAIL PROTECTED] Inviato: giovedì 6 marzo 2003 0.57 A: Tomcat Users List Oggetto: RE: Still a problem with tomcat-apache integration Take a look at your mod_jk.log and see if there's anything in there that points anywhere, the next step after that would probably be to post your workers.properties and mod_jk.conf files. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Simone Chiaretta [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 3:55 PM To: Tomcat Users List Subject: R: Still a problem with tomcat-apache integration I can access the pages directly with tomcat... it's the first thing I've done... even before trying the connector Simo -Messaggio originale- Da: Mike Jackson [mailto:[EMAIL PROTECTED] Inviato: giovedì 6 marzo 2003 0.29 A: Tomcat Users List Oggetto: RE: Still a problem with tomcat-apache integration Try going directly to tomcat, if that works then try the connector. If you can view the page from tomcat directly, but not from apache, then it's something to do with the connector. If you can't view the page from tomcat directly, well, it's a tomcat problem (or a page problem). --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Simone Chiaretta [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 3:26 PM To: Tomcat User List Subject: Still a problem with tomcat-apache integration Dear All, please don't shoot me, but I've a problem making tomcat serve jsp for apache. My configuration is: red hat 8.0 apache 2.0.44 tomcat 4.1.18 jk_mod for 2.0.43 I followed the step by step guide provided by john turner on his site but I still have problem first I see that he references sometimes jk_mod.so while other jk_mod.2.0.43.so... so, to avoid problems I made a symbolic link to have both the file names. The problems I have are the following two: 1) when I access the site from another client I get apache error 404 saying that /examples does not exist 2) but when I access the site from the localhost with lynx I got the right redirection, but when I try to access a jsp file I get a 500 internal error but don't get the details of the error... just a 500 error from apache Can you please help me solve this boring problem I hoped that following the great john howto I could have go the site up and running with no problem.. but I was wrong. :-( thank you Simone - Simone Chiaretta www.piyosailing.com/S Any sufficiently advanced technology is indistinguishable from magic - 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] - 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: Still a problem with tomcat-apache integration
Hmm, that looks ok so far. BTW, I don't read Italian, is there a version of that rc land sailer page in English? --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Simone Chiaretta [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 4:06 PM To: Tomcat Users List Subject: R: Still a problem with tomcat-apache integration I'm from Italy and now I'm not at work I'll check them tomorrow at work Thank you for now anyway the workers contains this # BEGIN workers.properties worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 # END workers.properties Simone -Messaggio originale- Da: Mike Jackson [mailto:[EMAIL PROTECTED] Inviato: giovedì 6 marzo 2003 0.57 A: Tomcat Users List Oggetto: RE: Still a problem with tomcat-apache integration Take a look at your mod_jk.log and see if there's anything in there that points anywhere, the next step after that would probably be to post your workers.properties and mod_jk.conf files. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Simone Chiaretta [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 3:55 PM To: Tomcat Users List Subject: R: Still a problem with tomcat-apache integration I can access the pages directly with tomcat... it's the first thing I've done... even before trying the connector Simo -Messaggio originale- Da: Mike Jackson [mailto:[EMAIL PROTECTED] Inviato: giovedì 6 marzo 2003 0.29 A: Tomcat Users List Oggetto: RE: Still a problem with tomcat-apache integration Try going directly to tomcat, if that works then try the connector. If you can view the page from tomcat directly, but not from apache, then it's something to do with the connector. If you can't view the page from tomcat directly, well, it's a tomcat problem (or a page problem). --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Simone Chiaretta [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 3:26 PM To: Tomcat User List Subject: Still a problem with tomcat-apache integration Dear All, please don't shoot me, but I've a problem making tomcat serve jsp for apache. My configuration is: red hat 8.0 apache 2.0.44 tomcat 4.1.18 jk_mod for 2.0.43 I followed the step by step guide provided by john turner on his site but I still have problem first I see that he references sometimes jk_mod.so while other jk_mod.2.0.43.so... so, to avoid problems I made a symbolic link to have both the file names. The problems I have are the following two: 1) when I access the site from another client I get apache error 404 saying that /examples does not exist 2) but when I access the site from the localhost with lynx I got the right redirection, but when I try to access a jsp file I get a 500 internal error but don't get the details of the error... just a 500 error from apache Can you please help me solve this boring problem I hoped that following the great john howto I could have go the site up and running with no problem.. but I was wrong. :-( thank you Simone - Simone Chiaretta www.piyosailing.com/S Any sufficiently advanced technology is indistinguishable from magic - 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] - 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]
Tomcat and Apache integration
Hi, This subject must come up so often I'm sure there must be an up-to-date FAQ somewhere. If there is I'd be grateful if someone could direct me to it. I'm running the following configuration: .Windows XP .Apache 2.0.43 (serving correctly on port 80) .Tomcat 4.1.12 (serving correctly on port 8080) I simply wish to configure apache to forward JSP and servlet requests to Tomcat. I have read the Working with mod_jk page: http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html#s8 and tried to follow the steps described. I have: 1) Downloaded the mod_jk DLL and placed it in the apache modules directory 2) Edited httpd.conf to add the line Include TOMCAT_HOME/conf/auto/mod_jk.conf at the end 3) Tried to run tomcat from the DOS command line with startup.bat jkconf to auto-generate the apache config files. As far as I can tell this does not work. I would be grateful if anyone could help me with the following: 1) Create the auto-generated apache config files 2) Confirm the changes to httpd.conf 3) Explain what workers.properties is (nowhere to be found in the default apache or tomcat installations on windows) Thanks in advance. David Durant. = It is unwise to put things you are allergic to in your mouth - especially if it's cats . __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcat and Apache integration
It comes up an awful lot. ftp://pokey.wr.usgs.gov/pub/rsowders/Apache2_Jk2_TC4.1.x_JSDK1.4.x.zip This will also help. http://www.geovelocity.com/index_apache-tomcat-arcims.html I know both work for XP also. rls David Durant [EMAIL PROTECTED] 12/02/2002 04:54 PM Please respond to Tomcat Users List To: [EMAIL PROTECTED] cc: Subject:Tomcat and Apache integration Hi, This subject must come up so often I'm sure there must be an up-to-date FAQ somewhere. If there is I'd be grateful if someone could direct me to it. I'm running the following configuration: .Windows XP .Apache 2.0.43 (serving correctly on port 80) .Tomcat 4.1.12 (serving correctly on port 8080) I simply wish to configure apache to forward JSP and servlet requests to Tomcat. I have read the Working with mod_jk page: http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html#s8 and tried to follow the steps described. I have: 1) Downloaded the mod_jk DLL and placed it in the apache modules directory 2) Edited httpd.conf to add the line Include TOMCAT_HOME/conf/auto/mod_jk.conf at the end 3) Tried to run tomcat from the DOS command line with startup.bat jkconf to auto-generate the apache config files. As far as I can tell this does not work. I would be grateful if anyone could help me with the following: 1) Create the auto-generated apache config files 2) Confirm the changes to httpd.conf 3) Explain what workers.properties is (nowhere to be found in the default apache or tomcat installations on windows) Thanks in advance. David Durant. = It is unwise to put things you are allergic to in your mouth - especially if it's cats . __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- 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: Tomcat and Apache integration
David Durant [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, This subject must come up so often I'm sure there must be an up-to-date FAQ somewhere. If there is I'd be grateful if someone could direct me to it. I'm running the following configuration: .Windows XP .Apache 2.0.43 (serving correctly on port 80) .Tomcat 4.1.12 (serving correctly on port 8080) I simply wish to configure apache to forward JSP and servlet requests to Tomcat. I have read the Working with mod_jk page: http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html#s8 As flattered as I am that you consider the 3.3 branch as the standard :), in your case you are better off starting from http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html and tried to follow the steps described. I have: 1) Downloaded the mod_jk DLL and placed it in the apache modules directory 2) Edited httpd.conf to add the line Include TOMCAT_HOME/conf/auto/mod_jk.conf at the end 3) Tried to run tomcat from the DOS command line with startup.bat jkconf to auto-generate the apache config files. As far as I can tell this does not work. I would be grateful if anyone could help me with the following: 1) Create the auto-generated apache config files 2) Confirm the changes to httpd.conf 3) Explain what workers.properties is (nowhere to be found in the default apache or tomcat installations on windows) Thanks in advance. David Durant. = It is unwise to put things you are allergic to in your mouth - especially if it's cats . __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: jboss-tomcat and apache integration.
Hi I'm not sure you want the ajp12 connector in the worker list, unless you actually have an ajp12 connector defined in server.xml. Try using: worker.list=ajp13 Hope that helps, Anthony. -Original Message- From: Nani Jon [SMTP:[EMAIL PROTECTED]] Sent: 20 September 2002 21:33 To: tomcat users Subject: jboss-tomcat and apache integration. Hello: I have the jboss-3.0.0_tomcat-4.0.3 bundle which I am trying to integrate with apache2, the latest version. I followed all the steps based on one of the HOWTOs. I have placed the mod_jk2.dll in the /conf directory of apache. I have created a workers2.properties file with the following contents: # Start setup file # workers2.tomcat_home=D:\\Programs/jboss-3.0.0_tomcat-4.0.3\\catalina workers2.java_home=D:\\j2sdk1.4.0 ps=\\ worker.list=ajp12, ajp13 # Definition for Ajp13 worker # worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 # # End setup file I put the line: LoadModule jk2_module modules/mod_jk2.dll in the httpd.conf for apache. When I start apache, it finds the workers2.properties file, but when I check the error.log file for apache the following errors are generated during startup: [notice] Parent: Created child process 1780 [error] env.createBean2(): Error getting factory for [workers2.tomcat_home] (null) [error] config.update(): Can't create workers2.tomcat_home [error] env.createBean2(): Error getting factory for [workers2.java_home] (null) [error] config.update(): Can't create workers2.java_home [error] env.createBean2(): Error getting factory for [ps] (null) [error] config.update(): Can't create ps [error] env.createBean2(): Error getting factory for [worker.list] (null) [error] config.update(): Can't create worker.list [error] env.createBean2(): Error getting factory for [worker.ajp13.port] (null) [error] config.update(): Can't create worker.ajp13.port [error] env.createBean2(): Error getting factory for [worker.ajp13.host] (null) [error] config.update(): Can't create worker.ajp13.host [error] env.createBean2(): Error getting factory for [worker.ajp13.type] (null) [error] config.update(): Can't create worker.ajp13.type [error] shm.init(): No file [notice] Child 1780: Child process is running [error] shm.init(): No file [notice] Child 1780: Acquired the start mutex. [notice] Child 1780: Starting 250 worker threads. Any help will be greatly appreciated. Regards, Nani Jon. ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ** -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
jboss-tomcat and apache integration.
Hello: I have the jboss-3.0.0_tomcat-4.0.3 bundle which I am trying to integrate with apache2, the latest version. I followed all the steps based on one of the HOWTOs. I have placed the mod_jk2.dll in the /conf directory of apache. I have created a workers2.properties file with the following contents: # Start setup file # workers2.tomcat_home=D:\\Programs/jboss-3.0.0_tomcat-4.0.3\\catalina workers2.java_home=D:\\j2sdk1.4.0 ps=\\ worker.list=ajp12, ajp13 # Definition for Ajp13 worker # worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 # # End setup file I put the line: LoadModule jk2_module modules/mod_jk2.dll in the httpd.conf for apache. When I start apache, it finds the workers2.properties file, but when I check the error.log file for apache the following errors are generated during startup: [notice] Parent: Created child process 1780 [error] env.createBean2(): Error getting factory for [workers2.tomcat_home] (null) [error] config.update(): Can't create workers2.tomcat_home [error] env.createBean2(): Error getting factory for [workers2.java_home] (null) [error] config.update(): Can't create workers2.java_home [error] env.createBean2(): Error getting factory for [ps] (null) [error] config.update(): Can't create ps [error] env.createBean2(): Error getting factory for [worker.list] (null) [error] config.update(): Can't create worker.list [error] env.createBean2(): Error getting factory for [worker.ajp13.port] (null) [error] config.update(): Can't create worker.ajp13.port [error] env.createBean2(): Error getting factory for [worker.ajp13.host] (null) [error] config.update(): Can't create worker.ajp13.host [error] env.createBean2(): Error getting factory for [worker.ajp13.type] (null) [error] config.update(): Can't create worker.ajp13.type [error] shm.init(): No file [notice] Child 1780: Child process is running [error] shm.init(): No file [notice] Child 1780: Acquired the start mutex. [notice] Child 1780: Starting 250 worker threads. Any help will be greatly appreciated. Regards, Nani Jon. - Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes
Repost Tomcat Apache integration how to's
Short list of Apache Tomcat integration How To's for multiple operating systems. I'm reposting this list for those that need it. It is getting buried to far in the list archives to turn up in a search now. First try the search at http://www.mail-archive.com/tomcat-user@jakarta.apache.org/ or Google. Here is mine for windows using all the latest of each. ftp://pokey.wr.usgs.gov/pub/rsowders/Apache2_Win2k_TC4.1.10_JSDK1.4.zip Here's another for windows using the production quality versions. http://www.cnr.berkeley.edu/~salazar/apache_tomcat.html Here's another for windows using older production quality versions. http://www.galatea.com/flashguides/apache-tomcat-24-win32.xml Here's another for windows and Linux using older versions, and mod_webapp. http://bruno.vernay.free.fr/HowTo/Apache-tomcat/bWebServer/index.html Here's one for an unspecified unix using production quality versions. http://www.pubbitch.org/jboss/mod_jk2.html Here is one using older versions on Linux. http://www.ubeans.com/tomcat/index.html Here's a nice one for RH Linux using solid production versions. http://www.johnturner.com/howto/apache-tomcat-howto.html rls -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
apache integration
hi, what is the proper module for integrating tomcat 4 into apache? the documentation talks about mod_jk, but what role do mod_jserv and mod_webapp play? tia michael -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
AW: apache integration
These all all different modules to reach the same goal: connect apache with tomcat. mod_jserv - the module that came from the jserv servlet engine for apache. Just forget about it if you use tomcat. mod_jk successor of mod_jserv - Currently the best (At least that's what I sample from the traffic in this list) connector for apache mod_jk2 successor of mod_jk - currently in alpha or beta state AFAIK this development branch was induced through the release of apache 2. mod_webapp - Was intended as a replacement for mod_jk in tomcat 4. It's a complete redisign. As it wasn't ready when tomcat 4 was released mod_jk has been changed to allow an integration with tomcat 4. Although mod_webapp seams to have reached a state where it's close to production quality it has some drawbacks, so people like to continue to use mod_jk. From what I see in this list the development of mod_jk is more active than mod_webapp. -Ursprüngliche Nachricht- Von: michael wimmer [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 13. August 2002 16:31 An: Tomcat Users List Betreff: apache integration hi, what is the proper module for integrating tomcat 4 into apache? the documentation talks about mod_jk, but what role do mod_jserv and mod_webapp play? tia michael -- 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: apache integration
mod_jserv: old, uses AJP12 mod_jk: current, production ready, allows separation of static and dynamic content, load balancing, uses AJP13 mod_webapp: current, production, does not allow separation of static and dynamic content, no load balancing, uses WARP mod_jk2: current, beta John Turner [EMAIL PROTECTED] -Original Message- From: michael wimmer [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 13, 2002 10:31 AM To: Tomcat Users List Subject: apache integration hi, what is the proper module for integrating tomcat 4 into apache? the documentation talks about mod_jk, but what role do mod_jserv and mod_webapp play? tia michael -- 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: Website for Tomcat/Apache Integration...
The flashguides on this site are fairly good at explaining how to setup a variety of different configurations. http://www.galatea.com/flashguides/index Ben Rometsch wrote: Hi There, Is there a website out there that I have yet to find that details common setups for Tomcat/Apache/Linux ? I cant seem to find any coherent information on this at all. I've been reading and reading and reading (especially about connectors) and I'm still confused... I'd be happy to set up a small site with a few example configurations along with step-by-step instructions on how to get things running under Linux/Windows. Maybe also detailing what the different connectors are, how the different versions of tomcat and apache affect each other etc. etc. Would anyone be interested in helping me out? Thanks, Ben Rometsch -- 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: Website for Tomcat/Apache Integration...
Subject: Re: Website for Tomcat/Apache Integration... From: Bruno V [EMAIL PROTECTED] === I tried to search for guides and howto to install Tomcat and Apache WITH a WARP connector (mod_webapp) or mod_jk I will try to keep it up to date on http://bruno.vernay.free.fr/HowTo/Apache-tomcat/bWebServer/references.html I guess that there are better place for this kind of info, but didn't find it. Maybe it should be on the Tomcat site to avoid an explosion of the mailing list ? By the way, the mailing list should be separated by installation configuration and web application ... if possible ... It's amazing how often this question come to the list. I wonder if I am right to post my same response every time ? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Website for Tomcat/Apache Integration...
How is mod_jk different from mod_webapp, and where does coyote fit into all of this? Jserv is the old version of all this, correct? Will this setup: Apache (1.3) | | mod_jk | | Tomcat (4.0.3) allow me to run 1 instance of apache, using virtual hosts, to serve multiple instances of tomcat, 1 for each host? Ben -Original Message- From: Chris Herrmann [mailto:[EMAIL PROTECTED]] Sent: 16 May 2002 02:14 To: 'Tomcat Users List' Subject: RE: Website for Tomcat/Apache Integration... perhaps the abundance of information is confusing... in ten words or less, all you need to do is: Setup apache, and get it to load mod_jk , and the mod_jk.conf Setup tomcat, edit mod_jk.conf, and a workers.properties Restart apache, and you should be cooking with gas. Ignore the bits about jserv, unless you know you need them. They'll just confuse you. it looks a little like this... Apache | | mod_jk | | Tomcat I'll let you find the detail of how to do each of these bits in the doco. Cheers, Chris |-Original Message- |From: Ben Rometsch [mailto:[EMAIL PROTECTED]] |Sent: Thursday, 16 May 2002 09:44 |To: [EMAIL PROTECTED] |Subject: Website for Tomcat/Apache Integration... | | |Hi There, | |Is there a website out there that I have yet to find that details |common setups for Tomcat/Apache/Linux ? I cant seem to find any |coherent information on this at all. I've been reading and reading and |reading (especially about connectors) and I'm still confused... | |I'd be happy to set up a small site with a few example configurations |along with step-by-step instructions on how to get things running under |Linux/Windows. Maybe also detailing what the different connectors are, |how the different versions of tomcat and apache affect each other etc. |etc. | |Would anyone be interested in helping me out? | |Thanks, |Ben Rometsch | | |-- |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]
Website for Tomcat/Apache Integration...
Hi There, Is there a website out there that I have yet to find that details common setups for Tomcat/Apache/Linux ? I cant seem to find any coherent information on this at all. I've been reading and reading and reading (especially about connectors) and I'm still confused... I'd be happy to set up a small site with a few example configurations along with step-by-step instructions on how to get things running under Linux/Windows. Maybe also detailing what the different connectors are, how the different versions of tomcat and apache affect each other etc. etc. Would anyone be interested in helping me out? Thanks, Ben Rometsch -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Website for Tomcat/Apache Integration...
perhaps the abundance of information is confusing... in ten words or less, all you need to do is: Setup apache, and get it to load mod_jk , and the mod_jk.conf Setup tomcat, edit mod_jk.conf, and a workers.properties Restart apache, and you should be cooking with gas. Ignore the bits about jserv, unless you know you need them. They'll just confuse you. it looks a little like this... Apache | | mod_jk | | Tomcat I'll let you find the detail of how to do each of these bits in the doco. Cheers, Chris |-Original Message- |From: Ben Rometsch [mailto:[EMAIL PROTECTED]] |Sent: Thursday, 16 May 2002 09:44 |To: [EMAIL PROTECTED] |Subject: Website for Tomcat/Apache Integration... | | |Hi There, | |Is there a website out there that I have yet to find that |details common |setups for Tomcat/Apache/Linux ? I cant seem to find any coherent |information on this at all. I've been reading and reading and reading |(especially about connectors) and I'm still confused... | |I'd be happy to set up a small site with a few example configurations |along with step-by-step instructions on how to get things running under |Linux/Windows. Maybe also detailing what the different connectors are, |how the different versions of tomcat and apache affect each other etc. |etc. | |Would anyone be interested in helping me out? | |Thanks, |Ben Rometsch | | |-- |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: Website for Tomcat/Apache Integration...
I found this url to be helpful: http://dcb.sun.com/practices/howtos/tomcat_apache.jsp However, I am still trying to get mod_jk to work... regards Jonathan -Original Message- From: Chris Herrmann [mailto:[EMAIL PROTECTED]] Sent: 16 May 2002 02:14 To: 'Tomcat Users List' Subject: RE: Website for Tomcat/Apache Integration... perhaps the abundance of information is confusing... in ten words or less, all you need to do is: Setup apache, and get it to load mod_jk , and the mod_jk.conf Setup tomcat, edit mod_jk.conf, and a workers.properties Restart apache, and you should be cooking with gas. Ignore the bits about jserv, unless you know you need them. They'll just confuse you. it looks a little like this... Apache | | mod_jk | | Tomcat I'll let you find the detail of how to do each of these bits in the doco. Cheers, Chris |-Original Message- |From: Ben Rometsch [mailto:[EMAIL PROTECTED]] |Sent: Thursday, 16 May 2002 09:44 |To: [EMAIL PROTECTED] |Subject: Website for Tomcat/Apache Integration... | | |Hi There, | |Is there a website out there that I have yet to find that |details common |setups for Tomcat/Apache/Linux ? I cant seem to find any coherent |information on this at all. I've been reading and reading and reading |(especially about connectors) and I'm still confused... | |I'd be happy to set up a small site with a few example configurations |along with step-by-step instructions on how to get things running under |Linux/Windows. Maybe also detailing what the different connectors are, |how the different versions of tomcat and apache affect each other etc. |etc. | |Would anyone be interested in helping me out? | |Thanks, |Ben Rometsch | | |-- |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: Questions about Tomcat and Apache Integration?
Subject: Re: Questions about Tomcat and Apache Integration? From: Jack Gao [EMAIL PROTECTED] === Nobody has interests with it? Well, maybe I should give more information. I believe somebody must have interests with it also. I tried to use mod_webapp, but since I can not get apache and tomcat build successfully on my Windows 2000 box, I used precompiled mod_webapp with Tomcat 4.0.1. But it worked very unstable, so I go to mod_jk. mod_jk worked perfect to me. But then I got this question. Now I did more test and research on it, here is what I got. To avoid apache pass all request to Tomcat, I need to add something like this into mod_jk.conf (which will be included in httpd.conf of apache.) JkMount /myapplication/*.jsp ajp13 JkMount /myapplication/servlet/* ajp13 This is what mod_jk how-to document suggestion. So it will only forward request for jsp and servlet to tomcat, and all the others (assume to be static resources) will be handled by apache. So far so good, but it's for Tomcat 3.x, not Tomcat 4.x. Because with Tomcat 3.x, all servlet will go to servlet directory, but with Tomcat 4.x, by default it will not. So, a URL like http://x.xxx.xxx/myapplication/list is very possible to be request of servlet. How can we handle it? We had to use: JkMount /myapplication/* ajp13 This will forward all the request to Tomcat, then we got this static resource problem again. So, maybe we need to keep using /servlet for all servlet request in order to use mod_jk. I don't know if mod_webapp.so resolved this kind of problem, because I can not found document on it. Any commons, suggestions, notes even a link to some documents are welcomed. Thanks, Jack Jack Gao [EMAIL PROTECTED] wrote in message news:a9nmrr$5s0$[EMAIL PROTECTED]... Hi, List I have some questions about Tomcat and Apache integration. As I remember that the reason of not use Tomcat as a web server but only JSP/Servlet engine is because of performance. Tomcat is not as good as Apache to handle large number of requests at same time, and handle static resources. So, I assume that by integrate Tomcat and Apache together, when a request is for a static resource, like a html file or an image file, the request will not go to Tomcat, but been processed by Apache directly. But when I go through the log files of Tomcat 4.0.3, I found that request of image files also go to Tomcat, it also been logged into localhost_access_log..txt file. So I got confused. Does this mean, this image files also processed by Tomcat? or tomcat just log it as a access event, but didn't process it? If Tomcat need to handle this kind of static resources, why we still need Apache? If Apache just pass through the request to Tomcat, and forward response to client, that will not help the performance I think. Anybody has some info on this? Thanks and regards, Jack -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Tomcat - Apache integration problem
My apache is 1.3.12, tomcat is 4.0.3 and OS is Solaris 8. I added following lines in my httpd.conf and certain necessary changes in server.xml. LoadModule webapp_module /usr/apache/libexec/mod_webapp.so AddModule mod_webapp.c VirtualHost 192.168.1.120 ServerName niuniu DocumentRoot /export/home/jyan/utility/jakarta-tomcat-4.0.3/webapps/ WebAppConnection warConnection warp localhost:8008 WebAppDeploy examples warConnection /examples /VirtualHost I then started httpd and tomcat. So far so good and I can visit http://192.168.1.120/ROOT/ which is the same as http://localhost:8080. However, I can not visit http://192.168.1.120 any more. I got 403 forbidden message: You don't have permission to access / on this server. Inaddition, two more things I want to ask: 1) I downloaded mod_webapp.so binary. When I start httpd, I got following warning: [Thu Apr 18 14:10:16 2002] [warn] Loaded DSO /usr/apache/libexec/mod_webapp.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI) So, where can I find the source code for webapp module? Is there anything I need to pay special attention when I recompile this? 2) Though I can not visit http://192.168.1.120, I can still visit http://192.168.1.120/~jyan. But I can not run jsp under $HOME/public_html. The browser simple print the jsp source code into the screen. Can someone please explain it to me? Many thanks. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Tomcat - Apache integration problem
Do you want to be serving from the root on the 192.168.1.120 ... and do you want it to be serving from Tomcat or Apache? The way you have it setup right now the root of 192.168.1.120 will have Apache (not Tomcat) try to serve documents starting at /export/home/jyan/utility/jakarta-tomcat-4.0.3/webapps/ Based on your config, Tomcat will only serve from 192.168.1.120/examples. Joe - Original Message - From: Cheng Yan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, April 18, 2002 11:15 AM Subject: Tomcat - Apache integration problem My apache is 1.3.12, tomcat is 4.0.3 and OS is Solaris 8. I added following lines in my httpd.conf and certain necessary changes in server.xml. LoadModule webapp_module /usr/apache/libexec/mod_webapp.so AddModule mod_webapp.c VirtualHost 192.168.1.120 ServerName niuniu DocumentRoot /export/home/jyan/utility/jakarta-tomcat-4.0.3/webapps/ WebAppConnection warConnection warp localhost:8008 WebAppDeploy examples warConnection /examples /VirtualHost I then started httpd and tomcat. So far so good and I can visit http://192.168.1.120/ROOT/ which is the same as http://localhost:8080. However, I can not visit http://192.168.1.120 any more. I got 403 forbidden message: You don't have permission to access / on this server. Inaddition, two more things I want to ask: 1) I downloaded mod_webapp.so binary. When I start httpd, I got following warning: [Thu Apr 18 14:10:16 2002] [warn] Loaded DSO /usr/apache/libexec/mod_webapp.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI) So, where can I find the source code for webapp module? Is there anything I need to pay special attention when I recompile this? 2) Though I can not visit http://192.168.1.120, I can still visit http://192.168.1.120/~jyan. But I can not run jsp under $HOME/public_html. The browser simple print the jsp source code into the screen. Can someone please explain it to me? Many 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: Tomcat - Apache integration problem
I should have answered these particular questions too. Inaddition, two more things I want to ask: 1) I downloaded mod_webapp.so binary. When I start httpd, I got following warning: [Thu Apr 18 14:10:16 2002] [warn] Loaded DSO /usr/apache/libexec/mod_webapp.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI) So, where can I find the source code for webapp module? Is there anything I need to pay special attention when I recompile this? Generally speaking, this is not really an issue. But if you dont' like the error, the source is here: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/src/ Get the 'connectors' source. 2) Though I can not visit http://192.168.1.120, I can still visit http://192.168.1.120/~jyan. But I can not run jsp under $HOME/public_html. The browser simple print the jsp source code into the screen. This is because it isn't being served by Apache, as per my previous response (below). If you want to serve it properly you will need to do a couple of tricks depending on yoru setup. For example, I am guessing that you are using Apache to do the auto-name redirect for username directories ... is that so? I wrote an article that explains how to set Apache up (though it doesn't mention how to map the user directories), but it will assist in setting up the rest and explain generally how it works. In particular, Page 5 starts the discussion regarding Apache: http://www.codesta.com/knowledge/technical/tomcat_warp_apache/page_05.jsp Have a look there. Joe - Original Message - From: Joseph Molnar [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; Cheng Yan [EMAIL PROTECTED] Sent: Thursday, April 18, 2002 11:29 AM Subject: Re: Tomcat - Apache integration problem Do you want to be serving from the root on the 192.168.1.120 ... and do you want it to be serving from Tomcat or Apache? The way you have it setup right now the root of 192.168.1.120 will have Apache (not Tomcat) try to serve documents starting at /export/home/jyan/utility/jakarta-tomcat-4.0.3/webapps/ Based on your config, Tomcat will only serve from 192.168.1.120/examples. Joe -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Tomcat - Apache integration problem
2) Though I can not visit http://192.168.1.120, I can still visit http://192.168.1.120/~jyan. But I can not run jsp under $HOME/public_html. The browser simple print the jsp source code into the screen. This is because it isn't being served by Apache, as per my previous response (below). If you want to serve it properly you will need to do a couple of tricks depending on yoru setup. For example, I am guessing that you are using Apache to do the auto-name redirect for username directories ... is that so? Okay I REALLY need some coffee... The first line should have read: This is because it isn't being served by Tomcat, as per my previous response Operative word 'Tomcat' ... the problem is Apache isn't configured to send the requests down WARP to Tomcat. Joe -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Tomcat - Apache integration problem
Thank you so much, Joe. I am going to read your article now. Meanwhile, let me ask you a few more dumb questions. :) I am new to this. I have to admit that I don't quite understand your questions. :-( Here is what I want to make sure whether I can do: 1) After tomcat and apache integration, I can visit http://192.168.1.120 2) In my httpd.conf, the DocumentRoot is defined as /var/apache/htdocs. Is it possible to run jsp under /var/apache/htdocs? 3) Is it possible to run jsp under $HOME/public_html. 4) With current settings, I can visit http://192.168.1.120/ROOT, which leads me to $CATALINA_HOME/webapps/ROOT. But I can not run jsp pages under $CATALINA_HOME/webapps/ROOT. is it possible to do this? BTW, I can run jsp under http://192.168.1.120:8080 with no problems at all. Cheng - Original Message - From: Joseph Molnar [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; Cheng Yan [EMAIL PROTECTED] Sent: Thursday, April 18, 2002 15:54 Subject: Re: Tomcat - Apache integration problem 2) Though I can not visit http://192.168.1.120, I can still visit http://192.168.1.120/~jyan. But I can not run jsp under $HOME/public_html. The browser simple print the jsp source code into the screen. This is because it isn't being served by Apache, as per my previous response (below). If you want to serve it properly you will need to do a couple of tricks depending on yoru setup. For example, I am guessing that you are using Apache to do the auto-name redirect for username directories ... is that so? Okay I REALLY need some coffee... The first line should have read: This is because it isn't being served by Tomcat, as per my previous response Operative word 'Tomcat' ... the problem is Apache isn't configured to send the requests down WARP to Tomcat. Joe -- 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: Tomcat - Apache integration problem
Joe, Sorry for asking those dumb questions in my previous email. Now I think I understand your reply. Here are some follow-up questions. Under my $CATALINA_HOME/webapps, there are five subdirs: examples/ manager/ ROOT/ tomcat-docs/ webdav/, which is standard. The mode for all these subdirs are 755. Therefore, when I goto httpd://192.168.1.120, I would expect a list of these five subdirs, wouldn't I? Why should I get 403 Forbidden error? With my current settings, I can visit httpd://192.168.1.120/ROOT. But I can not run jsp here. How can I reset it so that httpd://192.168.1.120/ROOT will be served by tomcat? Thank you. Cheng - Original Message - From: Joseph Molnar [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; Cheng Yan [EMAIL PROTECTED] Sent: Thursday, April 18, 2002 14:29 Subject: Re: Tomcat - Apache integration problem Do you want to be serving from the root on the 192.168.1.120 ... and do you want it to be serving from Tomcat or Apache? The way you have it setup right now the root of 192.168.1.120 will have Apache (not Tomcat) try to serve documents starting at /export/home/jyan/utility/jakarta-tomcat-4.0.3/webapps/ Based on your config, Tomcat will only serve from 192.168.1.120/examples. Joe - Original Message - From: Cheng Yan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, April 18, 2002 11:15 AM Subject: Tomcat - Apache integration problem My apache is 1.3.12, tomcat is 4.0.3 and OS is Solaris 8. I added following lines in my httpd.conf and certain necessary changes in server.xml. LoadModule webapp_module /usr/apache/libexec/mod_webapp.so AddModule mod_webapp.c VirtualHost 192.168.1.120 ServerName niuniu DocumentRoot /export/home/jyan/utility/jakarta-tomcat-4.0.3/webapps/ WebAppConnection warConnection warp localhost:8008 WebAppDeploy examples warConnection /examples /VirtualHost I then started httpd and tomcat. So far so good and I can visit http://192.168.1.120/ROOT/ which is the same as http://localhost:8080. However, I can not visit http://192.168.1.120 any more. I got 403 forbidden message: You don't have permission to access / on this server. Inaddition, two more things I want to ask: 1) I downloaded mod_webapp.so binary. When I start httpd, I got following warning: [Thu Apr 18 14:10:16 2002] [warn] Loaded DSO /usr/apache/libexec/mod_webapp.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI) So, where can I find the source code for webapp module? Is there anything I need to pay special attention when I recompile this? 2) Though I can not visit http://192.168.1.120, I can still visit http://192.168.1.120/~jyan. But I can not run jsp under $HOME/public_html. The browser simple print the jsp source code into the screen. Can someone please explain it to me? Many 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: Tomcat - Apache integration problem
Under my $CATALINA_HOME/webapps, there are five subdirs: examples/ manager/ ROOT/ tomcat-docs/ webdav/, which is standard. The mode for all these subdirs are 755. Therefore, when I goto httpd://192.168.1.120, I would expect a list of these five subdirs, wouldn't I? Why should I get 403 Forbidden error? This is an Apache issue (since it is Apache serving it up). I am guessing that you don't actually want to serve from there correct? Look below, and it should make it serve properly (presumingly ROOT). With my current settings, I can visit httpd://192.168.1.120/ROOT. But I can not run jsp here. How can I reset it so that httpd://192.168.1.120/ROOT will be served by tomcat? You can't run them there because of the way you have your configuration. In your httpd.conf you have WebAppDeploy examples warConnection /examples Which means your http:/192.168.1.120/examples is the only area that will allow jsps to be served from at this point. If you want the root (/) to be ROOT: WebAppDeploy ROOT warConnection / Joe -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Questions about Tomcat and Apache Integration?
Subject: Questions about Tomcat and Apache Integration? From: Jack Gao [EMAIL PROTECTED] === Hi, List I have some questions about Tomcat and Apache integration. As I remember that the reason of not use Tomcat as a web server but only JSP/Servlet engine is because of performance. Tomcat is not as good as Apache to handle large number of requests at same time, and handle static resources. So, I assume that by integrate Tomcat and Apache together, when a request is for a static resource, like a html file or an image file, the request will not go to Tomcat, but been processed by Apache directly. But when I go through the log files of Tomcat 4.0.3, I found that request of image files also go to Tomcat, it also been logged into localhost_access_log..txt file. So I got confused. Does this mean, this image files also processed by Tomcat? or tomcat just log it as a access event, but didn't process it? If Tomcat need to handle this kind of static resources, why we still need Apache? If Apache just pass through the request to Tomcat, and forward response to client, that will not help the performance I think. Anybody has some info on this? Thanks and regards, Jack -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Questions about Tomcat and Apache Integration?
Seems to be a common problem. The webapp Deploy statement (using mod webapp) will run everything in the 'deployed' directory tree, including images through tomcat. It's not a good idea to put static resources there, IMHO. If you have to put them there, but want apache to serve them, then us the Alias directive in Apache so that apache grabs them from a different URI, like this: alias /images/ /$tomcat/webapps/webapp/images/ This way the uri doesn't contain the path that is in the webapp Deploy statement, so it wont pass the request to tomcat. Ken Jakarta Tomcat Newsgroup (@Basebeans.com) wrote: Subject: Questions about Tomcat and Apache Integration? From: Jack Gao [EMAIL PROTECTED] === Hi, List I have some questions about Tomcat and Apache integration. As I remember that the reason of not use Tomcat as a web server but only JSP/Servlet engine is because of performance. Tomcat is not as good as Apache to handle large number of requests at same time, and handle static resources. So, I assume that by integrate Tomcat and Apache together, when a request is for a static resource, like a html file or an image file, the request will not go to Tomcat, but been processed by Apache directly. But when I go through the log files of Tomcat 4.0.3, I found that request of image files also go to Tomcat, it also been logged into localhost_access_log..txt file. So I got confused. Does this mean, this image files also processed by Tomcat? or tomcat just log it as a access event, but didn't process it? If Tomcat need to handle this kind of static resources, why we still need Apache? If Apache just pass through the request to Tomcat, and forward response to client, that will not help the performance I think. Anybody has some info on this? Thanks and regards, Jack -- 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]
tomcat/apache integration
Hi, I apologize if this is not an appropriate questionfor this user list, I am uncertain if it is a Tomcat or Apache question... Are there any known changes in the way that Tomcat is integrated into Apache 1.3.22 versus Apache 1.3.23? I just upgraded my server from 1.3.22 to 1.3.23 (the configuration is unchanged). The Apache-Tomcat integration was working fine before the upgrade but now the Apache server is unable to deploy Tomcat webapps. When I start up the server, the error_log begins filling up with lines like: [Mon Feb 25 13:35:20 2002] [error] Cannot deploy application examples Tomcat is running okay, I can connect to it through the stand-alone port and all servlets, jsps and soap services work correctly, but the apache_log (that is the apache log under Tomcat) shows this error: 2002-02-25 13:35:19 [org.apache.catalina.connector.warp.WarpConfigurationHandler] java.lang.IllegalArgumentException: addChild: Child name 'sage.mip.berkeley.edu' is not unique The name sage.mip.berkeley.edu appears exactly 1 time in the Apache and Tomcat config files, in the Apache ServerName directive, warp connections are declared using localhost, i.e: WebAppConnection conn warp localhost:8008 WebAppDeploy examples conn /examples Any ideas on this would be greatly appreciated... Glen Jackson Museum Informatics Project UC, Berkeley -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: tomcat/apache integration
Try downloading and using the latest mod_webapp cause it may be a problem with that and not your config On February 25, 2002 04:29 pm, you wrote: Hi, I apologize if this is not an appropriate questionfor this user list, I am uncertain if it is a Tomcat or Apache question... Are there any known changes in the way that Tomcat is integrated into Apache 1.3.22 versus Apache 1.3.23? I just upgraded my server from 1.3.22 to 1.3.23 (the configuration is unchanged). The Apache-Tomcat integration was working fine before the upgrade but now the Apache server is unable to deploy Tomcat webapps. When I start up the server, the error_log begins filling up with lines like: [Mon Feb 25 13:35:20 2002] [error] Cannot deploy application examples Tomcat is running okay, I can connect to it through the stand-alone port and all servlets, jsps and soap services work correctly, but the apache_log (that is the apache log under Tomcat) shows this error: 2002-02-25 13:35:19 [org.apache.catalina.connector.warp.WarpConfigurationHandler] java.lang.IllegalArgumentException: addChild: Child name 'sage.mip.berkeley.edu' is not unique The name sage.mip.berkeley.edu appears exactly 1 time in the Apache and Tomcat config files, in the Apache ServerName directive, warp connections are declared using localhost, i.e: WebAppConnection conn warp localhost:8008 WebAppDeploy examples conn /examples Any ideas on this would be greatly appreciated... Glen Jackson Museum Informatics Project UC, Berkeley -- 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]
Tomcat3.2.3 and Apache Integration
hi matt , use Mod_jk.dll to coneect Tomcat and Apache . u will get this file from http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.3/bin/win32/i386/ ( for tomcat3.2.3 and windows os. try after/bin/for other os ) then copy this file in Apache_home\modules. when u restart tomcat , each time there will be Mod_jk.conf-auto autogenerated file. include this file in httpd.conf in Apache_home\conf as given below #!-- start edit as per setting.doc by Nagesh on 28-08-2001*/ **$$** # Load mod_jk # LoadModulejk_module D:\apache\modules\mod_jk.dll AddModule mod_jk.c # Configure mod_jk # JkWorkersFile D:\jakarta-tomcat-3.2.3\conf\workers.properties JkLogFile D:\jakarta-tomcat-3.2.3\logs\mod_jk.log JkLogLevelwarn include D:\jakarta-tomcat-3.2.3\conf\mod_jk.conf-auto #!-- end edit as per setting.doc by Nagesh on 28-08-2001 **$$** where D:\apache is Apache_home and D:\jakarta-tomcat-3.2.3 is tomcat_home. try it out . Also check ur tomcat_home\conf\workers.properties file for Tomcat_home and JDK_home having the correct values or not . All the best . cheers nagesh
Re: Tomcat-Apache integration
On Tue, 24 Jul 2001, Gurjeet Singh Osahan wrote: SNIP-SNIP First I run tomcat3.2.3 and it runs fine Next when I try running apache it gives the error message : Invalid command JkWorkersFile,perhaps mispelled or defined by a module not included in the servers cofiguration Is some command to be added in httpd.conf file. --On tirsdag, juli 24, 2001 15:56:43 +1000 Dmitri Colebatch [EMAIL PROTECTED] wrote: You have loaded the module haven't you? LoadModule jk_module /packages/apache/libexec/mod_jk.so /SNIP-SNIP I recently integrated tomcat 3.2.3 with Apache 1.3.14 on a system slightly upgraded from RedHat 7.0, using mod_jk. The auto-generated configuration-file (made for inclusion in httpd.conf), searched for mod_jk.so in the libexec-directory, while it turned out that the httpd.conf-file requested libraries through a directory-link called modules. I solved the problem by creating a link called libexec in the same place as the link called modules, pointing at the same directory as modules, that is /usr/lib/apache. I think this Apache-installation was the standard installation that came with RedHat 7.0, so the problem with incorrect names and links might apply elsewhere. This is worth a look-see if you still have this problem. Then again, someone here might've been tweeking on our Apache without my knowledge of it ;) Regards, Arne Meyer Hansen
Tomcat-Apache integration
Hi, I have Apache1.3.12 build with DSO support. First I run tomcat3.2.3 and it runs fine Next when I try running apache it gives the error message : "Invalid command JkWorkersFile,perhaps mispelled or defined by a module not included in the servers cofiguration" Is some command to be added in httpd.conf file. Please help. Thanks in advance. Regards, Gurjeet
Re: Tomcat-Apache integration
You have loaded the module haven't you? LoadModule jk_module /packages/apache/libexec/mod_jk.so cheers dim On Tue, 24 Jul 2001, Gurjeet Singh Osahan wrote: Hi, I have Apache1.3.12 build with DSO support. First I run tomcat3.2.3 and it runs fine Next when I try running apache it gives the error message : Invalid command JkWorkersFile,perhaps mispelled or defined by a module not included in the servers cofiguration Is some command to be added in httpd.conf file. Please help. Thanks in advance. Regards, Gurjeet
Apache Integration
Hi, new user here. I have successfully installed Tomcat on my Linux Madrake (7.2) distribution. I can successfully run all the servlets and JSP pages from the /examples app that ships with Tomcat if I connect to it directly (i.e., www.mycomputer.com:8080/examples) My problem is when I try to access it via Apache. I have included the mod_jk.conf-auto, put the mod_jk.so into the appropriate directory as described in the how-tos. I can access the static pages by going to www.mycomputer.com/examples/ (note that this requires me to put the '/' at the end of the URL as opposed to accessing directly, which only ran without it). Whenever I click on a link for a Servlet or JSP, I get a 404. I am starting Tomcat first and then Apache as the how-to mentioned that Tomcat updates the mod_jk.conf-auto each time it starts. (I have also tried it the other way around (starting Apache first) just to see. Any ideas would be greatly appreciated. -- Bryce Fischer [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Apache Integration As Well
This question has prolly been asked a lot but I currently have a Context Manager set up for the root directory /home/http/jsp However, I would like any page with a .jsp extension and not just located in that directory to be recognized by tomcat I have added the following to my httpd.conf file IfModule mod_dir.c DirectoryIndex index.html index.jsp/IfModule I have 4 virtual hosts in my httpd.conf file. Do I need to set up vhosts in tomcat? thanx -ryan
Tomcat and Apache integration
I'd like to use the Apache web server with Tomcat. I haven't managed to locate any documentation in this regard. Can someone point me to the URL? Thank you, Paul Asarak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Tomcat and Apache integration
Check it out... http://www.ccl.net/cca/software/UNIX/apache/ On Tue, 30 Jan 2001 [EMAIL PROTECTED] wrote: I'd like to use the Apache web server with Tomcat. I haven't managed to locate any documentation in this regard. Can someone point me to the URL? Thank you, Paul Asarak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] Jan K. Labanowski|phone: 614-292-9279, FAX: 614-292-7168 Ohio Supercomputer Center|Internet: [EMAIL PROTECTED] 1224 Kinnear Rd, |http://www.ccl.net/chemistry.html Columbus, OH 43212-1163 |http://www.osc.edu/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Tomcat and Apache integration
Try http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/tomcat-apache-howto. html Gilles -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 30, 2001 11:17 AM To: [EMAIL PROTECTED] Subject: Tomcat and Apache integration I'd like to use the Apache web server with Tomcat. I haven't managed to locate any documentation in this regard. Can someone point me to the URL? Thank you, Paul Asarak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]