Interesting. FWIW, I am using Resin for about 10 web-apps on a single machine, where each web-app has different criteria for logging, virtual hosts, rewriting etc. I know a couple of the posters pointed out that that was a good reason to use Apache as a front-end, but I haven't found it necessary at all. I used to be a big Apache fan about 5 years ago, but since I have decoupled Apache from Resin and went exclusively with Resin I have had no regrets. In fact I am much happier with the more simple configuration.
Aaron -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of david day Sent: Friday, March 13, 2009 11:18 AM To: General Discussion for the Resin application server Subject: Re: [Resin-interest] mod_caucho failure on CentOS 5.2/Apache 2.2 OK, there is a solution. It was not APR which was high on our suspect list. Mea culpa. The test servers built to evaluate upgrading from 3.1.3 to 3.1.8 were built on CentOS 5 with SELinux enabled. There, I've said it. Self inflicted. We don't use SELinux, not sure how it was missed on the test servers, but not its obvious it should have made the troubleshooting list. During the build so much focus was poured into C, Apache, and potential effects of breaking the mod_caucho build we never went further. Once I switched my focus to implementing without mod_caucho I focussed on Apache logs rather than stack traces and debug. Error logs during mod_caucho testing were along these lines: mod_caucho.c:934:caucho_request(): no connection: cluster(0x89a0350) But with only Apache and reverse proxy to deal with, this output provided a huge lead: [error] proxy: HTTP: disabled connection for (192.168.1.2) [error] (13)Permission denied: proxy: HTTP: attempt to connect to localhost:8080 (192.168.1.2) failed [error] ap_proxy_connect_backend disabling worker for (192.168.1.2) That led me to SELinux, and the rest of the tale quickly revealed itself. It has led me to evaluate using mod_proxy, and potentially resin.xml for rewrites which will loosen the tying of our various apps to the one instance of Apache. So its not all bad news. David _______________________________________________ resin-interest mailing list [email protected] http://maillist.caucho.com/mailman/listinfo/resin-interest No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.237 / Virus Database: 270.11.9/1992 - Release Date: 03/13/09 05:59:00 _______________________________________________ resin-interest mailing list [email protected] http://maillist.caucho.com/mailman/listinfo/resin-interest
