-
1. Re: Starting JBoss 7 on Linux
sebastian.otaegui Jul 21, 2011 9:34 AM (in response to longbeach)This is just a workaround:
{noformat}
nohup /usr/lib/jvm/java-6-sun/bin/java -server -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Dorg.jboss.boot.log.file=/home/otaeguis/dev/jboss-as-web-7.0.0.Final/standalone/log/boot.log -Dlogging.configuration=file:/home/otaeguis/dev/jboss-as-web-7.0.0.Final/standalone/configuration/logging.properties -jar /home/otaeguis/dev/jboss-as-web-7.0.0.Final/jboss-modules.jar -mp /home/otaeguis/dev/jboss-as-web-7.0.0.Final/modules -logmodule org.jboss.logmanager -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -Djboss.home.dir=/home/otaeguis/dev/jboss-as-web-7.0.0.Final &
{noformat}
For some reason when you try to do "nohup ./standalone.sh &" it starts to then shutdown and I didnt have time to review the standalone.sh script
You have to, of course, change /home/otaeguis/dev with the path to your as7 installation and where it says & it should be an ampersand.
-
2. Re: Starting JBoss 7 on Linux
dlofthouse Jul 21, 2011 11:50 AM (in response to sebastian.otaegui)What JVM and OS are you running this with?
Just tried myself and "nohup ./standalone.sh &" is workng for me.
-
3. Re: Starting JBoss 7 on Linux
sebastian.otaegui Jul 21, 2011 12:23 PM (in response to dlofthouse)Linux (ubuntu) and sun jdk6
Disregard my previous message.
You are right it works for me too, I may have been asleep.
-
4. Re: Starting JBoss 7 on Linux
dlofthouse Jul 21, 2011 12:37 PM (in response to sebastian.otaegui)Thanks for the update Sebastian.
Celinio, as above you should be able to start JBoss with "nohup ./standalone.sh &" so that it does not terminate when the window is closed.
-
5. Re: Starting JBoss 7 on Linux
longbeach Jul 21, 2011 4:12 PM (in response to dlofthouse)"nohup ./standalone.sh &" works perfectly on Centos.
Thanks guys