title: Jboss 7.0 Fails to start in Red Hat
body: <p>Hi, i'm trying to run Jboss EAP 7.0.0 in  Red Hat Enterprise Linux 7, the installation goes well until i need to start the service.</p>
  
  <pre><code> sudo service jboss-eap-rhel start
  Redirecting to /bin/systemctl start  jboss-eap-rhel.service
  Job for jboss-eap-rhel.service failed. See 'systemctl status jboss-eap-rhel.service' and 'journalctl -xn' for details.
  </code></pre>
  
  <p>After reach for the service log, it shows that the JBoss EAP startup script has failed to start.</p>
  
  <p>localhost.localdomain systemd<a href="https://i.stack.imgur.com/88EAI.png" rel="nofollow noreferrer">1</a>: Failed to start SYSV: JBoss EAP startup script.</p>
  
  <pre><code>systemctl status jboss-eap-rhel.service
  jboss-eap-rhel.service - SYSV: JBoss EAP startup script
     Loaded: loaded (/etc/rc.d/init.d/jboss-eap-rhel.sh)
     Active: failed (Result: resources) since Wed 2017-05-17 05:35:37 EDT; 6min ago
    Process: 16673 ExecStart=/etc/rc.d/init.d/jboss-eap-rhel.sh start (code=exited, status=0/SUCCESS)
   Main PID: 6979
  
  May 17 05:35:06 localhost.localdomain systemd[1]: Starting SYSV: JBoss EAP startup script...
  May 17 05:35:06 localhost.localdomain jboss-eap-rhel.sh[16673]: Starting jboss-eap: chown: missing operand after ‘/var/run/jboss-eap’
  May 17 05:35:06 localhost.localdomain jboss-eap-rhel.sh[16673]: Try 'chown --help' for more information.
  May 17 05:35:37 localhost.localdomain jboss-eap-rhel.sh[16673]: jboss-eap started with errors, please see server log for details
  May 17 05:35:37 localhost.localdomain jboss-eap-rhel.sh[16673]: [  OK  ]
  May 17 05:35:37 localhost.localdomain systemd[1]: PID file /var/run/jboss-eap/jboss-eap.pid not readable (yet?) after start.
  May 17 05:35:37 localhost.localdomain systemd[1]: Failed to start SYSV: JBoss EAP startup script.
  May 17 05:35:37 localhost.localdomain systemd[1]: Unit jboss-eap-rhel.service entered failed state.
  </code></pre>
  
  <p>i checked the jboss conf and the eap-rhel.sh looking for something wrong, including the standalone.xml and the standalone-full.xml, but everything looks to be ok.</p>
  
  <p>the files of the jboss are in /usr/share right now (i have installed and unstalled several times in different folders trying to solve it, yes i have deleted remaining files before each installation).</p>
  
  <p>just to be sure, i mention the steps i done after every installation:</p>
  
  <ol>
  <li><p>the jboss-eap.conf was succefully edited. the user and the path of the jboss were changed to the right ones.</p></li>
  <li><p>jboss-eap.conf copied to /etc/default</p></li>
  <li><p>jboss-eap-rhel copied to /etc/init.d</p></li>
  </ol>
  
  <p>I also opened it using </p>
  
  <p>./standalone.sh -c standalone-full.xml </p>
  
  <p>it throws this warning:</p>
  
  <pre><code>03:56:23,735 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 60) WFLYTX00                                                                                                                                                             13: Node identifier property is set to the default value. Please make sure it is                                                                                                                                                              unique.
  </code></pre>
  
  <p>and doesn't work (because the service is still not active).</p>
  
  <p>¿how can I start the service?</p>