From Fedora Project Wiki
m (Created page with "{{QA/Test_Case |description=Testing deploying simple servlet-based application |setup= # Download <code>weld-permalink.war</code>: <code>wget http://dl.dropbox.com/u/854326/as7_t...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description=Testing deploying simple | |description=Testing deploying simple CDI-based application | ||
|setup= | |setup= | ||
# Download <code>weld-permalink.war</code>: <code>wget http://dl.dropbox.com/u/854326/as7_testday/weld-permalink.war</code> | # Download <code>weld-permalink.war</code>: <code>wget http://dl.dropbox.com/u/854326/as7_testday/weld-permalink.war</code> |
Latest revision as of 19:51, 16 April 2012
Description
Testing deploying simple CDI-based application
Setup
- Download
weld-permalink.war
:wget http://dl.dropbox.com/u/854326/as7_testday/weld-permalink.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/weld-permalink.war
- Go to
http://localhost:8080/weld-permalink/
Expected Results
- You should be able to deploy (watch logs:
/var/log/jboss-as/standalone/server.log
) - You should see the web app running