From owner-freebsd-java@FreeBSD.ORG Thu Feb 26 12:32:47 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 646DC1065672 for ; Thu, 26 Feb 2009 12:32:47 +0000 (UTC) (envelope-from toshi@ruby.ocn.ne.jp) Received: from smtp.ruby.ocn.ne.jp (ruby.ocn.ne.jp [61.207.12.164]) by mx1.freebsd.org (Postfix) with ESMTP id 0AB038FC1D for ; Thu, 26 Feb 2009 12:32:46 +0000 (UTC) (envelope-from toshi@ruby.ocn.ne.jp) Received: from localhost (p6194-ipadfx01sizuokaden.shizuoka.ocn.ne.jp [219.160.179.194]) by smtp.ruby.ocn.ne.jp (Postfix) with ESMTP id AC035361F; Thu, 26 Feb 2009 21:00:07 +0900 (JST) Date: Thu, 26 Feb 2009 20:59:47 +0900 (JST) Message-Id: <20090226.205947.126577693.toshi@ruby.ocn.ne.jp> To: freebsd-java@freebsd.org From: SAITOU Toshihide In-Reply-To: <1234776494.1485.11.camel@lap02.be-informed.at> References: <1234776494.1485.11.camel@lap02.be-informed.at> X-GPG-fingerprint: 34B3 0B6A 8520 F5B0 EBC7 69F6 C055 9F8A 0D49 F8FC X-Mailer: Mew version 5.2.54 on Emacs 22.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: Jboss 5.0 GA diablo-jdk 1.6/ jdk16 and jboss5ctl X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 12:32:48 -0000 In message: <1234776494.1485.11.camel@lap02.be-informed.at> Horst Leitenmueller writes: > > problem on jboss 5.0 GA and enable via jboss5ctl > on: FreeBSD 7.1-RELEASE-p2 #3 > > i have tried both with > /usr/local/jboss5/bin/run.sh > jdk set to diablo1.6/jdk16 via javavm_opt.conf > > normal boot (with some warnings in log file but normal as post of scott > starky) > > when i try to start via rc.conf (jboss5_enable="YES") > which calls in background the /usr/local/bin/jboss5ctl > > the i always get an error 1. edit the /etc/rc.conf file. jboss5_enable="YES" jboss5_config="default" jboss5_flags="-Dprogram.name=run.sh -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000" 2. check the permission of the server configuration directory. then work here. I also test the jboss-seam. $ tar zxf jboss-seam-2.1.1.GA.tar.gz $ cd jboss-seam-2.1.1.GA $ echo "jboss.home=/usr/local/jboss5/" >> build.properties $ ant $ cd examples/booking/ $ ant see the following page: http://localhost:8080/seam-booking/ \o/ I'm going to start the Java EE. Thanks. --- SAITOU