From Fedora Project Wiki


Testing deploying simple EJB-based application


  1. Download simple-singleton-1.1-SNAPSHOT.jar: wget

How to test

  1. Become root
  2. Start JBoss AS service, type: systemctl start jboss-as.service
  3. Drop root privileges and become regular user
  4. Start JBoss AS CLI, type: jboss-cli
  5. Connect to the local server, type: connect
  6. Authenticate as a user created in Add management user test case
  7. Deploy the application: deploy /home/user/downloads/simple-singleton-1.1-SNAPSHOT.jar

Expected Results

  1. You should be able to deploy (watch logs: /var/log/jboss-as/standalone/server.log)