From owner-freebsd-questions@FreeBSD.ORG Sat May 5 09:45:30 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5A3FD16A401 for ; Sat, 5 May 2007 09:45:30 +0000 (UTC) (envelope-from charlie.mas@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.250]) by mx1.freebsd.org (Postfix) with ESMTP id 1A37013C43E for ; Sat, 5 May 2007 09:45:29 +0000 (UTC) (envelope-from charlie.mas@gmail.com) Received: by an-out-0708.google.com with SMTP id d23so7802and for ; Sat, 05 May 2007 02:45:29 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PCNxB1FJfYe1MRITjO+N/TvjApWKIxRjCsQrIETisuYtj7JTxoKHdlAW+1ky6P/Kazm7iemN9Y+6/OxBcTXjdNVTzB8FRD1Oo/tm4hCri1OHU5W/WpU7sviL1RGCAFTozCg3D2RxkBXmK3F/NN6Qo3LY/Qg7l97GY5uxH2P3T5U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mPf45HVugMG8kiLHr8+oxT62+lbSPxefOQQdOngt7pKyg/0V8WjRpeL9G9pL1ntYI8XTQBEYWP+5m+cLizkjEY9nr4whfPXWGKeSGQGC6HgGls7ndYO+V3fbpV/0EoHzkLdzQY9JRV1KNgdboQCftEuLbzZpD4UVP/WSN5zwCHY= Received: by 10.100.34.16 with SMTP id h16mr119656anh.1178358329495; Sat, 05 May 2007 02:45:29 -0700 (PDT) Received: by 10.100.152.6 with HTTP; Sat, 5 May 2007 02:45:29 -0700 (PDT) Message-ID: <1960fb140705050245p4f2542e3m98de04c0fbbc4f52@mail.gmail.com> Date: Sat, 5 May 2007 10:45:29 +0100 From: "Charles Mason" To: "Warren Block" In-Reply-To: <20070504182833.J71856@wonkity.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1960fb140705040459w6631adeanc901b8c09806d12a@mail.gmail.com> <20070504182833.J71856@wonkity.com> Cc: freebsd-questions@freebsd.org Subject: Re: Creating an rc.d script for Jboss Web X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: charlie@cpsoftware.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 09:45:30 -0000 > It sounds like you haven't used the ports version of JBoss. The ports > versions may have prewritten scripts that would do what you want: > > /usr/ports/java/jboss2 > /usr/ports/java/jboss3 > /usr/ports/java/jboss4 > /usr/ports/java/jboss5 Jboss Web is not the same as the Jboss application server. Jboss Web is a fairly new is a lite wight servlet server like Tomcat. Jboss application server is a full J2EE application server which uses tomcats web serving engine as a front end. Jboss Web is a Tomcat replacement not an application server replacement. Its basically an optimised version of Tomcat. Where all the static file serving java code has been replaced with extremely efficient native code. Hence why it needs to be rebuilt for each platform. Basically it uses Tomcat derived code for serving sevlets and Apache derived code for when a static file is requested. Hence there's no need to front Tomcat with Apache any more. There is no version of Jboss Web in the ports collection. I was thinking it might be possible to extract the rc.d from the the Jboss 4 port, although I am not quite sure where the ports scripts store there rc.d scripts. Charlie