From owner-freebsd-java Tue Dec 17 5: 3:15 2002 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 032FF37B401 for ; Tue, 17 Dec 2002 05:03:14 -0800 (PST) Received: from smtp.jcnet.ad.jp (smtp.jcnet.ad.jp [218.219.80.139]) by mx1.FreeBSD.org (Postfix) with SMTP id DD64443EA9 for ; Tue, 17 Dec 2002 05:03:12 -0800 (PST) (envelope-from westbay@seaple.icc.ne.jp) Received: (qmail 2598 invoked from network); 17 Dec 2002 22:03:01 +0900 Received: from cr1-167-204.seaple.icc.ne.jp (HELO firstbase.westbay.fa.jp) (219.117.167.204) by ml02vsv.sv.jcnet.ad.jp with SMTP; 17 Dec 2002 22:03:01 +0900 Content-Type: text/plain; charset="iso-8859-1" From: Michael Westbay To: java@FreeBSD.ORG Subject: Re: JBoss port & JAVA_HOME variable Date: Tue, 17 Dec 2002 22:02:42 +0900 User-Agent: KMail/1.4.2 References: <3DFEFA12.50601@ra.rockwell.com> In-Reply-To: <3DFEFA12.50601@ra.rockwell.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200212172202.42416.westbay@seaple.icc.ne.jp> 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 Kes-san wrote: > [...] but I got an error message that indicated that Jetty couldn't > find javac classes. Jetty expects tools.jar file at > $JAVA_HOME/lib/tools.jar to be able to compile JSPs. > The question is how should I correctly define the JAVA_HOME variable > when the JBoss is started at the boot time. JBoss is started through > /usr/local/bin/jboss3ctl which is a binary file and I haven't found any > info what it really does. [...] There should be a .sh script in /usr/local/etc/rc.d to start jboss. Just= set=20 and export JAVA_HOME there before the start/stop/* case statement. That = will=20 take care of it at system startup. After system startup, you can use that script, or set JAVA_HOME in your=20 =2Eprofile to start/stop via jboss3ctl at the command line. --=20 Michael Westbay Work: Beacon-IT http://www.beacon-it.co.jp/ Home: http://www.seaple.icc.ne.jp/~westbay Commentary: http://www.japanesebaseball.com/forum/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message