JBoss port

Sheldon Hearn sheldonh at starjuice.net
Wed Jun 11 05:22:59 PDT 2003


On (2003/06/11 13:23), Ernst de Haan wrote:

> Volunteers for becoming the maintainer ?

I'd be happy to maintain a jboss-tomcat port, which uses the
jboss-3.2.1-tomcat.4.1.24 distribution, because we use that for our
project.  I'm not keen on maintaining ports I don't use.

I use a patched jboss_init_redhat.sh that ensures I don't have to use
the deamonctl utility.  I install into /usr/local/jboss, which keeps
things simple.  I don't see real value in having multiple jboss
installations supported by a port.

Ciao,
Sheldon.

--- jboss_init_redhat.sh.orig	Mon May  5 06:25:32 2003
+++ jboss_init_redhat.sh	Sat Jun  7 17:21:08 2003
@@ -26,7 +26,7 @@
 JBOSS_HOME=${JBOSS_HOME:-"/usr/local/jboss"}
 
 #make java is on your path
-JAVAPTH=${JAVAPTH:-"/usr/local/jdk/bin"}
+JAVAPTH=${JAVAPTH:-"${JAVA_HOME}/bin"}
 
 #define the classpath for the shutdown class
 JBOSSCP=${JBOSSCP:-"$JBOSS_HOME/bin/shutdown.jar:$JBOSS_HOME/client/jnet.jar"}
@@ -52,7 +52,7 @@
 JBOSSUS=${JBOSSUS:-"jboss"}
 
 CMD_START="cd $JBOSS_HOME/bin; $JBOSSSH" 
-CMD_STOP="java -classpath $JBOSSCP org.jboss.Shutdown --shutdown"
+CMD_STOP="${JAVAPTH}/java -classpath $JBOSSCP org.jboss.Shutdown --shutdown"
 
 if [ "$JBOSSUS" = "RUNASIS" ]; then
   SUBIT=""


More information about the freebsd-java mailing list