Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2009 20:59:47 +0900 (JST)
From:      SAITOU Toshihide <toshi@ruby.ocn.ne.jp>
To:        freebsd-java@freebsd.org
Subject:   Re: Jboss 5.0 GA diablo-jdk 1.6/ jdk16 and jboss5ctl
Message-ID:  <20090226.205947.126577693.toshi@ruby.ocn.ne.jp>
In-Reply-To: <1234776494.1485.11.camel@lap02.be-informed.at>
References:  <1234776494.1485.11.camel@lap02.be-informed.at>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <1234776494.1485.11.camel@lap02.be-informed.at>
            Horst Leitenmueller <horst.leitenmueller@liwest.at> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090226.205947.126577693.toshi>