From Fedora Project Wiki
mNo edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
|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:// | # Download <code>node-info.war</code>: <code>wget http://dl.dropbox.com/u/854326/as7_testday/node-info.war</code> | ||
|actions= | |actions= | ||
# Become root | # Become root |
Latest revision as of 19:46, 16 April 2012
Description
Testing deploying simple servlet-based application
Setup
- Download
node-info.war
:wget http://dl.dropbox.com/u/854326/as7_testday/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