From owner-freebsd-java Tue Aug 28 13:11:32 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 1F2EE37B406 for ; Tue, 28 Aug 2001 13:11:25 -0700 (PDT) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.4) id f7SK9mT09538; Tue, 28 Aug 2001 22:09:48 +0200 (CEST) (envelope-from ernst) Date: Tue, 28 Aug 2001 22:09:47 +0200 From: Ernst de Haan To: Alexandre Bouchard Cc: freebsd-java@FreeBSD.ORG Subject: Re: Tomcat3/4+Apache architecture on BSD Message-ID: <20010828220947.A9506@c104187.upc-c.chello.nl> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from rolivawdaneel@hotmail.com on Mon, Aug 27, 2001 at 03:37:33AM +0000 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Alexandre, > We will deploy very soon a web server that need to support java servlets, > jSP and perhaps EJBs (if we use tomcat4). We dont know yet if we will use > BSD or Solaris8. Use BSD :-) You'll thank me for it ;) > I was wondering how close is the integration of Apache, Jakarta-Tomcat and > the BSD plateform. I already know that Apache and Jakarta work very well > together with an ajp connector. But to be reliable, our architecture must be > built on a solid and mature Java Virtual Machine. A stable built of Java 2 > is mandatory for us. Install mod_jk ('make install' in /usr/ports/www/mod_jk), this will install Apache and Tomcat 3 as well, as dependencies. If your ports tree is up to date, then these will be the latest versions. Then make sure Tomcat uses JDK 1.2 instead of the default JDK 1.1. You'll have to install one of the JDK 1.2's for that. I suggest you install the native JDK 1.2.2, available from /usr/ports/java/jdk12-beta/, but don't let the -beta scare you, IMO this JDK runs more reliable than any of the 1.2 JDK's on Windoze, at least for server-side purposes. In our experience (I work as a development team leader) the integration of Tomcat and Apache on FreeBSD is very smooth. We've integrated deployment on Tomcat in our Ant build process, so redeployment is just a matter of executing: $ ant redeploy You can see the build file if you like (privmsg me). If you need a production-quality web container, then I suggest you take a look at Orion as well. It's commercial, it's much more stable (although Tomcat isn't bad) and it supports the complete J2EE platform. See: http://www.orionserver.com/ Good luck. /Ernst > I am an opensourcist (but with previous experience only on linuxes) so I > would like to convince my team to use BSD. But officially sun supports only > windozes and redhat.. I would appreciate if someone could tell me if it is > reliable to built an architecture such as ours on the BSD plateform and why. > > Thank you > > Alexandre Bouchard > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > -- Ernst de Haan Euronet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message