First of all confirm that JBoss works with Java5 (1.5) I am using Blakedown 1.4.2 as I believe thsi is the correct version of VM to use JBoss reliably.
http://www.jboss.org/wiki/Wiki.jsp?page=JBossInstallation As for shell substitutions check out: http://www.linuxselfhelp.com/gnu/bash/html_chapter/bashref_3.html#SEC29 anonymous wrote : JAVAPATH=${JAVAPTH:-"/usr/java/jdk1.5.0_01/bin"} to read: JAVAPATH=${JAVAPATH:-"/usr/java/jdk1.5.0_01/bin"} that make more sense to me. FYI I use Fedora Code 3 and use the following to start JBoss as a script /opt/jboss-4.0.2RC1/mystart.sh: #!/bin/sh | # | JAVA_HOME="/opt/j2sdk1.4.2/" | export JAVA_HOME | | PATH="${JAVA_HOME}/bin:$PATH" | export PATH | | JAVA_OPTS="-client -Djboss.bind.address=172.16.32.38 -Dprogram.name=jboss" | # -server | # -Dprogram.name= | # -Djboss.bind.address=jboss.home.darrylmiles.org | #172.16.32.38 | # -Xmx100M | # -Dhttp.port=8080 -Djndi.port=1700 -Duil2.port=1000" | | # openCRX says: | JAVA_OPTS="${JAVA_OPTS} -Xms128m -Xmx512m" | #JAVA_OPTS="${JAVA_OPTS} -Djava.awt.headless=true" | JAVA_OPTS="${JAVA_OPTS} -Dorg.openmdx.compatibility.base.application.j2ee.domain=apps" | JAVA_OPTS="${JAVA_OPTS} -Dorg.openmdx.compatibility.base.application.j2ee.server=server1" | JAVA_OPTS="${JAVA_OPTS} -Djava.protocol.handler.pkgs=org.openmdx.kernel.url.protocol" | JAVA_OPTS="${JAVA_OPTS} -Dorg.openmdx.log.config.filename=/opt/jboss-4.0.2RC1/server/default/server.log.properties" | JAVA_OPTS="${JAVA_OPTS} -Dmail.SSLSocketFactory.class=org.openmdx.kernel.mail.SendMailSSLSocketFactory" | #JAVA_OPTS="${JAVA_OPTS} -b 172.16.32.38" | export JAVA_OPTS | | cd /opt/jboss-4.0.2RC1 || exit 1 | | JBOSS_USER="jboss" | export JBOSS_USER | | unset DISPLAY | DISPLAY="odin:0" | export DISPLAY | | cd bin | exec ./run.sh -b 172.16.32.38 >../LOG.txt 2>&1 | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875192#3875192 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875192 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
