Date: Thu, 14 Oct 2010 13:30:12 -0400 From: Tim Kellers <timothyk@wallnet.com> To: freebsd-questions <freebsd-questions@freebsd.org> Cc: Christer Solskogen <christer.solskogen@gmail.com>, Tim Kellers <kellers@njit.edu>, Andy Wodfer <wodfer@gmail.com> Subject: Re: Resin 3.1.9, Apache 2.2.16 and mod_caucho? Message-ID: <4CB73E24.3010108@wallnet.com> In-Reply-To: <4CB7393B.7000302@wallnet.com> References: <AANLkTimJ%2B5J7wCoo%2BAuV0C-cdZGf5_nhrLm4QOe4xRZY@mail.gmail.com> <AANLkTim8G3EV2Z6byBPFFbrj9rbdD8e9MVPeRpEgrRDJ@mail.gmail.com> <AANLkTimX49jfRK2ocJiREkT804-=K%2B2bCawWG6PuerHF@mail.gmail.com> <AANLkTikpDpRojp4pGV-HG58DUv3USn5BxKTDgt7r6ei0@mail.gmail.com> <4CB7393B.7000302@wallnet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10/14/10 13:09, Tim Kellers wrote: > On 10/14/10 12:11, Christer Solskogen wrote: >> On Thu, Oct 14, 2010 at 3:07 PM, Andy Wodfer<wodfer@gmail.com> wrote: >>> On Thu, Oct 14, 2010 at 1:06 PM, Christer Solskogen< >>> christer.solskogen@gmail.com> wrote: >>> >>>> On Thu, Oct 14, 2010 at 10:16 AM, Andy Wodfer<wodfer@gmail.com> >>>> wrote: >>>>> Hi, >>>>> I'm trying to install Resin together with Apache and according to all >>>>> documentation I can find I'm supposed to compile the mod_caucho and >>>> include >>>>> this in the Apache httpd.conf, but I can't find any reference to >>>> mod_caucho >>>>> in my ports, system or compile options. >>>>> >>>>> Is the documentation outdated or can anyone give me some pointers >>>>> as to >>>> how >>>>> I can make requests to Java sites go through Apache (using virtual >>>> hosts)? >>>>> Ie. http://caucho.com/resin-3.1/doc/install-apache.xtp >>>>> >>>>> Both Apache (port 80) and Resin3.1 (port 8080) runs fine alone. >>>>> >>>> You probably have that module already installed. It comes with >>>> www/resin3 according to the Makefile. >>>> >>> Don't think so. locate (updated) and find only shows these: >>> >>> ./tmp/caucho >>> ./usr/local/resin3/webapps/resin-doc/WEB-INF/classes/com/caucho >>> ./usr/local/resin3/webapps/resin-doc/WEB-INF/xsl/caucho >>> ./usr/local/resin3/webapps/resin-doc/examples/amber-basic/WEB-INF/classes/com/caucho >>> >>> >> You might need to have apache[2|22] installed first. >> >> > After I built and installed Resin (with make WITH_APACHE2="YES" > install) and followed the config instructions in the pkg_messages), I > cd'd to: > /usr/ports/www/resin3/work/resin-3.1.9/modules/c/src/apache2/.libs and > copied mod_caucho.so to /usr/local/libexec/apache22 > > I restarted apache and have this output from nmap -A localhost:80 > > /tcp open http Apache httpd 2.2.16 ((FreeBSD) mod_ssl/2.2.16 > OpenSSL/0.9.8n DAV/2 PHP/5.2.14 with Suhosin-Patch Resin/3.1.9) > |_http-methods: No Allow or Public header in OPTIONS response (status > code 503) > |_html-title: 503 Service Temporarily Unavailable > > and > > 8080/tcp open http Caucho Resin JSP engine 3.1.9 > |_http-methods: No Allow or Public header in OPTIONS response (status > code 200) > |_html-title: Resin® Default Home Page > |_http-open-proxy: Proxy might be redirecting requests > Device type: general purpose > Running: FreeBSD 8.X > OS details: FreeBSD 8.0-BETA2 - 8.0-RELEASE > Network Distance: 0 hops > Service Info: Host: beta.maestro; OSs: Unix, FreeBSD > > It looks like manually copying those files does get the server working > both standalone and in aoache22. > > Tim Kellers > NJIT > > I should have also mentioned that I added this line to my /usr/local/etc/apache22/httpd.conf: LoadModule caucho_module libexec/apache22/mod_caucho.so Below the already listed LoadModule lines. Tim Kellers NJIT
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CB73E24.3010108>