In case of a problem being detected by the JBoss Operations Network, Amazon CloudWatch or manual inspection, common sources of diagnostic information are:
/var/log/jboss_user-data.out is the output of the jboss-ec2-eap init script and user custom configuration script.
/var/cache/jboss-ec2-eap/ contains the actual user data, custom script, and custom CLI commands used at instance start-up.
/var/log also contains all the logs collected from machine start up, JBoss Enterprise Application Platform, httpd and most other services.
Access to these files is only available via an SSH session. Refer to the Amazon EC Getting Started Guide for details on how to configure and establish an SSH session with an Amazon EC2 instance.