From Fedora Project Wiki
m (Created page with "{{QA/Test_Case |description=Testing deploying simple servlet-based application |setup=Don't forget to install latest updates! |actions= # TBD |results= # TBD }} [[Category:JBoss_...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description=Testing deploying simple servlet-based application | |description=Testing deploying simple servlet-based application | ||
|setup= | |setup= | ||
# Download <code>node-info.war</code>: <code>wget http://repo.oddthesis.org/node-info/node-info.war</code> | |||
|actions= | |actions= | ||
# | # Become root | ||
# Start JBoss AS service, type: <code>systemctl start jboss-as.service</code> | |||
# Drop root privileges and become regular user | |||
# Start JBoss AS CLI, type: <code>jboss-cli</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 | |||
# Deploy the application: <code>deploy /home/user/downloads/node-info.war</code> | |||
# Go to <code>http://localhost:8080/node-info/</code> | |||
|results= | |results= | ||
# | # You should be able to deploy (watch logs: <code>/var/log/jboss-as/standalone/server.log</code>) | ||
# You should see the web app running and presenting some very basic info | |||
}} | }} | ||
[[Category:JBoss_AS_test_cases]] | [[Category:JBoss_AS_test_cases]] |
Revision as of 19:41, 16 April 2012
Description
Testing deploying simple servlet-based application
Setup
- Download
node-info.war
:wget http://repo.oddthesis.org/node-info/node-info.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/node-info.war
- Go to
http://localhost:8080/node-info/
Expected Results
- You should be able to deploy (watch logs:
/var/log/jboss-as/standalone/server.log
) - You should see the web app running and presenting some very basic info