From owner-freebsd-java@FreeBSD.ORG Sun Sep 14 13:32:59 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 32B9116A4BF for ; Sun, 14 Sep 2003 13:32:59 -0700 (PDT) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0FA943FDF for ; Sun, 14 Sep 2003 13:32:57 -0700 (PDT) (envelope-from jonc@chen.org.nz) Received: from grimoire.chen.org.nz (localhost [127.0.0.1]) by chen.org.nz (8.12.9/8.12.9) with ESMTP id h8EKWrUc004546; Mon, 15 Sep 2003 08:32:53 +1200 (NZST) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.9/8.12.9/Submit) id h8EKWpOP004545; Mon, 15 Sep 2003 08:32:51 +1200 (NZST) (envelope-from jonc) Date: Mon, 15 Sep 2003 08:32:51 +1200 From: Jonathan Chen To: Andrea Sansottera Message-ID: <20030914203251.GB4420@grimoire.chen.org.nz> References: <200309101118.48214.ernst.dehaan@nl.wanadoo.com> <20030910092526.GA48381@rot13.obsecurity.org> <1063541917.10543.10.camel@bh2.bh> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1063541917.10543.10.camel@bh2.bh> User-Agent: Mutt/1.4.1i cc: freebsd-java@freebsd.org Subject: Re: jboss3 port doesn't work X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2003 20:32:59 -0000 On Sun, Sep 14, 2003 at 02:20:39PM +0200, Andrea Sansottera wrote: > Hi, > > I have upgraded my port collection to that of 13.09.2003 (yesterday!). > > I have found /usr/ports/java/jboss3 which is the port of jboss 3.2.1. > > It required diablo-jdk1.3.1, so I made a "make install clean" and it > installed both jboss and diablo-jdk. > > I went to the /usr/local/jboss3.2/bin directory and as I usually do on > linux a typed: > > sh run.sh > > JBoss fails to start. My JAVA_HOME var points to > /usr/local/diablo-jdk1.3.1. I am not very experienced in jboss but the > same version on linux, with jdk 1.4, works well, so it's not my fault, I > suppose. Maybe, does jboss neek jdk 1.4? Anyway this port does not seem > to work. JBoss needs is usually started by root on boot, with: # /usr/local/etc/rc.d/020.jboss3.sh start This will make JBoss run with the "www" uid. You can also add yourself to the "www" group, and start it with: $ jboss3ctl start However, there *is* a problem with the port. You need to do the following first: # chown www /usr/local/jboss3.2 /usr/local/jboss3.2/server/* Otherwise JBoss won't start up properly with the "www" uid. -- Jonathan Chen ---------------------------------------------------------------------- "Only the meek get pinched. The bold survive." - Ferris Bueller