From Fedora Project Wiki

Description

Testing deploying EJB-in-WAR quickstart application

Setup

  1. Download jboss-ejb-in-war.war: wget https://github.com/downloads/fedora-jboss-as/jboss-as/jboss-as-ejb-in-war.war

The source can be found at https://github.com/jbossas/quickstart/tree/master/ejb-in-war.

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/jboss-as-ejb-in-war.war

Expected Results

  1. You should be able to deploy (watch logs: /var/log/jboss-as/standalone/server.log)
  2. Browse to http://localhost:8080/jboss-as-ejb-in-war
  3. Enter a name
  4. Press Greet
  5. Observe result