From owner-freebsd-java@FreeBSD.ORG Thu Jul 26 12:38:07 2007 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E3BA16A417 for ; Thu, 26 Jul 2007 12:38:07 +0000 (UTC) (envelope-from niek@bigfoot.com) Received: from smtp-3.orange.nl (smtp-3.orange.nl [193.252.22.243]) by mx1.freebsd.org (Postfix) with ESMTP id 00D9413C461 for ; Thu, 26 Jul 2007 12:38:06 +0000 (UTC) (envelope-from niek@bigfoot.com) Received: from smtp-3.orange.nl (mwinf6202 [10.232.1.24]) by mwinf6205.orange.nl (SMTP Server) with ESMTP id 266EE1C0083C for ; Thu, 26 Jul 2007 14:21:20 +0200 (CEST) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf6202.orange.nl (SMTP Server) with ESMTP id 2EFAD1C0008A for ; Thu, 26 Jul 2007 14:21:18 +0200 (CEST) Received: from [192.168.250.2] (s5591888a.adsl.wanadoo.nl [85.145.136.138]) by mwinf6202.orange.nl (SMTP Server) with ESMTP id D56631C00087; Thu, 26 Jul 2007 14:21:17 +0200 (CEST) X-ME-UUID: 20070726122117874.D56631C00087@mwinf6202.orange.nl Message-ID: <46A89190.7060404@bigfoot.com> Date: Thu, 26 Jul 2007 14:20:32 +0200 From: Niek User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.5) Gecko/20070716 SeaMonkey/1.1.3 MIME-Version: 1.0 To: freebsd-java@freebsd.org References: <20070726120013.05FF916A501@hub.freebsd.org> In-Reply-To: <20070726120013.05FF916A501@hub.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: ernst@ernstdehaan.com Subject: Re: freebsd-java Digest, Vol 225, Issue 3 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2007 12:38:07 -0000 > > ------------------------------------------------------------------------ > > > To: > java@FreeBSD.org > CC: > > > Herewith I'm requesting some advice from people that have experience > with Apache/Tomcat integration and/or with advanced Jail-configuration. > > I'm writing a HOWTO article: > http://wiki.freebsd.org/AppserverJailsHOWTO > > which aims to show how to install: > - Apache 2.2 with SSL (HTTPS) > - Tomcat 6.0 > - the native JDK 1.5.0 > - ezjails 2.0.1 > in a (fairly) secure FreeBSD 6.x environment, using Jails. > > It will probably take me at least a few days (though weeks may be more > likely) to finish the article, so while I'm working on it advice and > suggestions are highly appreciated! > > Some concrete questions: > - is Apache 2.2 indeed considered stable on FreeBSD 6.2? > - is Tomcat 6.0 considered stable on FreeBSD 6.2? > - what method of Apache-Tomcat integration works for you? > - any experience with mod_proxy_ajp? > - any experience with jailing Apache, using a loopback device alias > (127.0.0.x)? > - which options are there for forwarding from an external network port > to an internal loopback device alias? > Hi Ernst, An excellent initiative, IMHO. I am running Apache 2.3 on 6.2 (amd64) and I have no problems with it. I am using Tomcat 5.5.x and I connect using mod_jk. It works fine. I also tried mod_proxy_ajp, to no avail. The connection simply hangs, timing out in the browser. There is no error log whatsoever indicating the problem. It might be a configuration error though. I filed a problem report (http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/106445), but there was no reaction to it. With regard to jails, I have played around with ezjails, but did not yet utilize it with Tomcat or Apache. Niek