Hide Forgot
Description of problem: When there is any wrong JVM argument present in the server-group, JBoss throws the below message on the console. There is no server.log created for any of the servers inside that server-group. -------------- [Server:server-two] Unrecognized VM option 'foo' [Server:server-two] Could not create the Java virtual machine. 15:28:58,923 INFO [org.jboss.as.process.Server:server-two.status] (reaper for Server:server-two) JBAS012010: Process 'Server:server-two' finished with an exit status of 1 ---------------- When JBoss is started using nohup(nohup ./domain.sh), there is no console logging. So it is difficult to find the actual cause of the issue. In the process-controller log, the below message is logged: ------------------ I can see the following in process-controller.log (also see attached process-controller.log): 2016-02-18 14:20:46,232 [reaper for Server:server-1] INFO org.jboss.as.process.Server:server-1.status - JBAS012010: Process 'Server:server-1' finished with an exit status of 1 ------------------- However, there is no message in the process-controller logs that indicates the error is due to a misconfigured JVM option as stated in the console logs. Version-Release number of selected component (if applicable): How Reproducible : Always Steps to Reproduce: 1. Start JBoss using nohup ./domain.sh. 2. Add the following JVM options under server-group : ------------------- <jvm-options> <option value="-server"/> <option value="-verbose:gc"/> <option value="-XX:+DisableExplicitGC"/> <option value="-XX:+PrintGCDateStamps"/> <option value="-XX:+PrintGCDetails"/> <option value="-XX:+UseConcMarkSweepGC"/> <option value="-XX:foo"/> </jvm-options> ------------------- Actual results: Actual result is : ------------------ 18:31:29,616 INFO [org.jboss.as.process.Server:server-one.status] (ProcessController-threads - 3) JBAS012017: Starting process 'Server:server-one' 18:31:30,050 INFO [org.jboss.as.process.Server:server-one.status] (reaper for Server:server-one) JBAS012010: Process 'Server:server-one' finished with an exit status of 1 ------------------ No reason is logged for failure. Expected results: Expected Result should be the following message in process-controller logs: ------------------ [Server:server-two] Unrecognized VM option 'foo' [Server:server-two] Could not create the Java virtual machine. 15:28:58,923 INFO [org.jboss.as.process.Server:server-two.status] (reaper for Server:server-two) JBAS012010: Process 'Server:server-two' finished with an exit status of 1 ------------------
$ nohup ./domain.sh nohup: ignoring input and appending output to ‘nohup.out’ It looks to me command above redirected log information to file nohup.out where you can find out the specific failure reason.