jboss3 port doesn't work

Jonathan Chen jonc at chen.org.nz
Sun Sep 14 13:32:59 PDT 2003


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 at chen.org.nz>
----------------------------------------------------------------------
                        "Only the meek get pinched. The bold survive."
                                                      - Ferris Bueller


More information about the freebsd-java mailing list