I'm using 7.0.0.Final and am having trouble starting in background mode with Solaris 9 in standalone mode.
I see the following at the end of the console when starting:
...
11:38:43,481 INFO [org.jboss.weld] (MSC service thread 1-2) Starting weld service
11:38:44,806 INFO [org.jboss.web] (MSC service thread 1-3) registering web context: /jboss-as-helloworld
11:38:44,836 INFO [org.jboss.as.server.controller] (Controller Boot Thread) Deployed "jboss-as-helloworld.war"
11:38:44,863 INFO [org.jboss.as] (Controller Boot Thread) JBoss AS 7.0.0.Final "Lightning" started in 17862ms - Started 143 of 200 services (57 services are passive or on-demand)
The console just sits there at the last line until I CTRL+BRK.
I have the following in my script that starts jboss:
LAUNCH_JBOSS_IN_BACKGROUND=true
export LAUNCH_JBOSS_IN_BACKGROUND
Within standalone.sh I verified it falls into the else clause which is supposed to execute in background mode. The script appears to be stuck at the line:
wait $JBOSS_PID 2>/dev/null
I echoed out the value of $JBOSS_PID and got 4716 which seems to be correct.
sulikj@nti15:/apps/sulikj/bv1to1_var> ps -ef | grep 4716
sulikj 5341 28439 0 11:51:45 pts/2 0:00 grep 4716
sulikj 4716 4699 0 11:38:27 pts/4 0:29 /apps/sulikj/java/jdk1.6.0_26/bin/java -server -Xms64m -Xmx512m -XX:MaxPermSize
There are two sections of standalone.sh that contain the following code:
wait $JBOSS_PID 2>/dev/null
I commented both lines out of standalone.sh and the script now runs in in the background.