4.3. Test JBoss Enterprise Web Server

Procedure 4.1. Test JBoss EWS

  1. In the instance's details pane, note the instance's "Public DNS".
  2. In a browser, navigate to http://<public-DNS>/hello
  3. 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