Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Sep 2003 08:32:51 +1200
From:      Jonathan Chen <jonc@chen.org.nz>
To:        Andrea Sansottera <andrea.sansottera@fastwebnet.it>
Cc:        freebsd-java@freebsd.org
Subject:   Re: jboss3 port doesn't work
Message-ID:  <20030914203251.GB4420@grimoire.chen.org.nz>
In-Reply-To: <1063541917.10543.10.camel@bh2.bh>
References:  <200309101118.48214.ernst.dehaan@nl.wanadoo.com> <20030910092526.GA48381@rot13.obsecurity.org> <1063541917.10543.10.camel@bh2.bh>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jonc@chen.org.nz>
----------------------------------------------------------------------
                        "Only the meek get pinched. The bold survive."
                                                      - Ferris Bueller



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