Getting started with JBoss AS 7 in Fedora

Connect to the JBoss AS 7 management console (for the system instance)

sudo -u jboss-as sh -c "jboss-cli -c"

When you connect to the management console, the server will send a secret key challenge to the client. The client can only pass the challenge if it has physical direct access to the filesystem and the same permissions as the user running the server. Otherwise, you'd need to create and use a proper management user.

Stop the JBoss AS 7 system service

sudo systemctl stop jboss-as.service

Create a user instance of JBoss AS 7

jboss-as-cp -l $HOME/jboss-as-user-instance

Start the JBoss AS 7 user instance

$HOME/jboss-as-user-instance/bin/standalone.sh

standalone.sh is a script generated by jboss-as-cp that effectively runs this command