-
Language:
English
-
Language:
English
4.3. Test JBoss Enterprise Web Server
Procedure 4.1. Test JBoss EWS
- In the instance's details pane, note the instance's "Public DNS".
- In a browser, navigate to
http://<public-DNS>/hello
- Confirm that the text "
Hello World!
" appears, otherwise refer to Appendix B, Troubleshooting.
Important
In JBoss Enterprise Web Server deployed on EC2, the contents of the User Data field are treated as a script.
If the first line is "
#!
" then it is run as any executable file, otherwise its contents are executed/sourced into the Red Hat Enterprise Linux init shell.
If this is a production instance, add the following text as the first line in the User Data field to ensure that security updates are applied on boot:
yum -y update