Date: Tue, 17 Dec 2002 22:02:42 +0900 From: Michael Westbay <westbay@seaple.icc.ne.jp> To: java@FreeBSD.ORG Subject: Re: JBoss port & JAVA_HOME variable Message-ID: <200212172202.42416.westbay@seaple.icc.ne.jp> In-Reply-To: <3DFEFA12.50601@ra.rockwell.com> References: <3DFEFA12.50601@ra.rockwell.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212172202.42416.westbay>