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</...") |
(No difference)
|
Revision as of 09:39, 17 April 2012
Description
Testing deploying EJB-in-WAR quickstart application
Setup
- Download
jboss-ejb-in-war.war
:wget http://.../jboss-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-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-ejb-in-war
- Enter a name
- Press Greet
- Observe result