I believe the rpm creates a nologin user so that the process is owned by a non privileged user. You will have to run something like
su -s /bin/bash -c '/usr/share/jboss-as/bin/standalone.sh -c standalone.xml' jboss
P.S. Is Thomas Doubting you're real name is it a salute to Doubting Thomas saying?
Blame it on the folks.
Thanks for the info. I was hoping that I had missed something as the setup feels abit strange as it's not really obvious where to look for jboss nor how to easily configure it. Oh well.
I created my own init-script for RHEL6.x and use it with a "jboss" user (no root).
This init-script will auto-select the right DC to connect to at start of HC (depending of the environment).
Is also able to start the DC.
I didn't use the RPM version but the ZIP version. This is because if you want to update RHEL, it could break application under JBoss because some RPM would be upgraded and your application could have an issue.
Also, I manually install the JRE from Oracle.