From Fedora Project Wiki
(Created page with "{{QA/Test_Case |description=Testing deploying EJB-in-WAR quickstart application |setup= # Download <code>jboss-ejb-in-war.war</code>: <code>wget http://.../jboss-ejb-in-war.war</...") |
mNo edit summary |
||
Line 2: | Line 2: | ||
|description=Testing deploying EJB-in-WAR quickstart application | |description=Testing deploying EJB-in-WAR quickstart application | ||
|setup= | |setup= | ||
# Download <code>jboss-ejb-in-war.war</code>: <code>wget | # Download <code>jboss-ejb-in-war.war</code>: <code>wget https://github.com/downloads/fedora-jboss-as/jboss-as/jboss-as-ejb-in-war.war</code> | ||
The source can be found at https://github.com/jbossas/quickstart/tree/master/ejb-in-war. | The source can be found at https://github.com/jbossas/quickstart/tree/master/ejb-in-war. | ||
|actions= | |actions= | ||
Line 11: | Line 11: | ||
# Connect to the local server, type: <code>connect</code> | # Connect to the local server, type: <code>connect</code> | ||
# Authenticate as a user created in [[QA:Testcase_JBoss_AS_Add_management_user|Add management user]] test case | # Authenticate as a user created in [[QA:Testcase_JBoss_AS_Add_management_user|Add management user]] test case | ||
# Deploy the application: <code>deploy /home/user/downloads/jboss-ejb-in-war.war</code> | # Deploy the application: <code>deploy /home/user/downloads/jboss-as-ejb-in-war.war</code> | ||
|results= | |results= | ||
# You should be able to deploy (watch logs: <code>/var/log/jboss-as/standalone/server.log</code>) | # You should be able to deploy (watch logs: <code>/var/log/jboss-as/standalone/server.log</code>) | ||
# Browse to http://localhost:8080/jboss-ejb-in-war | # Browse to http://localhost:8080/jboss-as-ejb-in-war | ||
# Enter a name | # Enter a name | ||
# Press Greet | # Press Greet |
Latest revision as of 09:45, 17 April 2012
Description
Testing deploying EJB-in-WAR quickstart application
Setup
- 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
- Become root
- Start JBoss AS service, type:
systemctl start jboss-as.service
- Drop root privileges and become regular user
- Start JBoss AS CLI, type:
jboss-cli
- Connect to the local server, type:
connect
- Authenticate as a user created in Add management user test case
- Deploy the application:
deploy /home/user/downloads/jboss-as-ejb-in-war.war
Expected Results
- You should be able to deploy (watch logs:
/var/log/jboss-as/standalone/server.log
) - Browse to http://localhost:8080/jboss-as-ejb-in-war
- Enter a name
- Press Greet
- Observe result