From Fedora Project Wiki

m (Add -y flag to yum commad)
m (document generated startup script)
Line 5: Line 5:
Start the JBoss AS 7 system service
Start the JBoss AS 7 system service
  sudo systemctl start jboss-as.service
  sudo systemctl start jboss-as.service
Connect to the JBoss AS 7 management console (system instance)
Connect to the JBoss AS 7 management console (for the system instance)
  sudo jboss-cli -c
  sudo jboss-cli -c
Stop the JBoss AS 7 system service
Stop the JBoss AS 7 system service
  sudo systemctl stop jboss-as.service
  sudo systemctl stop jboss-as.service
Create a user instance of JBoss AS 7
Create a user instance of JBoss AS 7
  jboss-as-cp -l $HOME/jboss-as-instance
  jboss-as-cp -l $HOME/jboss-as-user-instance
Start the JBoss AS 7 user instance
Start the JBoss AS 7 user instance
  JBOSS_BASE_DIR=$HOME/jboss-as-instance /usr/share/jboss-as/bin/standalone.sh -c standalone-web.xml
cd && jboss-as-user-instance/bin/standalone.sh
Connect to the JBoss AS 7 management console (user instance)
standalone.sh is a script generated by jboss-as-cp that runs this command
  JBOSS_BASE_DIR=jboss-as-user-instance /usr/share/jboss-as/bin/standalone.sh -c standalone-web.xml
Connect to the JBoss AS 7 management console (for the user instance)
   jboss-cli -c
   jboss-cli -c



Revision as of 21:00, 31 July 2012

Getting started with JBoss AS 7 in Fedora

In a terminal, install JBoss AS 7 using yum

sudo yum -y install jboss-as

Start the JBoss AS 7 system service

sudo systemctl start jboss-as.service

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

sudo jboss-cli -c

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

cd && jboss-as-user-instance/bin/standalone.sh

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

JBOSS_BASE_DIR=jboss-as-user-instance /usr/share/jboss-as/bin/standalone.sh -c standalone-web.xml

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

 jboss-cli -c

Learn more about the effort to package JBoss AS 7 in Fedora

Get involved with the Fedora Java SIG