Play 2.1 + AWS Beanstalk + War + Tomcat 7 = Internal server error

792 views
Skip to first unread message

Sal Testa

unread,
Mar 3, 2013, 5:08:08 AM3/3/13
to play-fr...@googlegroups.com
I'm pretty new to Play 2.1 + AWS, and I'm having trouble deciphering this log from the Elastic Beanstalk Management environment log file. I have an instance of the server running on EC2 with no problems, but when I tried to deploy it on Beanstalk with a "64bit Amazon Linux running Tomcat 7" instance, it gave me the error log attached. Any help deciphering it would be much appreciated.

Thanks in advance,
Sal

Sal

unread,
Mar 3, 2013, 9:29:50 PM3/3/13
to play-fr...@googlegroups.com
As a sanity check, I created a default Scala Play app, added the war plugin, deployed to EBS, and I got the same error.

-Sal

Damien Lecan

unread,
Mar 4, 2013, 3:36:18 AM3/4/13
to play-fr...@googlegroups.com
Hi,

Copy/paste your stacktrace here, as your file attachement is lost.

Thanks

Damien

2013/3/3 Sal Testa <salt...@gmail.com>:
> --
> You received this message because you are subscribed to the Google Groups
> "play-framework" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to play-framewor...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Salvatore Testa

unread,
Mar 4, 2013, 3:40:59 AM3/4/13
to play-fr...@googlegroups.com
-------------------------------------
/var/log/tomcat7/catalina.2013-03-04.log
-------------------------------------




-------------------------------------
/var/log/eb-tools.log
-------------------------------------
2013-03-04 02:17:44,220 [INFO] (1971 MainThread) [command.py-130] [root command execute] Command returned: (code: 0, stdout: , stderr: None)
2013-03-04 02:17:44,222 [INFO] (1971 MainThread) [command.py-122] [root command execute] Executing command: Infra-WriteVersionOnStartup - AWSEBAutoScalingGroup
2013-03-04 02:17:45,696 [INFO] (1971 MainThread) [command.py-130] [root command execute] Command returned: (code: 0, stdout: , stderr: None)
2013-03-04 02:17:45,698 [DEBUG] (1971 MainThread) [commandWrapper.py-60] [root commandWrapper main] Command result: {'status': 'SUCCESS', 'results': [], 'api_version': '1.0'}
2013-03-04 02:22:04,592 [DEBUG] (2174 MainThread) [commandWrapper.py-46] [root commandWrapper main] Received request: InvocationId: 4596a127-7713-4797-bc51-f47c0f6f7bec CmdData: {"command_name":"CMD-TailLogs","request_id":"499e1123-8472-11e2-8a34-0f0edecbc162","resource_name":"AWSEBAutoScalingGroup","data":"499e1123-8472-11e2-8a34-0f0edecbc162","api_version":"1.0"} Dispatcher: arn:aws:cloudformation:us-east-1:835799448240:dispatcher/awseb-e-kv5aezq3s6-stack/2dfe83f6-69f6-4e29-9dcd-85f2092e38a3.
2013-03-04 02:22:05,068 [INFO] (2174 MainThread) [command.py-329] [root command should_execute] Stage is None. Allowing to run.
2013-03-04 02:22:05,509 [INFO] (2174 MainThread) [command.py-201] [root command prepare_global_environment] This instance is command leader.
2013-03-04 02:22:05,510 [INFO] (2174 MainThread) [command.py-346] [root command store_stage_executed] Not saving null stage.
2013-03-04 02:22:05,511 [INFO] (2174 MainThread) [command.py-122] [root command execute] Executing command: InfoTask-TailLogs - AWSEBAutoScalingGroup
2013-03-04 02:22:06,302 [INFO] (2196 MainThread) [tailLogs.py-56] [root tailLogs main] Starting tail logs task with batch id 499e1123-8472-11e2-8a34-0f0edecbc162
2013-03-04 02:22:06,309 [INFO] (2196 MainThread) [upload_tools.py-260] [root upload_tools execute] Successfully tailed file /var/log/tomcat7/catalina.2013-03-04.log
2013-03-04 02:22:06,316 [INFO] (2196 MainThread) [upload_tools.py-260] [root upload_tools execute] Successfully tailed file /var/log/eb-tools.log
2013-03-04 02:22:06,316 [INFO] (2196 MainThread) [upload_tools.py-260] [root upload_tools execute] Successfully tailed file /var/log/httpd/elasticbeanstalk-access_log
2013-03-04 02:22:06,317 [INFO] (2196 MainThread) [upload_tools.py-260] [root upload_tools execute] Successfully tailed file /var/log/tomcat7/localhost_access_log.txt
2013-03-04 02:22:06,318 [INFO] (2196 MainThread) [upload_tools.py-260] [root upload_tools execute] Successfully tailed file /var/log/httpd/error_log
2013-03-04 02:22:06,318 [INFO] (2196 MainThread) [upload_tools.py-260] [root upload_tools execute] Successfully tailed file /var/log/cfn-hup.log
2013-03-04 02:22:06,319 [INFO] (2196 MainThread) [upload_tools.py-260] [root upload_tools execute] Successfully tailed file /var/log/tomcat7/tomcat7-initd.log
2013-03-04 02:22:06,319 [INFO] (2196 MainThread) [upload_tools.py-260] [root upload_tools execute] Successfully tailed file /var/log/tomcat7/manager.2013-03-04.log
2013-03-04 02:22:06,322 [INFO] (2196 MainThread) [upload_tools.py-260] [root upload_tools execute] Successfully tailed file /var/log/tomcat7/application.log
2013-03-04 02:22:06,323 [INFO] (2196 MainThread) [upload_tools.py-260] [root upload_tools execute] Successfully tailed file /var/log/httpd/access_log
2013-03-04 02:22:06,323 [INFO] (2196 MainThread) [upload_tools.py-260] [root upload_tools execute] Successfully tailed file /var/log/eb-cfn-init-call.log
2013-03-04 02:22:06,328 [INFO] (2196 MainThread) [upload_tools.py-260] [root upload_tools execute] Successfully tailed file /var/log/cfn-init.log
2013-03-04 02:22:06,355 [INFO] (2196 MainThread) [upload_tools.py-260] [root upload_tools execute] Successfully tailed file /var/log/eb-cfn-init.log
2013-03-04 02:22:06,355 [INFO] (2196 MainThread) [upload_tools.py-260] [root upload_tools execute] Successfully tailed file /var/log/tomcat7/localhost.2013-03-04.log
2013-03-04 02:22:06,356 [INFO] (2196 MainThread) [upload_tools.py-260] [root upload_tools execute] Successfully tailed file /var/log/httpd/elasticbeanstalk-error_log
2013-03-04 02:22:06,356 [INFO] (2196 MainThread) [upload_tools.py-260] [root upload_tools execute] Successfully tailed file /var/log/tomcat7/host-manager.2013-03-04.log
2013-03-04 02:22:06,359 [INFO] (2196 MainThread) [upload_tools.py-260] [root upload_tools execute] Successfully tailed file /var/log/tomcat7/catalina.out
2013-03-04 02:22:06,483 [INFO] (2196 MainThread) [upload_tools.py-284] [root upload_tools __exit__] Successfully uploaded tailed content for 17 files to s3 at location resources/environments/logs/tail/e-kv5aezq3s6/i-8093c6f3/TailLogs-1362363726359.out
2013-03-04 02:22:06,483 [INFO] (2196 MainThread) [tailLogs.py-92] [root tailLogs main] [Instance: i-8093c6f3] Successfully finished tailing 17 log(s)
2013-03-04 02:22:06,539 [INFO] (2174 MainThread) [command.py-130] [root command execute] Command returned: (code: 0, stdout: , stderr: None)
2013-03-04 02:22:06,543 [DEBUG] (2174 MainThread) [commandWrapper.py-60] [root commandWrapper main] Command result: {'status': 'SUCCESS', 'results': [{'status': 'SUCCESS', 'config_set': u'InfoTask-TailLogs', 'events': [{'msg': '[Instance: i-8093c6f3] Successfully finished tailing 17 log(s)', 'timestamp': 1362363726, 'severity': 'INFO'}]}], 'api_version': '1.0'}
2013-03-04 02:39:29,305 [DEBUG] (2224 MainThread) [commandWrapper.py-46] [root commandWrapper main] Received request: InvocationId: 6588683b-fcfd-4c46-8ecf-5c68d6b645dd CmdData: {"command_name":"CMD-AppDeploy","stage_num":0,"request_id":"7d227921-8474-11e2-b936-db42b768bad8","stage_name":"01_pre","resource_name":"AWSEBAutoScalingGroup","api_version":"1.0"} Dispatcher: arn:aws:cloudformation:us-east-1:835799448240:dispatcher/awseb-e-kv5aezq3s6-stack/2dfe83f6-69f6-4e29-9dcd-85f2092e38a3.
2013-03-04 02:39:29,783 [INFO] (2224 MainThread) [command.py-329] [root command should_execute] Stage is 0. Allowing to run.
2013-03-04 02:39:30,220 [INFO] (2224 MainThread) [command.py-201] [root command prepare_global_environment] This instance is command leader.
2013-03-04 02:39:30,221 [INFO] (2224 MainThread) [command.py-361] [root command store_stage_executed] Saving stage 0.
2013-03-04 02:39:30,223 [INFO] (2224 MainThread) [command.py-122] [root command execute] Executing command: Infra-WriteRuntimeConfig - AWSEBAutoScalingGroup
2013-03-04 02:39:31,996 [INFO] (2224 MainThread) [command.py-130] [root command execute] Command returned: (code: 0, stdout: , stderr: None)
2013-03-04 02:39:31,998 [INFO] (2224 MainThread) [command.py-122] [root command execute] Executing command: Infra-WriteApplication1 - AWSEBAutoScalingGroup
2013-03-04 02:39:32,537 [INFO] (2224 MainThread) [command.py-130] [root command execute] Command returned: (code: 0, stdout: , stderr: None)
2013-03-04 02:39:32,539 [INFO] (2224 MainThread) [command.py-122] [root command execute] Executing command: Infra-WriteApplication2 - AWSEBAutoScalingGroup
2013-03-04 02:39:34,595 [INFO] (2224 MainThread) [command.py-130] [root command execute] Command returned: (code: 0, stdout: , stderr: None)
2013-03-04 02:39:34,597 [INFO] (2224 MainThread) [command.py-122] [root command execute] Executing command: Infra-EmbeddedPreBuild - AWSEBAutoScalingGroup
2013-03-04 02:39:35,110 [INFO] (2224 MainThread) [command.py-130] [root command execute] Command returned: (code: 0, stdout: , stderr: None)
2013-03-04 02:39:35,111 [INFO] (2224 MainThread) [command.py-122] [root command execute] Executing command: Hook-PreAppDeploy - AWSEBAutoScalingGroup
2013-03-04 02:39:35,670 [INFO] (2299 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Executing directory: /opt/elasticbeanstalk/hooks/appdeploy/pre/
2013-03-04 02:39:35,671 [INFO] (2299 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Executing script: /opt/elasticbeanstalk/hooks/appdeploy/pre/01clean.sh
2013-03-04 02:39:35,698 [INFO] (2299 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Output from script:
2013-03-04 02:39:35,699 [INFO] (2299 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Script succeeded.
2013-03-04 02:39:35,699 [INFO] (2299 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Executing script: /opt/elasticbeanstalk/hooks/appdeploy/pre/02unzip.sh
2013-03-04 02:39:36,230 [INFO] (2299 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Output from script:
2013-03-04 02:39:36,231 [INFO] (2299 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Script succeeded.
2013-03-04 02:39:36,231 [INFO] (2299 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Executing script: /opt/elasticbeanstalk/hooks/appdeploy/pre/03config_clean.sh
2013-03-04 02:39:36,250 [INFO] (2299 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Output from script:
2013-03-04 02:39:36,250 [INFO] (2299 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Script succeeded.
2013-03-04 02:39:36,250 [INFO] (2299 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Executing script: /opt/elasticbeanstalk/hooks/appdeploy/pre/04config_generate.sh
2013-03-04 02:39:36,307 [INFO] (2299 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Output from script: using tomcat_data
Writing JAVA_OPTS

2013-03-04 02:39:36,308 [INFO] (2299 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Script succeeded.
2013-03-04 02:39:36,358 [INFO] (2224 MainThread) [command.py-130] [root command execute] Command returned: (code: 0, stdout: , stderr: None)
2013-03-04 02:39:36,360 [INFO] (2224 MainThread) [command.py-122] [root command execute] Executing command: Infra-EmbeddedPostBuild - AWSEBAutoScalingGroup
2013-03-04 02:39:36,879 [INFO] (2224 MainThread) [command.py-130] [root command execute] Command returned: (code: 0, stdout: , stderr: None)
2013-03-04 02:39:36,881 [DEBUG] (2224 MainThread) [commandWrapper.py-60] [root commandWrapper main] Command result: {'status': 'SUCCESS', 'results': [], 'api_version': '1.0'}
2013-03-04 02:39:44,819 [DEBUG] (2321 MainThread) [commandWrapper.py-46] [root commandWrapper main] Received request: InvocationId: b18f1fbb-63b9-4ea4-ad13-d520e32d1702 CmdData: {"command_name":"CMD-AppDeploy","stage_num":1,"request_id":"7d227921-8474-11e2-b936-db42b768bad8","stage_name":"02_enact","resource_name":"AWSEBAutoScalingGroup","is_last_stage":true,"api_version":"1.0"} Dispatcher: arn:aws:cloudformation:us-east-1:835799448240:dispatcher/awseb-e-kv5aezq3s6-stack/2dfe83f6-69f6-4e29-9dcd-85f2092e38a3.
2013-03-04 02:39:45,272 [INFO] (2321 MainThread) [command.py-371] [root command read_last_stage] Opening stage file /var/lib/eb-tools/data/stages/7d227921-8474-11e2-b936-db42b768bad8.
2013-03-04 02:39:45,272 [INFO] (2321 MainThread) [command.py-335] [root command should_execute] Last stage is one less that current stage (0, 1). Allowing to run.
2013-03-04 02:39:45,697 [INFO] (2321 MainThread) [command.py-201] [root command prepare_global_environment] This instance is command leader.
2013-03-04 02:39:45,698 [INFO] (2321 MainThread) [command.py-355] [root command store_stage_executed] Removing saved stage info for request.
2013-03-04 02:39:45,699 [INFO] (2321 MainThread) [command.py-122] [root command execute] Executing command: Hook-EnactAppDeploy - AWSEBAutoScalingGroup
2013-03-04 02:39:46,267 [INFO] (2343 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Executing directory: /opt/elasticbeanstalk/hooks/appdeploy/enact/
2013-03-04 02:39:46,267 [INFO] (2343 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Executing script: /opt/elasticbeanstalk/hooks/appdeploy/enact/01stop.sh
2013-03-04 02:40:18,891 [INFO] (2343 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Output from script:
2013-03-04 02:40:18,892 [INFO] (2343 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Script succeeded.
2013-03-04 02:40:18,892 [INFO] (2343 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Executing script: /opt/elasticbeanstalk/hooks/appdeploy/enact/02clean.sh
2013-03-04 02:40:18,919 [INFO] (2343 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Output from script:
2013-03-04 02:40:18,919 [INFO] (2343 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Script succeeded.
2013-03-04 02:40:18,919 [INFO] (2343 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Executing script: /opt/elasticbeanstalk/hooks/appdeploy/enact/03deploy.sh
2013-03-04 02:40:18,988 [INFO] (2343 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Output from script:
2013-03-04 02:40:18,989 [INFO] (2343 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Script succeeded.
2013-03-04 02:40:18,989 [INFO] (2343 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Executing script: /opt/elasticbeanstalk/hooks/appdeploy/enact/04config_deploy.sh
2013-03-04 02:40:19,006 [INFO] (2343 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Output from script:
2013-03-04 02:40:19,007 [INFO] (2343 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Script succeeded.
2013-03-04 02:40:19,007 [INFO] (2343 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Executing script: /opt/elasticbeanstalk/hooks/appdeploy/enact/09clean.sh
2013-03-04 02:40:19,020 [INFO] (2343 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Output from script:
2013-03-04 02:40:19,021 [INFO] (2343 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Script succeeded.
2013-03-04 02:40:19,071 [INFO] (2321 MainThread) [command.py-130] [root command execute] Command returned: (code: 0, stdout: , stderr: None)
2013-03-04 02:40:19,073 [INFO] (2321 MainThread) [command.py-122] [root command execute] Executing command: Hook-PostAppDeploy - AWSEBAutoScalingGroup
2013-03-04 02:40:19,639 [INFO] (2577 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Executing directory: /opt/elasticbeanstalk/hooks/appdeploy/post/
2013-03-04 02:40:19,640 [INFO] (2577 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Executing script: /opt/elasticbeanstalk/hooks/appdeploy/post/01start.sh
2013-03-04 02:40:20,226 [INFO] (2577 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Output from script:
2013-03-04 02:40:20,227 [INFO] (2577 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Script succeeded.
2013-03-04 02:40:20,333 [INFO] (2321 MainThread) [command.py-130] [root command execute] Command returned: (code: 0, stdout: , stderr: None)
2013-03-04 02:40:20,335 [DEBUG] (2321 MainThread) [commandWrapper.py-60] [root commandWrapper main] Command result: {'status': 'SUCCESS', 'results': [], 'api_version': '1.0'}
2013-03-04 02:45:24,779 [DEBUG] (2687 MainThread) [commandWrapper.py-46] [root commandWrapper main] Received request: InvocationId: f0c8aed3-d9bc-4288-8d08-1d95d5f9e173 CmdData: {"command_name":"CMD-TailLogs","request_id":"8ccd9766-8475-11e2-a8ab-01a64c0ca970","resource_name":"AWSEBAutoScalingGroup","data":"8ccd9766-8475-11e2-a8ab-01a64c0ca970","api_version":"1.0"} Dispatcher: arn:aws:cloudformation:us-east-1:835799448240:dispatcher/awseb-e-kv5aezq3s6-stack/2dfe83f6-69f6-4e29-9dcd-85f2092e38a3.
2013-03-04 02:45:25,235 [INFO] (2687 MainThread) [command.py-329] [root command should_execute] Stage is None. Allowing to run.
2013-03-04 02:45:25,664 [INFO] (2687 MainThread) [command.py-201] [root command prepare_global_environment] This instance is command leader.
2013-03-04 02:45:25,665 [INFO] (2687 MainThread) [command.py-346] [root command store_stage_executed] Not saving null stage.
2013-03-04 02:45:25,666 [INFO] (2687 MainThread) [command.py-122] [root command execute] Executing command: InfoTask-TailLogs - AWSEBAutoScalingGroup
2013-03-04 02:45:26,351 [INFO] (2709 MainThread) [tailLogs.py-56] [root tailLogs main] Starting tail logs task with batch id 8ccd9766-8475-11e2-a8ab-01a64c0ca970
2013-03-04 02:45:26,358 [INFO] (2709 MainThread) [upload_tools.py-260] [root upload_tools execute] Successfully tailed file /var/log/tomcat7/catalina.2013-03-04.log



-------------------------------------
/var/log/httpd/elasticbeanstalk-access_log
-------------------------------------
10.28.133.97 (180.76.5.138, 10.28.133.97) - - [04/Mar/2013:02:19:08 +0000] "GET /activity/p/39268/ HTTP/1.1" 404 2503 "-" "Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)"
10.28.133.97 (128.42.155.71, 10.28.133.97) - - [04/Mar/2013:02:21:46 +0000] "GET / HTTP/1.1" 500 1941 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:19.0) Gecko/20100101 Firefox/19.0"
10.28.133.97 (180.76.6.29, 10.28.133.97) - - [04/Mar/2013:02:29:03 +0000] "GET /index.php?title=What_Your_Web_Design_Vanc HTTP/1.1" 404 2565 "-" "Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)"
10.28.133.97 (202.148.227.195, 10.28.133.97) - - [04/Mar/2013:02:37:20 +0000] "GET /m.gif?mmid=4e3b4046-6bf8-8f1e-d659-eb4f544c42f5 HTTP/1.1" 404 2669 "-" "Mozilla/4.0 (compatible;)"
10.28.133.97 (128.42.155.71, 10.28.133.97) - - [04/Mar/2013:02:43:09 +0000] "GET / HTTP/1.1" 500 1941 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:19.0) Gecko/20100101 Firefox/19.0"



-------------------------------------
/var/log/tomcat7/localhost_access_log.txt
-------------------------------------
127.0.0.1 - - [04/Mar/2013:02:19:09 +0000] "GET /activity/p/39268/ HTTP/1.1" 404 2503
127.0.0.1 - - [04/Mar/2013:02:21:46 +0000] "GET / HTTP/1.1" 500 1941
127.0.0.1 - - [04/Mar/2013:02:29:03 +0000] "GET /index.php?title=What_Your_Web_Design_Vanc HTTP/1.1" 404 2565
127.0.0.1 - - [04/Mar/2013:02:37:20 +0000] "GET /m.gif?mmid=4e3b4046-6bf8-8f1e-d659-eb4f544c42f5 HTTP/1.1" 404 2669
127.0.0.1 - - [04/Mar/2013:02:43:10 +0000] "GET / HTTP/1.1" 500 1941



-------------------------------------
/var/log/httpd/error_log
-------------------------------------
[Mon Mar 04 02:17:44 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Mar 04 02:17:44 2013] [notice] Digest: generating secret for digest authentication ...
[Mon Mar 04 02:17:44 2013] [notice] Digest: done
[Mon Mar 04 02:17:44 2013] [notice] Apache/2.2.22 (Unix) DAV/2 configured -- resuming normal operations



-------------------------------------
/var/log/cfn-hup.log
-------------------------------------
2013-03-04 02:16:26,820 [INFO] Refreshing listener credentials
2013-03-04 02:16:27,011 [INFO] Scheduling next credential refresh in 7200 seconds
2013-03-04 02:17:28,260 [INFO] Running action for aws-eb-command-handler
2013-03-04 02:17:31,626 [INFO] Action for aws-eb-command-handler succeeded, returning SUCCESS
2013-03-04 02:17:40,508 [INFO] Running action for aws-eb-command-handler
2013-03-04 02:17:45,717 [INFO] Action for aws-eb-command-handler succeeded, returning SUCCESS
2013-03-04 02:22:04,450 [INFO] Running action for aws-eb-command-handler
2013-03-04 02:22:06,561 [INFO] Action for aws-eb-command-handler succeeded, returning SUCCESS
2013-03-04 02:39:29,158 [INFO] Running action for aws-eb-command-handler
2013-03-04 02:39:36,899 [INFO] Action for aws-eb-command-handler succeeded, returning SUCCESS
2013-03-04 02:39:44,675 [INFO] Running action for aws-eb-command-handler
2013-03-04 02:40:20,382 [INFO] Action for aws-eb-command-handler succeeded, returning SUCCESS
2013-03-04 02:45:24,635 [INFO] Running action for aws-eb-command-handler



-------------------------------------
/var/log/tomcat7/tomcat7-initd.log
-------------------------------------




-------------------------------------
/var/log/tomcat7/manager.2013-03-04.log
-------------------------------------




-------------------------------------
/var/log/tomcat7/application.log
-------------------------------------
at play.api.Application$class.handleError(Application.scala:289) ~[play.play_2.10-2.1.0.jar:2.1.0]
at play.api.DefaultApplication.handleError(Application.scala:383) [play.play_2.10-2.1.0.jar:2.1.0]
at play.core.server.servlet.Play2GenericServletRequestHandler$$anonfun$16$$anonfun$apply$30.apply(RequestHandler.scala:289) [com.github.play2war.play2-war-core-common_2.10-0.9-RC2.jar:0.9-RC2]
at play.core.server.servlet.Play2GenericServletRequestHandler$$anonfun$16$$anonfun$apply$30.apply(RequestHandler.scala:287) [com.github.play2war.play2-war-core-common_2.10-0.9-RC2.jar:0.9-RC2]
at play.api.libs.concurrent.PlayPromise$$anonfun$extend1$1.apply(Promise.scala:113) [play.play_2.10-2.1.0.jar:2.1.0]
at play.api.libs.concurrent.PlayPromise$$anonfun$extend1$1.apply(Promise.scala:113) [play.play_2.10-2.1.0.jar:2.1.0]
at play.api.libs.concurrent.PlayPromise$$anonfun$extend$1$$anonfun$apply$1.apply(Promise.scala:104) [play.play_2.10-2.1.0.jar:2.1.0]
at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24) [org.scala-lang.scala-library-2.10.0.jar:na]
at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24) [org.scala-lang.scala-library-2.10.0.jar:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [na:1.6.0_24]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [na:1.6.0_24]
at java.lang.Thread.run(Thread.java:679) [na:1.6.0_24]
java.lang.RuntimeException: java.lang.UnsupportedClassVersionError: controllers/routes : Unsupported major.minor version 51.0 (unable to load class controllers.routes)
at play.api.mvc.ActionBuilder$$anon$1.apply(Action.scala:222) ~[play.play_2.10-2.1.0.jar:2.1.0]
at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$2$$anonfun$apply$5$$anonfun$apply$6.apply(Action.scala:109) ~[play.play_2.10-2.1.0.jar:2.1.0]
at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$2$$anonfun$apply$5$$anonfun$apply$6.apply(Action.scala:109) ~[play.play_2.10-2.1.0.jar:2.1.0]
at play.utils.Threads$.withContextClassLoader(Threads.scala:18) ~[play.play_2.10-2.1.0.jar:2.1.0]
at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$2$$anonfun$apply$5.apply(Action.scala:108) ~[play.play_2.10-2.1.0.jar:2.1.0]
at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$2$$anonfun$apply$5.apply(Action.scala:106) ~[play.play_2.10-2.1.0.jar:2.1.0]
at scala.Option.map(Option.scala:145) ~[org.scala-lang.scala-library-2.10.0.jar:na]
at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$2.apply(Action.scala:106) ~[play.play_2.10-2.1.0.jar:2.1.0]
at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$2.apply(Action.scala:99) ~[play.play_2.10-2.1.0.jar:2.1.0]
at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24) [org.scala-lang.scala-library-2.10.0.jar:na]
at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24) [org.scala-lang.scala-library-2.10.0.jar:na]
at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:137) ~[com.typesafe.akka.akka-actor_2.10-2.1.0.jar:na]
at scala.concurrent.forkjoin.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1417) ~[org.scala-lang.scala-library-2.10.0.jar:na]
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:262) ~[org.scala-lang.scala-library-2.10.0.jar:na]
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) ~[org.scala-lang.scala-library-2.10.0.jar:na]
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1478) ~[org.scala-lang.scala-library-2.10.0.jar:na]
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) ~[org.scala-lang.scala-library-2.10.0.jar:na]
Caused by: java.lang.UnsupportedClassVersionError: controllers/routes : Unsupported major.minor version 51.0 (unable to load class controllers.routes)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2893) ~[catalina.jar:7.0.27]
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1170) ~[catalina.jar:7.0.27]
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1678) ~[catalina.jar:7.0.27]
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556) ~[catalina.jar:7.0.27]
at views.html.main$.apply(main.template.scala:29) ~[testplayebs_2.10-1.0-SNAPSHOT.jar:1.0-SNAPSHOT]
at views.html.index$.apply(index.template.scala:24) ~[testplayebs_2.10-1.0-SNAPSHOT.jar:1.0-SNAPSHOT]
at controllers.Application$$anonfun$index$1.apply(Application.scala:9) ~[testplayebs_2.10-1.0-SNAPSHOT.jar:1.0-SNAPSHOT]
at controllers.Application$$anonfun$index$1.apply(Application.scala:9) ~[testplayebs_2.10-1.0-SNAPSHOT.jar:1.0-SNAPSHOT]
at play.api.mvc.ActionBuilder$$anonfun$apply$11.apply(Action.scala:254) ~[play.play_2.10-2.1.0.jar:2.1.0]
at play.api.mvc.ActionBuilder$$anonfun$apply$11.apply(Action.scala:254) ~[play.play_2.10-2.1.0.jar:2.1.0]
at play.api.mvc.ActionBuilder$$anon$1.apply(Action.scala:217) ~[play.play_2.10-2.1.0.jar:2.1.0]
... 16 common frames omitted

2013-03-04 02:39:47,265 - [INFO] - from play in pool-2-thread-2
Stopping play server...

2013-03-04 02:40:30,307 - [INFO] - from play in pool-2-thread-1
Application started (Prod)

2013-03-04 02:43:10,851 - [ERROR] - from application in play-internal-execution-context-1


! @6dg3nf0h9 - Internal server error, for (GET) [/] ->

play.api.Application$$anon$1: Execution exception[[RuntimeException: java.lang.UnsupportedClassVersionError: controllers/routes : Unsupported major.minor version 51.0 (unable to load class controllers.routes)]]
at play.api.Application$class.handleError(Application.scala:289) ~[play.play_2.10-2.1.0.jar:2.1.0]
at play.api.DefaultApplication.handleError(Application.scala:383) [play.play_2.10-2.1.0.jar:2.1.0]
at play.core.server.servlet.Play2GenericServletRequestHandler$$anonfun$16$$anonfun$apply$30.apply(RequestHandler.scala:289) [com.github.play2war.play2-war-core-common_2.10-0.9-RC2.jar:0.9-RC2]
at play.core.server.servlet.Play2GenericServletRequestHandler$$anonfun$16$$anonfun$apply$30.apply(RequestHandler.scala:287) [com.github.play2war.play2-war-core-common_2.10-0.9-RC2.jar:0.9-RC2]
at play.api.libs.concurrent.PlayPromise$$anonfun$extend1$1.apply(Promise.scala:113) [play.play_2.10-2.1.0.jar:2.1.0]
at play.api.libs.concurrent.PlayPromise$$anonfun$extend1$1.apply(Promise.scala:113) [play.play_2.10-2.1.0.jar:2.1.0]
at play.api.libs.concurrent.PlayPromise$$anonfun$extend$1$$anonfun$apply$1.apply(Promise.scala:104) [play.play_2.10-2.1.0.jar:2.1.0]
at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24) [org.scala-lang.scala-library-2.10.0.jar:na]
at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24) [org.scala-lang.scala-library-2.10.0.jar:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [na:1.6.0_24]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [na:1.6.0_24]
at java.lang.Thread.run(Thread.java:679) [na:1.6.0_24]
java.lang.RuntimeException: java.lang.UnsupportedClassVersionError: controllers/routes : Unsupported major.minor version 51.0 (unable to load class controllers.routes)
at play.api.mvc.ActionBuilder$$anon$1.apply(Action.scala:222) ~[play.play_2.10-2.1.0.jar:2.1.0]
at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$2$$anonfun$apply$5$$anonfun$apply$6.apply(Action.scala:109) ~[play.play_2.10-2.1.0.jar:2.1.0]
at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$2$$anonfun$apply$5$$anonfun$apply$6.apply(Action.scala:109) ~[play.play_2.10-2.1.0.jar:2.1.0]
at play.utils.Threads$.withContextClassLoader(Threads.scala:18) ~[play.play_2.10-2.1.0.jar:2.1.0]
at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$2$$anonfun$apply$5.apply(Action.scala:108) ~[play.play_2.10-2.1.0.jar:2.1.0]
at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$2$$anonfun$apply$5.apply(Action.scala:106) ~[play.play_2.10-2.1.0.jar:2.1.0]
at scala.Option.map(Option.scala:145) ~[org.scala-lang.scala-library-2.10.0.jar:na]
at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$2.apply(Action.scala:106) ~[play.play_2.10-2.1.0.jar:2.1.0]
at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$2.apply(Action.scala:99) ~[play.play_2.10-2.1.0.jar:2.1.0]
at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24) [org.scala-lang.scala-library-2.10.0.jar:na]
at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24) [org.scala-lang.scala-library-2.10.0.jar:na]
at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:137) ~[com.typesafe.akka.akka-actor_2.10-2.1.0.jar:na]
at scala.concurrent.forkjoin.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1417) ~[org.scala-lang.scala-library-2.10.0.jar:na]
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:262) ~[org.scala-lang.scala-library-2.10.0.jar:na]
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) ~[org.scala-lang.scala-library-2.10.0.jar:na]
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1478) ~[org.scala-lang.scala-library-2.10.0.jar:na]
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) ~[org.scala-lang.scala-library-2.10.0.jar:na]
Caused by: java.lang.UnsupportedClassVersionError: controllers/routes : Unsupported major.minor version 51.0 (unable to load class controllers.routes)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2893) ~[catalina.jar:7.0.27]
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1170) ~[catalina.jar:7.0.27]
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1678) ~[catalina.jar:7.0.27]
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556) ~[catalina.jar:7.0.27]
at views.html.main$.apply(main.template.scala:29) ~[testplayebs_2.10-1.0-SNAPSHOT.jar:1.0-SNAPSHOT]
at views.html.index$.apply(index.template.scala:24) ~[testplayebs_2.10-1.0-SNAPSHOT.jar:1.0-SNAPSHOT]
at controllers.Application$$anonfun$index$1.apply(Application.scala:9) ~[testplayebs_2.10-1.0-SNAPSHOT.jar:1.0-SNAPSHOT]
at controllers.Application$$anonfun$index$1.apply(Application.scala:9) ~[testplayebs_2.10-1.0-SNAPSHOT.jar:1.0-SNAPSHOT]
at play.api.mvc.ActionBuilder$$anonfun$apply$11.apply(Action.scala:254) ~[play.play_2.10-2.1.0.jar:2.1.0]
at play.api.mvc.ActionBuilder$$anonfun$apply$11.apply(Action.scala:254) ~[play.play_2.10-2.1.0.jar:2.1.0]
at play.api.mvc.ActionBuilder$$anon$1.apply(Action.scala:217) ~[play.play_2.10-2.1.0.jar:2.1.0]
... 16 common frames omitted




-------------------------------------
/var/log/httpd/access_log
-------------------------------------




-------------------------------------
/var/log/eb-cfn-init-call.log
-------------------------------------




-------------------------------------
/var/log/eb-publish-logs.log
-------------------------------------
2013-03-04 02:25:01,458 [INFO] (2204 MainThread) [clearStaleLogPublishingRecords.py-38] [root clearStaleLogPublishingRecords main] Clearing stale log publish records publish log task with batch id b7845778-8472-11e2-9cb1-22000aa80c60
2013-03-04 02:25:01,458 [INFO] (2204 MainThread) [file_tools.py-34] [root file_tools __init__] Created directory /tmp/.log-publish-records for recording published log file entries
2013-03-04 02:25:01,458 [INFO] (2204 MainThread) [clearStaleLogPublishingRecords.py-48] [root clearStaleLogPublishingRecords main] Successfully cleared stale log publishing records
2013-03-04 02:30:01,705 [INFO] (2214 MainThread) [publishLogs.py-61] [root publishLogs main] Starting publish log task with batch id 6a7a5cd8-8473-11e2-8470-22000aa80c60
2013-03-04 02:30:01,710 [INFO] (2214 MainThread) [publishLogs.py-86] [root publishLogs main] Log publication is disabled
2013-03-04 02:45:01,881 [INFO] (2682 MainThread) [clearStaleLogPublishingRecords.py-38] [root clearStaleLogPublishingRecords main] Clearing stale log publish records publish log task with batch id 83066e52-8475-11e2-b8fe-22000aa80c60
2013-03-04 02:45:01,882 [INFO] (2682 MainThread) [clearStaleLogPublishingRecords.py-48] [root clearStaleLogPublishingRecords main] Successfully cleared stale log publishing records



-------------------------------------
/var/log/cfn-init.log
-------------------------------------
2013-03-04 02:39:35,576 [DEBUG] No sources specified
2013-03-04 02:39:35,576 [DEBUG] No files specified
2013-03-04 02:39:35,576 [DEBUG] Running command hooks
2013-03-04 02:39:35,577 [DEBUG] No test for command hooks
2013-03-04 02:39:36,321 [INFO] Command hooks succeeded
2013-03-04 02:39:36,322 [DEBUG] Command hooks output: Executing directory: /opt/elasticbeanstalk/hooks/appdeploy/pre/
Executing script: /opt/elasticbeanstalk/hooks/appdeploy/pre/01clean.sh
Output from script:
Script succeeded.
Executing script: /opt/elasticbeanstalk/hooks/appdeploy/pre/02unzip.sh
Output from script:
Script succeeded.
Executing script: /opt/elasticbeanstalk/hooks/appdeploy/pre/03config_clean.sh
Output from script:
Script succeeded.
Executing script: /opt/elasticbeanstalk/hooks/appdeploy/pre/04config_generate.sh
Output from script: using tomcat_data
Writing JAVA_OPTS

Script succeeded.

2013-03-04 02:39:36,322 [DEBUG] No services specified
2013-03-04 02:39:36,326 [INFO] ConfigSets completed
2013-03-04 02:39:36,330 [DEBUG] Not clearing reboot trigger as scheduling support is not available
2013-03-04 02:39:36,614 [DEBUG] CloudFormation client initialized with endpoint https://cloudformation.us-east-1.amazonaws.com
2013-03-04 02:39:36,614 [DEBUG] Describing resource AWSEBAutoScalingGroup in stack arn:aws:cloudformation:us-east-1:835799448240:stack/awseb-e-kv5aezq3s6-stack/fda1a910-8470-11e2-a47f-50a6768d148d
2013-03-04 02:39:36,839 [DEBUG] Not setting a reboot trigger as scheduling support is not available
2013-03-04 02:39:36,853 [INFO] Running configSets: deque(['Infra-EmbeddedPostBuild'])
2013-03-04 02:39:36,854 [INFO] Running configSet Infra-EmbeddedPostBuild
2013-03-04 02:39:36,854 [INFO] ConfigSets completed
2013-03-04 02:39:36,858 [DEBUG] Not clearing reboot trigger as scheduling support is not available
2013-03-04 02:39:45,946 [DEBUG] CloudFormation client initialized with endpoint https://cloudformation.us-east-1.amazonaws.com
2013-03-04 02:39:45,947 [DEBUG] Describing resource AWSEBAutoScalingGroup in stack arn:aws:cloudformation:us-east-1:835799448240:stack/awseb-e-kv5aezq3s6-stack/fda1a910-8470-11e2-a47f-50a6768d148d
2013-03-04 02:39:46,156 [DEBUG] Not setting a reboot trigger as scheduling support is not available
2013-03-04 02:39:46,170 [INFO] Running configSets: deque(['Hook-EnactAppDeploy'])
2013-03-04 02:39:46,172 [INFO] Running configSet Hook-EnactAppDeploy
2013-03-04 02:39:46,173 [INFO] Running config Hook-EnactAppDeploy
2013-03-04 02:39:46,173 [DEBUG] No packages specified
2013-03-04 02:39:46,173 [DEBUG] No groups specified
2013-03-04 02:39:46,173 [DEBUG] No users specified
2013-03-04 02:39:46,173 [DEBUG] No sources specified
2013-03-04 02:39:46,174 [DEBUG] No files specified
2013-03-04 02:39:46,174 [DEBUG] Running command hooks
2013-03-04 02:39:46,174 [DEBUG] No test for command hooks
2013-03-04 02:40:19,034 [INFO] Command hooks succeeded
2013-03-04 02:40:19,035 [DEBUG] Command hooks output: Executing directory: /opt/elasticbeanstalk/hooks/appdeploy/enact/
Executing script: /opt/elasticbeanstalk/hooks/appdeploy/enact/01stop.sh
Output from script:
Script succeeded.
Executing script: /opt/elasticbeanstalk/hooks/appdeploy/enact/02clean.sh
Output from script:
Script succeeded.
Executing script: /opt/elasticbeanstalk/hooks/appdeploy/enact/03deploy.sh
Output from script:
Script succeeded.
Executing script: /opt/elasticbeanstalk/hooks/appdeploy/enact/04config_deploy.sh
Output from script:
Script succeeded.
Executing script: /opt/elasticbeanstalk/hooks/appdeploy/enact/09clean.sh
Output from script:
Script succeeded.

2013-03-04 02:40:19,036 [DEBUG] No services specified
2013-03-04 02:40:19,039 [INFO] ConfigSets completed
2013-03-04 02:40:19,043 [DEBUG] Not clearing reboot trigger as scheduling support is not available
2013-03-04 02:40:19,324 [DEBUG] CloudFormation client initialized with endpoint https://cloudformation.us-east-1.amazonaws.com
2013-03-04 02:40:19,325 [DEBUG] Describing resource AWSEBAutoScalingGroup in stack arn:aws:cloudformation:us-east-1:835799448240:stack/awseb-e-kv5aezq3s6-stack/fda1a910-8470-11e2-a47f-50a6768d148d
2013-03-04 02:40:19,522 [DEBUG] Not setting a reboot trigger as scheduling support is not available
2013-03-04 02:40:19,542 [INFO] Running configSets: deque(['Hook-PostAppDeploy'])
2013-03-04 02:40:19,543 [INFO] Running configSet Hook-PostAppDeploy
2013-03-04 02:40:19,544 [INFO] Running config Hook-PostAppDeploy
2013-03-04 02:40:19,544 [DEBUG] No packages specified
2013-03-04 02:40:19,544 [DEBUG] No groups specified
2013-03-04 02:40:19,545 [DEBUG] No users specified
2013-03-04 02:40:19,545 [DEBUG] No sources specified
2013-03-04 02:40:19,545 [DEBUG] No files specified
2013-03-04 02:40:19,545 [DEBUG] Running command hooks
2013-03-04 02:40:19,545 [DEBUG] No test for command hooks
2013-03-04 02:40:20,254 [INFO] Command hooks succeeded
2013-03-04 02:40:20,255 [DEBUG] Command hooks output: Executing directory: /opt/elasticbeanstalk/hooks/appdeploy/post/
Executing script: /opt/elasticbeanstalk/hooks/appdeploy/post/01start.sh
Output from script:
Script succeeded.

2013-03-04 02:40:20,255 [DEBUG] No services specified
2013-03-04 02:40:20,259 [INFO] ConfigSets completed
2013-03-04 02:40:20,264 [DEBUG] Not clearing reboot trigger as scheduling support is not available
2013-03-04 02:45:25,913 [DEBUG] CloudFormation client initialized with endpoint https://cloudformation.us-east-1.amazonaws.com
2013-03-04 02:45:25,913 [DEBUG] Describing resource AWSEBAutoScalingGroup in stack arn:aws:cloudformation:us-east-1:835799448240:stack/awseb-e-kv5aezq3s6-stack/fda1a910-8470-11e2-a47f-50a6768d148d
2013-03-04 02:45:26,129 [DEBUG] Not setting a reboot trigger as scheduling support is not available
2013-03-04 02:45:26,140 [INFO] Running configSets: deque(['InfoTask-TailLogs'])
2013-03-04 02:45:26,141 [INFO] Running configSet InfoTask-TailLogs
2013-03-04 02:45:26,142 [INFO] Running config InfoTask-TailLogs
2013-03-04 02:45:26,143 [DEBUG] No packages specified
2013-03-04 02:45:26,143 [DEBUG] No groups specified
2013-03-04 02:45:26,143 [DEBUG] No users specified
2013-03-04 02:45:26,143 [DEBUG] No sources specified
2013-03-04 02:45:26,143 [DEBUG] No files specified
2013-03-04 02:45:26,144 [DEBUG] Running command taillogs
2013-03-04 02:45:26,144 [DEBUG] No test for command taillogs



-------------------------------------
/var/log/eb-cfn-init.log
-------------------------------------
+ FN_OUTPUT='Retrieving https://s3.amazonaws.com/elasticbeanstalk-env-resources-us-east-1/stalks/eb_hooks_base_1.5/lib/python-certifi-0.0.8-2.3.amzn1.noarch.rpm
Retrieving https://s3.amazonaws.com/elasticbeanstalk-env-resources-us-east-1/stalks/eb_hooks_base_1.5/lib/aws-cfn-bootstrap-1.3-6.noarch.rpm
Preparing packages for installation...
aws-cfn-bootstrap-1.3-6
python-certifi-0.0.8-2.3.amzn1'
+ RESULT=0
+ set -e
+ echo Command Returned: Retrieving https://s3.amazonaws.com/elasticbeanstalk-env-resources-us-east-1/stalks/eb_hooks_base_1.5/lib/python-certifi-0.0.8-2.3.amzn1.noarch.rpm Retrieving https://s3.amazonaws.com/elasticbeanstalk-env-resources-us-east-1/stalks/eb_hooks_base_1.5/lib/aws-cfn-bootstrap-1.3-6.noarch.rpm Preparing packages for installation... aws-cfn-bootstrap-1.3-6 python-certifi-0.0.8-2.3.amzn1
Command Returned: Retrieving https://s3.amazonaws.com/elasticbeanstalk-env-resources-us-east-1/stalks/eb_hooks_base_1.5/lib/python-certifi-0.0.8-2.3.amzn1.noarch.rpm Retrieving https://s3.amazonaws.com/elasticbeanstalk-env-resources-us-east-1/stalks/eb_hooks_base_1.5/lib/aws-cfn-bootstrap-1.3-6.noarch.rpm Preparing packages for installation... aws-cfn-bootstrap-1.3-6 python-certifi-0.0.8-2.3.amzn1
+ [[ 0 -ne 0 ]]
+ break
+ retry_execute test_cfn_metadata
+ SLEEP_TIME=10
+ FN_OUTPUT=
+ true
+ set +e
+ test_cfn_metadata
++ /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:us-east-1:835799448240:stack/awseb-e-kv5aezq3s6-stack/fda1a910-8470-11e2-a47f-50a6768d148d --resource AWSEBBeanstalkMetadata --region us-east-1 --key AWS::ElasticBeanstalk::Metadata.Version
+ FN_OUTPUT=ec977a6f-8470-11e2-8e36-09f8d4808418
+ RESULT=0
+ set -e
+ echo Command Returned: ec977a6f-8470-11e2-8e36-09f8d4808418
Command Returned: ec977a6f-8470-11e2-8e36-09f8d4808418
+ [[ 0 -ne 0 ]]
+ break
+ '[' '!' -f /etc/elasticbeanstalk/.aws-eb-system-initialized ']'
+ echo First init of system.
First init of system.
+ export EB_FIRST_RUN=true
+ EB_FIRST_RUN=true
+ retry_execute cfn_init _OnInstanceBoot
+ SLEEP_TIME=10
+ FN_OUTPUT=
+ true
+ set +e
+ cfn_init _OnInstanceBoot
++ EB_EVENT_FILE=/var/log/eb-startupevents.log
++ EB_SYSTEM_STARTUP=true
++ /opt/aws/bin/cfn-init -v -s arn:aws:cloudformation:us-east-1:835799448240:stack/awseb-e-kv5aezq3s6-stack/fda1a910-8470-11e2-a47f-50a6768d148d -r AWSEBAutoScalingGroup --region us-east-1 --configsets _OnInstanceBoot
+ FN_OUTPUT=
+ RESULT=0
+ set -e
+ echo Command Returned:
Command Returned:
+ [[ 0 -ne 0 ]]
+ break
+ date
+ /bin/cat
+ chmod u+x /opt/elasticbeanstalk/hooks/appdeploy/enact/09clean.sh
+ export EB_IS_WORKFLOW_RUNNING=false
+ EB_IS_WORKFLOW_RUNNING=false
++ getMetadata.py --resource AWSEBAutoScalingGroup --path AWS::ElasticBeanstalk::Ext._LaunchS3URL
+ LAUNCH_S3_URL=http://s3.amazonaws.com/elasticbeanstalk-us-east-1-835799448240/resources/environments/e-kv5aezq3s6/PlayTestAppEBS_LaunchFile
+ [[ -n http://s3.amazonaws.com/elasticbeanstalk-us-east-1-835799448240/resources/environments/e-kv5aezq3s6/PlayTestAppEBS_LaunchFile ]]
+ wget -q http://s3.amazonaws.com/elasticbeanstalk-us-east-1-835799448240/resources/environments/e-kv5aezq3s6/PlayTestAppEBS_LaunchFile
+ echo Worflow running, not executing app install commands
Worflow running, not executing app install commands
+ export EB_IS_WORKFLOW_RUNNING=true
+ EB_IS_WORKFLOW_RUNNING=true
+ [[ true == \t\r\u\e ]]
+ APP_CONFIGSET=Hook-PreInit
+ retry_execute cfn_init Hook-PreInit
+ SLEEP_TIME=10
+ FN_OUTPUT=
+ true
+ set +e
+ cfn_init Hook-PreInit
++ EB_EVENT_FILE=/var/log/eb-startupevents.log
++ EB_SYSTEM_STARTUP=true
++ /opt/aws/bin/cfn-init -v -s arn:aws:cloudformation:us-east-1:835799448240:stack/awseb-e-kv5aezq3s6-stack/fda1a910-8470-11e2-a47f-50a6768d148d -r AWSEBAutoScalingGroup --region us-east-1 --configsets Hook-PreInit
+ FN_OUTPUT=
+ RESULT=0
+ set -e
+ echo Command Returned:
Command Returned:
+ [[ 0 -ne 0 ]]
+ break
+ sed -i 's/\/usr\/bin\/cloud-init-run-module once-per-instance user-scripts execute run-parts/\/usr\/bin\/cloud-init-run-module always user-scripts execute run-parts/g' /etc/init.d/cloud-init-user-scripts
+ log_and_exit 'Successfully bootstrapped instance.'
+ echo Successfully bootstrapped instance.
Successfully bootstrapped instance.
+ /opt/aws/bin/cfn-signal -e 0 'https://cloudformation-waitcondition-us-east-1.s3.amazonaws.com/arn%3Aaws%3Acloudformation%3Aus-east-1%3A835799448240%3Astack%2Fawseb-e-kv5aezq3s6-stack%2Ffda1a910-8470-11e2-a47f-50a6768d148d%2FAWSEBInstanceLaunchWaitHandle?Expires=1362449638&AWSAccessKeyId=AKIAIIT3CWAIMJYUTISA&Signature=xDpfanCVR%2BMgsCBqHAJQ8UbrYXM%3D'
CloudFormation signaled successfully with SUCCESS.
++ cat /var/log/eb-startupevents.log
cat: /var/log/eb-startupevents.log: No such file or directory
+ echo events:
events:
++ cat /var/log/eb-tools.log
+ echo eb-tools: 2013-03-04 02:16:29,772 '[INFO]' '(1837' 'MainThread)' '[directoryHooksExecutor.py-28]' '[root' directoryHooksExecutor 'info]' Executing directory: /opt/elasticbeanstalk/hooks/preinit/ 2013-03-04 02:16:29,772 '[INFO]' '(1837' 'MainThread)' '[directoryHooksExecutor.py-28]' '[root' directoryHooksExecutor 'info]' Executing script: /opt/elasticbeanstalk/hooks/preinit/01misc.sh 2013-03-04 02:16:29,848 '[INFO]' '(1837' 'MainThread)' '[directoryHooksExecutor.py-28]' '[root' directoryHooksExecutor 'info]' Output from script: + '[[' -n true ']]' + echo ''\''Running' 'preinit'\''' Running preinit + preinit + TOMCAT7_HOME=/usr/share/tomcat7 + TOMCAT7_CONF_HOME=/etc/tomcat7 + echo ''\''Patching' Tomcat 7 startup 'scripts'\''' Patching Tomcat 7 startup scripts + ''\''['\''' -f /opt/elasticbeanstalk/containerfiles/tomcat7-elasticbeanstalk ''\'']'\''' + echo ''\''Installing' tomcat7-elasticbeanstalk 'script'\''' Installing tomcat7-elasticbeanstalk script + /bin/mv /opt/elasticbeanstalk/containerfiles/tomcat7-elasticbeanstalk /usr/sbin + /bin/chown root:root /usr/sbin/tomcat7-elasticbeanstalk + /bin/chmod 755 /usr/sbin/tomcat7-elasticbeanstalk + echo ''\''Fixing' Tomcat 7 init.d 'script'\''' Fixing Tomcat 7 init.d script + /bin/sed -i -e ''\''s/\/usr\/sbin\/tomcat7/\/usr\/sbin\/tomcat7-elasticbeanstalk/g'\''' /etc/init.d/tomcat7 + echo ''\''Creating' ElasticBeanstalk Apache 'confs'\''' Creating ElasticBeanstalk Apache confs + /bin/cat + echo ''\''Adding' X-Forwarded-Proto 'valve'\''' Adding X-Forwarded-Proto valve + /bin/sed -i -e ''\''/<\/Host>/' 'i\' '<Valve' 'className="org.apache.catalina.valves.RemoteIpValve"' 'protocolHeader="X-Forwarded-Proto"' '\/>' ''\''' /etc/tomcat7/server.xml + echo ''\''Removing' tomcat internal log 'rotation.'\''' Removing tomcat internal log rotation. + /bin/sed -i -e ''\''s|prefix="localhost_access_log.*$|prefix="localhost_access_log"' 'suffix=".txt"' 'rotatable="false"|'\''' /etc/tomcat7/server.xml + cat + cat + cat + chmod 755 /etc/cron.hourly/logrotate-elasticbeanstalk + cat + chmod 755 /etc/cron.hourly/logrotate-elasticbeanstalk-httpd + echo ''\''Removing' default tomcat 'logrotate.'\''' Removing default tomcat logrotate. + /bin/rm /etc/logrotate.d/tomcat7 + echo ''\''Removing' default httpd 'logrotate.'\''' Removing default httpd logrotate. + /bin/rm /etc/logrotate.d/httpd + echo ''\''Removing' extra log 'file.'\''' Removing extra log file. + sed -i ''\''/.handlers' = 1catalina.org.apache.juli.FileHandler, java.util.logging.ConsoleHandle/c '\' .handlers = 'java.util.logging.ConsoleHandler'\''' /etc/tomcat7/logging.properties + sed -i ''\''/org.apache.catalina.core.ContainerBase.\[Catalina\].\[localhost\].handlers' = 2localhost.org.apache.juli.FileHandler/c '\' 'org.apache.catalina.core.ContainerBase.[Catalina].[localhost].handlers' = 'java.util.logging.ConsoleHandler'\''' /etc/tomcat7/logging.properties + ln -sf /usr/share/java/apache-commons-pool.jar /usr/share/tomcat7/lib/ 2013-03-04 02:16:29,849 '[INFO]' '(1837' 'MainThread)' '[directoryHooksExecutor.py-28]' '[root' directoryHooksExecutor 'info]' Script succeeded.
eb-tools: 2013-03-04 02:16:29,772 [INFO] (1837 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Executing directory: /opt/elasticbeanstalk/hooks/preinit/ 2013-03-04 02:16:29,772 [INFO] (1837 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Executing script: /opt/elasticbeanstalk/hooks/preinit/01misc.sh 2013-03-04 02:16:29,848 [INFO] (1837 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Output from script: + [[ -n true ]] + echo 'Running preinit' Running preinit + preinit + TOMCAT7_HOME=/usr/share/tomcat7 + TOMCAT7_CONF_HOME=/etc/tomcat7 + echo 'Patching Tomcat 7 startup scripts' Patching Tomcat 7 startup scripts + '[' -f /opt/elasticbeanstalk/containerfiles/tomcat7-elasticbeanstalk ']' + echo 'Installing tomcat7-elasticbeanstalk script' Installing tomcat7-elasticbeanstalk script + /bin/mv /opt/elasticbeanstalk/containerfiles/tomcat7-elasticbeanstalk /usr/sbin + /bin/chown root:root /usr/sbin/tomcat7-elasticbeanstalk + /bin/chmod 755 /usr/sbin/tomcat7-elasticbeanstalk + echo 'Fixing Tomcat 7 init.d script' Fixing Tomcat 7 init.d script + /bin/sed -i -e 's/\/usr\/sbin\/tomcat7/\/usr\/sbin\/tomcat7-elasticbeanstalk/g' /etc/init.d/tomcat7 + echo 'Creating ElasticBeanstalk Apache confs' Creating ElasticBeanstalk Apache confs + /bin/cat + echo 'Adding X-Forwarded-Proto valve' Adding X-Forwarded-Proto valve + /bin/sed -i -e '/<\/Host>/ i\ <Valve className="org.apache.catalina.valves.RemoteIpValve" protocolHeader="X-Forwarded-Proto" \/> ' /etc/tomcat7/server.xml + echo 'Removing tomcat internal log rotation.' Removing tomcat internal log rotation. + /bin/sed -i -e 's|prefix="localhost_access_log.*$|prefix="localhost_access_log" suffix=".txt" rotatable="false"|' /etc/tomcat7/server.xml + cat + cat + cat + chmod 755 /etc/cron.hourly/logrotate-elasticbeanstalk + cat + chmod 755 /etc/cron.hourly/logrotate-elasticbeanstalk-httpd + echo 'Removing default tomcat logrotate.' Removing default tomcat logrotate. + /bin/rm /etc/logrotate.d/tomcat7 + echo 'Removing default httpd logrotate.' Removing default httpd logrotate. + /bin/rm /etc/logrotate.d/httpd + echo 'Removing extra log file.' Removing extra log file. + sed -i '/.handlers = 1catalina.org.apache.juli.FileHandler, java.util.logging.ConsoleHandle/c \ .handlers = java.util.logging.ConsoleHandler' /etc/tomcat7/logging.properties + sed -i '/org.apache.catalina.core.ContainerBase.\[Catalina\].\[localhost\].handlers = 2localhost.org.apache.juli.FileHandler/c \ org.apache.catalina.core.ContainerBase.[Catalina].[localhost].handlers = java.util.logging.ConsoleHandler' /etc/tomcat7/logging.properties + ln -sf /usr/share/java/apache-commons-pool.jar /usr/share/tomcat7/lib/ 2013-03-04 02:16:29,849 [INFO] (1837 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Script succeeded.
++ cat /var/log/cfn-init.log
+ echo cfn-init: 2013-03-04 02:15:26,435 '[DEBUG]' CloudFormation client initialized with endpoint https://cloudformation.us-east-1.amazonaws.com 2013-03-04 02:15:26,435 '[DEBUG]' Describing resource AWSEBAutoScalingGroup in stack arn:aws:cloudformation:us-east-1:835799448240:stack/awseb-e-kv5aezq3s6-stack/fda1a910-8470-11e2-a47f-50a6768d148d 2013-03-04 02:15:26,771 '[DEBUG]' Not setting a reboot trigger as scheduling support is not available 2013-03-04 02:15:26,783 '[INFO]' Running configSets: 'deque(['\''_OnInstanceBoot'\''])' 2013-03-04 02:15:26,784 '[INFO]' Running configSet _OnInstanceBoot 2013-03-04 02:15:26,789 '[INFO]' Running config TomcatContainerInstallHooksPkg 2013-03-04 02:15:26,789 '[DEBUG]' No packages specified 2013-03-04 02:15:26,789 '[DEBUG]' No groups specified 2013-03-04 02:15:26,789 '[DEBUG]' No users specified 2013-03-04 02:15:26,849 '[DEBUG]' Treating https://s3.amazonaws.com/elasticbeanstalk-env-resources-us-east-1/stalks/eb_tomcat_7_1.5-1/container_files/hooks.tar.gz as a tarball 2013-03-04 02:15:26,850 '[DEBUG]' Checking to ensure that all archive members fall under path /opt/elasticbeanstalk 2013-03-04 02:15:26,856 '[DEBUG]' Expanding https://s3.amazonaws.com/elasticbeanstalk-env-resources-us-east-1/stalks/eb_tomcat_7_1.5-1/container_files/hooks.tar.gz into /opt/elasticbeanstalk 2013-03-04 02:15:26,878 '[DEBUG]' No files specified 2013-03-04 02:15:26,878 '[DEBUG]' No commands specified 2013-03-04 02:15:26,879 '[DEBUG]' No services specified 2013-03-04 02:15:26,887 '[INFO]' Running config TomcatContainerInstallPackages 2013-03-04 02:15:35,578 '[DEBUG]' Querying for version of package tomcat7 2013-03-04 02:15:35,723 '[DEBUG]' RPM stdout: 2013-03-04 02:15:35,724 '[DEBUG]' RPM stderr: 2013-03-04 02:15:35,725 '[DEBUG]' Requested version 7.0.27 is greater than installed version , so we will upgrade 2013-03-04 02:15:36,278 '[DEBUG]' Querying for version of package httpd 2013-03-04 02:15:36,422 '[DEBUG]' RPM stdout: 2013-03-04 02:15:36,422 '[DEBUG]' RPM stderr: 2013-03-04 02:15:36,423 '[DEBUG]' Requested version 2.2.22 is greater than installed version , so we will upgrade 2013-03-04 02:15:36,976 '[DEBUG]' Querying for version of package rubygems 2013-03-04 02:15:37,122 '[DEBUG]' RPM stdout: 2013-03-04 02:15:37,123 '[DEBUG]' RPM stderr: 2013-03-04 02:15:37,123 '[DEBUG]' Requested version 1.8.11 is greater than installed version , so we will upgrade 2013-03-04 02:15:37,679 '[DEBUG]' Querying for version of package log4j 2013-03-04 02:15:37,823 '[DEBUG]' RPM stdout: 2013-03-04 02:15:37,824 '[DEBUG]' RPM stderr: 2013-03-04 02:15:37,824 '[DEBUG]' Requested version 1.2.16 is greater than installed version , so we will upgrade 2013-03-04 02:15:37,824 '[DEBUG]' Installing/updating '[u'\''tomcat7-7.0.27'\'',' 'u'\''httpd-2.2.22'\'',' 'u'\''rubygems-1.8.11'\'',' 'u'\''log4j-1.2.16'\'']' via yum 2013-03-04 02:16:09,755 '[INFO]' Yum installed '[u'\''tomcat7'\'',' 'u'\''httpd'\'',' 'u'\''rubygems'\'',' 'u'\''log4j'\'']' 2013-03-04 02:16:09,756 '[DEBUG]' Checking to see if bluepill-0.0.51 is already installed 2013-03-04 02:16:09,846 '[INFO]' Installing bluepill version 0.0.51 via gem 2013-03-04 02:16:24,552 '[INFO]' Gem installed: bluepill-0.0.51 2013-03-04 02:16:24,553 '[DEBUG]' Gem output: Successfully installed daemons-1.1.9 Successfully installed state_machine-0.9.4 Successfully installed i18n-0.6.4 Successfully installed multi_json-1.6.1 Successfully installed activesupport-3.2.12 Successfully installed bluepill-0.0.51 6 gems installed 2013-03-04 02:16:24,553 '[DEBUG]' No groups specified 2013-03-04 02:16:24,553 '[DEBUG]' No users specified 2013-03-04 02:16:24,553 '[DEBUG]' No sources specified 2013-03-04 02:16:24,554 '[DEBUG]' No files specified 2013-03-04 02:16:24,554 '[DEBUG]' No commands specified 2013-03-04 02:16:24,554 '[DEBUG]' No services specified 2013-03-04 02:16:24,561 '[INFO]' Running config TomcatContainerInstallTailLogsConf 2013-03-04 02:16:24,561 '[DEBUG]' No packages specified 2013-03-04 02:16:24,562 '[DEBUG]' No groups specified 2013-03-04 02:16:24,562 '[DEBUG]' No users specified 2013-03-04 02:16:24,562 '[DEBUG]' No sources specified 2013-03-04 02:16:24,562 '[DEBUG]' Parent directory /opt/elasticbeanstalk/tasks/taillogs.d does not exist, creating 2013-03-04 02:16:24,563 '[DEBUG]' Writing content to /opt/elasticbeanstalk/tasks/taillogs.d/httpd.conf 2013-03-04 02:16:24,563 '[DEBUG]' Setting mode for /opt/elasticbeanstalk/tasks/taillogs.d/httpd.conf to 000644 2013-03-04 02:16:24,563 '[DEBUG]' Writing content to /opt/elasticbeanstalk/tasks/taillogs.d/tomcat7.conf 2013-03-04 02:16:24,564 '[DEBUG]' Setting mode for /opt/elasticbeanstalk/tasks/taillogs.d/tomcat7.conf to 000644 2013-03-04 02:16:24,564 '[DEBUG]' No commands specified 2013-03-04 02:16:24,564 '[DEBUG]' No services specified 2013-03-04 02:16:24,591 '[INFO]' Running config TomcatContainerInstallSystemTailLogsConf 2013-03-04 02:16:24,591 '[DEBUG]' No packages specified 2013-03-04 02:16:24,592 '[DEBUG]' No groups specified 2013-03-04 02:16:24,592 '[DEBUG]' No users specified 2013-03-04 02:16:24,592 '[DEBUG]' No sources specified 2013-03-04 02:16:24,592 '[DEBUG]' Parent directory /opt/elasticbeanstalk/tasks/systemtaillogs.d does not exist, creating 2013-03-04 02:16:24,593 '[DEBUG]' Writing content to /opt/elasticbeanstalk/tasks/systemtaillogs.d/httpd.conf 2013-03-04 02:16:24,593 '[DEBUG]' Setting mode for /opt/elasticbeanstalk/tasks/systemtaillogs.d/httpd.conf to 000644 2013-03-04 02:16:24,593 '[DEBUG]' Writing content to /opt/elasticbeanstalk/tasks/systemtaillogs.d/tomcat7.conf 2013-03-04 02:16:24,593 '[DEBUG]' Setting mode for /opt/elasticbeanstalk/tasks/systemtaillogs.d/tomcat7.conf to 000644 2013-03-04 02:16:24,594 '[DEBUG]' No commands specified 2013-03-04 02:16:24,594 '[DEBUG]' No services specified 2013-03-04 02:16:24,601 '[INFO]' Running config TomcatContainerInstallBundleLogsConf 2013-03-04 02:16:24,601 '[DEBUG]' No packages specified 2013-03-04 02:16:24,601 '[DEBUG]' No groups specified 2013-03-04 02:16:24,602 '[DEBUG]' No users specified 2013-03-04 02:16:24,602 '[DEBUG]' No sources specified 2013-03-04 02:16:24,602 '[DEBUG]' Parent directory /opt/elasticbeanstalk/tasks/bundlelogs.d does not exist, creating 2013-03-04 02:16:24,602 '[DEBUG]' Writing content to /opt/elasticbeanstalk/tasks/bundlelogs.d/httpd.conf 2013-03-04 02:16:24,603 '[DEBUG]' Setting mode for /opt/elasticbeanstalk/tasks/bundlelogs.d/httpd.conf to 000644 2013-03-04 02:16:24,603 '[DEBUG]' Writing content to /opt/elasticbeanstalk/tasks/bundlelogs.d/tomcat7.conf 2013-03-04 02:16:24,603 '[DEBUG]' Setting mode for /opt/elasticbeanstalk/tasks/bundlelogs.d/tomcat7.conf to 000644 2013-03-04 02:16:24,603 '[DEBUG]' No commands specified 2013-03-04 02:16:24,604 '[DEBUG]' No services specified 2013-03-04 02:16:24,611 '[INFO]' Running config TomcatContainerInstallPublishLogsConf 2013-03-04 02:16:24,612 '[DEBUG]' No packages specified 2013-03-04 02:16:24,612 '[DEBUG]' No groups specified 2013-03-04 02:16:24,612 '[DEBUG]' No users specified 2013-03-04 02:16:24,612 '[DEBUG]' No sources specified 2013-03-04 02:16:24,612 '[DEBUG]' Parent directory /opt/elasticbeanstalk/tasks/publishlogs.d does not exist, creating 2013-03-04 02:16:24,613 '[DEBUG]' Writing content to /opt/elasticbeanstalk/tasks/publishlogs.d/httpd.conf 2013-03-04 02:16:24,613 '[DEBUG]' Setting mode for /opt/elasticbeanstalk/tasks/publishlogs.d/httpd.conf to 000644 2013-03-04 02:16:24,613 '[DEBUG]' Writing content to /opt/elasticbeanstalk/tasks/publishlogs.d/tomcat7.conf 2013-03-04 02:16:24,614 '[DEBUG]' Setting mode for /opt/elasticbeanstalk/tasks/publishlogs.d/tomcat7.conf to 000644 2013-03-04 02:16:24,614 '[DEBUG]' No commands specified 2013-03-04 02:16:24,614 '[DEBUG]' No services specified 2013-03-04 02:16:24,626 '[INFO]' Running config AWSEBTools 2013-03-04 02:16:24,626 '[DEBUG]' Querying for version of package https://s3.amazonaws.com/elasticbeanstalk-env-resources-us-east-1/stalks/eb_hooks_base_1.5/lib/aws-elasticbeanstalk-tools-1.5-1.noarch.rpm 2013-03-04 02:16:24,782 '[DEBUG]' RPM stdout: 'aws-elasticbeanstalk-tools|1.5-1' 2013-03-04 02:16:24,782 '[DEBUG]' RPM stderr: 2013-03-04 02:16:24,811 '[DEBUG]' Installing '[u'\''https://s3.amazonaws.com/elasticbeanstalk-env-resources-us-east-1/stalks/eb_hooks_base_1.5/lib/aws-elasticbeanstalk-tools-1.5-1.noarch.rpm'\'']' via RPM 2013-03-04 02:16:25,044 '[DEBUG]' RPM output: 2013-03-04 02:16:25,045 '[INFO]' Attempting to install '[u'\''https://s3.amazonaws.com/elasticbeanstalk-env-resources-us-east-1/stalks/eb_hooks_base_1.5/lib/tailer-0.3.tar.gz#md5=9d1fc073e48ca682786d50c077e823ce'\'',' 'u'\''requests==0.13.5'\'']' via easy_install 2013-03-04 02:16:25,367 '[INFO]' easy_install installed '[u'\''https://s3.amazonaws.com/elasticbeanstalk-env-resources-us-east-1/stalks/eb_hooks_base_1.5/lib/tailer-0.3.tar.gz#md5=9d1fc073e48ca682786d50c077e823ce'\'',' 'u'\''requests==0.13.5'\'']' 2013-03-04 02:16:25,368 '[DEBUG]' easy_install output: Downloading https://s3.amazonaws.com/elasticbeanstalk-env-resources-us-east-1/stalks/eb_hooks_base_1.5/lib/tailer-0.3.tar.gz#md5=9d1fc073e48ca682786d50c077e823ce Processing tailer-0.3.tar.gz Running tailer-0.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-4cCmyl/tailer-0.3/egg-dist-tmp-sgztPN zip_safe flag not 'set;' analyzing archive contents... Adding tailer 0.3 to easy-install.pth file Installing pytail script to /usr/bin Installed /usr/lib/python2.6/site-packages/tailer-0.3-py2.6.egg Processing dependencies for tailer==0.3 Finished processing dependencies for tailer==0.3 Searching for requests==0.13.5 Best match: requests 0.13.5 Processing requests-0.13.5-py2.6.egg requests 0.13.5 is already the active version in easy-install.pth Using /usr/lib/python2.6/site-packages/requests-0.13.5-py2.6.egg Processing dependencies for requests==0.13.5 Finished processing dependencies for requests==0.13.5 2013-03-04 02:16:25,369 '[DEBUG]' No groups specified 2013-03-04 02:16:25,369 '[DEBUG]' No users specified 2013-03-04 02:16:25,369 '[DEBUG]' No sources specified 2013-03-04 02:16:25,369 '[DEBUG]' No files specified 2013-03-04 02:16:25,369 '[DEBUG]' No commands specified 2013-03-04 02:16:25,369 '[DEBUG]' No services specified 2013-03-04 02:16:25,380 '[INFO]' Running config AWSEBBaseConfig 2013-03-04 02:16:25,380 '[DEBUG]' No packages specified 2013-03-04 02:16:25,380 '[DEBUG]' No groups specified 2013-03-04 02:16:25,381 '[DEBUG]' No users specified 2013-03-04 02:16:25,381 '[DEBUG]' No sources specified 2013-03-04 02:16:25,381 '[DEBUG]' Parent directory /etc/cfn does not exist, creating 2013-03-04 02:16:25,382 '[DEBUG]' Writing content to /etc/cfn/cfn-hup.conf 2013-03-04 02:16:25,382 '[DEBUG]' Setting mode for /etc/cfn/cfn-hup.conf to 000400 2013-03-04 02:16:25,382 '[DEBUG]' Setting owner 0 and group 0 for /etc/cfn/cfn-hup.conf 2013-03-04 02:16:25,383 '[DEBUG]' Parent directory /etc/cfn/hooks.d does not exist, creating 2013-03-04 02:16:25,383 '[DEBUG]' Writing content to /etc/cfn/hooks.d/aws-eb-command-handler.conf 2013-03-04 02:16:25,383 '[DEBUG]' No mode specified for /etc/cfn/hooks.d/aws-eb-command-handler.conf 2013-03-04 02:16:25,383 '[DEBUG]' Parent directory /etc/elasticbeanstalk does not exist, creating 2013-03-04 02:16:25,384 '[DEBUG]' Writing content to /etc/elasticbeanstalk/.aws-eb-stack.properties 2013-03-04 02:16:25,384 '[DEBUG]' Setting mode for /etc/elasticbeanstalk/.aws-eb-stack.properties to 000440 2013-03-04 02:16:25,384 '[DEBUG]' Setting owner 0 and group 0 for /etc/elasticbeanstalk/.aws-eb-stack.properties 2013-03-04 02:16:25,385 '[DEBUG]' Running command clearbackupfiles 2013-03-04 02:16:25,385 '[DEBUG]' No test for command clearbackupfiles 2013-03-04 02:16:25,399 '[INFO]' Command clearbackupfiles succeeded 2013-03-04 02:16:25,399 '[DEBUG]' Command clearbackupfiles output: 2013-03-04 02:16:25,400 '[DEBUG]' No services specified 2013-03-04 02:16:25,414 '[INFO]' Running config AWSEBCfnHup 2013-03-04 02:16:25,415 '[DEBUG]' No packages specified 2013-03-04 02:16:25,415 '[DEBUG]' No groups specified 2013-03-04 02:16:25,415 '[DEBUG]' No users specified 2013-03-04 02:16:25,415 '[DEBUG]' No sources specified 2013-03-04 02:16:25,415 '[DEBUG]' No files specified 2013-03-04 02:16:25,415 '[DEBUG]' No commands specified 2013-03-04 02:16:25,416 '[DEBUG]' Not modifying enabled state of service cfn-hup 2013-03-04 02:16:25,416 '[DEBUG]' Using service runner: /sbin/service 2013-03-04 02:16:25,456 '[DEBUG]' Starting service cfn-hup as it is not running 2013-03-04 02:16:25,780 '[INFO]' Started cfn-hup successfully 2013-03-04 02:16:25,796 '[INFO]' Running config Infra-WriteLeaderTestScript 2013-03-04 02:16:25,796 '[DEBUG]' No packages specified 2013-03-04 02:16:25,796 '[DEBUG]' No groups specified 2013-03-04 02:16:25,796 '[DEBUG]' No users specified 2013-03-04 02:16:25,796 '[DEBUG]' No sources specified 2013-03-04 02:16:25,797 '[DEBUG]' Parent directory /opt/elasticbeanstalk/bin does not exist, creating 2013-03-04 02:16:25,797 '[DEBUG]' Writing content to /opt/elasticbeanstalk/bin/leader-test.sh 2013-03-04 02:16:25,797 '[DEBUG]' Setting mode for /opt/elasticbeanstalk/bin/leader-test.sh to 000755 2013-03-04 02:16:25,798 '[DEBUG]' No commands specified 2013-03-04 02:16:25,798 '[DEBUG]' No services specified 2013-03-04 02:16:25,805 '[INFO]' Running config Infra-WriteRuntimeConfig 2013-03-04 02:16:25,806 '[DEBUG]' No packages specified 2013-03-04 02:16:25,806 '[DEBUG]' No groups specified 2013-03-04 02:16:25,806 '[DEBUG]' No users specified 2013-03-04 02:16:25,806 '[DEBUG]' No sources specified 2013-03-04 02:16:25,806 '[DEBUG]' No files specified 2013-03-04 02:16:25,806 '[DEBUG]' Running command 01mkdir 2013-03-04 02:16:25,807 '[DEBUG]' No test for command 01mkdir 2013-03-04 02:16:25,836 '[INFO]' Command 01mkdir succeeded 2013-03-04 02:16:25,837 '[DEBUG]' Command 01mkdir output: 2013-03-04 02:16:25,837 '[DEBUG]' Running command 02writeappsource 2013-03-04 02:16:25,837 '[DEBUG]' No test for command 02writeappsource 2013-03-04 02:16:26,472 '[INFO]' Command 02writeappsource succeeded 2013-03-04 02:16:26,473 '[DEBUG]' Command 02writeappsource output: 2013-03-04 02:16:26,473 '[DEBUG]' Running command 03writeconfig 2013-03-04 02:16:26,473 '[DEBUG]' No test for command 03writeconfig 2013-03-04 02:16:27,120 '[INFO]' Command 03writeconfig succeeded 2013-03-04 02:16:27,121 '[DEBUG]' Command 03writeconfig output: 2013-03-04 02:16:27,121 '[DEBUG]' Running command 04setperms 2013-03-04 02:16:27,122 '[DEBUG]' No test for command 04setperms 2013-03-04 02:16:27,136 '[INFO]' Command 04setperms succeeded 2013-03-04 02:16:27,136 '[DEBUG]' Command 04setperms output: 2013-03-04 02:16:27,137 '[DEBUG]' No services specified 2013-03-04 02:16:27,146 '[INFO]' Running config Infra-WriteApplication1 2013-03-04 02:16:27,146 '[DEBUG]' No packages specified 2013-03-04 02:16:27,146 '[DEBUG]' No groups specified 2013-03-04 02:16:27,146 '[DEBUG]' No users specified 2013-03-04 02:16:27,146 '[DEBUG]' No sources specified 2013-03-04 02:16:27,147 '[DEBUG]' No files specified 2013-03-04 02:16:27,147 '[DEBUG]' Running command 01mkdir 2013-03-04 02:16:27,147 '[DEBUG]' No test for command 01mkdir 2013-03-04 02:16:27,164 '[INFO]' Command 01mkdir succeeded 2013-03-04 02:16:27,165 '[DEBUG]' Command 01mkdir output: 2013-03-04 02:16:27,165 '[DEBUG]' No services specified 2013-03-04 02:16:27,179 '[INFO]' Running config Infra-WriteApplication2 2013-03-04 02:16:27,180 '[DEBUG]' No packages specified 2013-03-04 02:16:27,180 '[DEBUG]' No groups specified 2013-03-04 02:16:27,180 '[DEBUG]' No users specified 2013-03-04 02:16:27,180 '[DEBUG]' No sources specified 2013-03-04 02:16:27,181 '[DEBUG]' Writing content to /opt/elasticbeanstalk/deploy/appsource/source_bundle 2013-03-04 02:16:27,181 '[DEBUG]' Retrieving contents from 'https://elasticbeanstalk-us-east-1-835799448240.s3.amazonaws.com/resources%2Fenvironments%2Fe-kv5aezq3s6%2F_runtime%2F_versions%2FQuickGame%2FPlayTestAppEBSVersion?Expires=1393899133&AWSAccessKeyId=AKIAIOUOORMVUTXOJUHQ&Signature=NaAWR7gYzGZtZGki%2B3%2BDY3naDTU%3D' 2013-03-04 02:16:28,478 '[DEBUG]' No mode specified for /opt/elasticbeanstalk/deploy/appsource/source_bundle 2013-03-04 02:16:28,478 '[DEBUG]' No commands specified 2013-03-04 02:16:28,478 '[DEBUG]' No services specified 2013-03-04 02:16:28,486 '[INFO]' Running config Infra-WriteTailLogsConf 2013-03-04 02:16:28,486 '[DEBUG]' No packages specified 2013-03-04 02:16:28,486 '[DEBUG]' No groups specified 2013-03-04 02:16:28,487 '[DEBUG]' No users specified 2013-03-04 02:16:28,487 '[DEBUG]' No sources specified 2013-03-04 02:16:28,487 '[DEBUG]' Writing content to /opt/elasticbeanstalk/tasks/taillogs.d/cfn-system.conf 2013-03-04 02:16:28,487 '[DEBUG]' Setting mode for /opt/elasticbeanstalk/tasks/taillogs.d/cfn-system.conf to 000644 2013-03-04 02:16:28,488 '[DEBUG]' Writing content to /opt/elasticbeanstalk/tasks/taillogs.d/eb-system.conf 2013-03-04 02:16:28,488 '[DEBUG]' Setting mode for /opt/elasticbeanstalk/tasks/taillogs.d/eb-system.conf to 000644 2013-03-04 02:16:28,488 '[DEBUG]' No commands specified 2013-03-04 02:16:28,488 '[DEBUG]' No services specified 2013-03-04 02:16:28,498 '[INFO]' Running config Infra-WriteSystemTailLogsConf 2013-03-04 02:16:28,498 '[DEBUG]' No packages specified 2013-03-04 02:16:28,498 '[DEBUG]' No groups specified 2013-03-04 02:16:28,499 '[DEBUG]' No users specified 2013-03-04 02:16:28,499 '[DEBUG]' No sources specified 2013-03-04 02:16:28,499 '[DEBUG]' Writing content to /opt/elasticbeanstalk/tasks/systemtaillogs.d/cfn-system.conf 2013-03-04 02:16:28,499 '[DEBUG]' Setting mode for /opt/elasticbeanstalk/tasks/systemtaillogs.d/cfn-system.conf to 000644 2013-03-04 02:16:28,500 '[DEBUG]' Writing content to /opt/elasticbeanstalk/tasks/systemtaillogs.d/cloud-init-system.conf 2013-03-04 02:16:28,500 '[DEBUG]' Setting mode for /opt/elasticbeanstalk/tasks/systemtaillogs.d/cloud-init-system.conf to 000644 2013-03-04 02:16:28,500 '[DEBUG]' Writing content to /opt/elasticbeanstalk/tasks/systemtaillogs.d/eb-system.conf 2013-03-04 02:16:28,500 '[DEBUG]' Setting mode for /opt/elasticbeanstalk/tasks/systemtaillogs.d/eb-system.conf to 000644 2013-03-04 02:16:28,501 '[DEBUG]' Writing content to /opt/elasticbeanstalk/tasks/systemtaillogs.d/system.conf 2013-03-04 02:16:28,501 '[DEBUG]' Setting mode for /opt/elasticbeanstalk/tasks/systemtaillogs.d/system.conf to 000644 2013-03-04 02:16:28,501 '[DEBUG]' No commands specified 2013-03-04 02:16:28,501 '[DEBUG]' No services specified 2013-03-04 02:16:28,506 '[INFO]' Running config Infra-WriteBundleLogsConf 2013-03-04 02:16:28,506 '[DEBUG]' No packages specified 2013-03-04 02:16:28,506 '[DEBUG]' No groups specified 2013-03-04 02:16:28,507 '[DEBUG]' No users specified 2013-03-04 02:16:28,507 '[DEBUG]' No sources specified 2013-03-04 02:16:28,507 '[DEBUG]' Writing content to /opt/elasticbeanstalk/tasks/bundlelogs.d/cfn-system.conf 2013-03-04 02:16:28,507 '[DEBUG]' Setting mode for /opt/elasticbeanstalk/tasks/bundlelogs.d/cfn-system.conf to 000644 2013-03-04 02:16:28,508 '[DEBUG]' Writing content to /opt/elasticbeanstalk/tasks/bundlelogs.d/cloud-init-system.conf 2013-03-04 02:16:28,508 '[DEBUG]' Setting mode for /opt/elasticbeanstalk/tasks/bundlelogs.d/cloud-init-system.conf to 000644 2013-03-04 02:16:28,508 '[DEBUG]' Writing content to /opt/elasticbeanstalk/tasks/bundlelogs.d/eb-system.conf 2013-03-04 02:16:28,508 '[DEBUG]' Setting mode for /opt/elasticbeanstalk/tasks/bundlelogs.d/eb-system.conf to 000644 2013-03-04 02:16:28,509 '[DEBUG]' Writing content to /opt/elasticbeanstalk/tasks/bundlelogs.d/system.conf 2013-03-04 02:16:28,509 '[DEBUG]' Setting mode for /opt/elasticbeanstalk/tasks/bundlelogs.d/system.conf to 000644 2013-03-04 02:16:28,509 '[DEBUG]' No commands specified 2013-03-04 02:16:28,509 '[DEBUG]' No services specified 2013-03-04 02:16:28,514 '[INFO]' Running config Infra-WritePublishLogsConf 2013-03-04 02:16:28,514 '[DEBUG]' No packages specified 2013-03-04 02:16:28,514 '[DEBUG]' No groups specified 2013-03-04 02:16:28,515 '[DEBUG]' No users specified 2013-03-04 02:16:28,515 '[DEBUG]' No sources specified 2013-03-04 02:16:28,515 '[DEBUG]' No files specified 2013-03-04 02:16:28,515 '[DEBUG]' No commands specified 2013-03-04 02:16:28,515 '[DEBUG]' No services specified 2013-03-04 02:16:28,518 '[INFO]' Running config Infra-WritePublishLogsCron 2013-03-04 02:16:28,518 '[DEBUG]' No packages specified 2013-03-04 02:16:28,518 '[DEBUG]' No groups specified 2013-03-04 02:16:28,519 '[DEBUG]' No users specified 2013-03-04 02:16:28,519 '[DEBUG]' No sources specified 2013-03-04 02:16:28,519 '[DEBUG]' Writing content to /etc/cron.d/publishlogs 2013-03-04 02:16:28,519 '[DEBUG]' Setting mode for /etc/cron.d/publishlogs to 000644 2013-03-04 02:16:28,519 '[DEBUG]' No commands specified 2013-03-04 02:16:28,520 '[DEBUG]' No services specified 2013-03-04 02:16:28,521 '[INFO]' ConfigSets completed 2013-03-04 02:16:28,526 '[DEBUG]' Not clearing reboot trigger as scheduling support is not available 2013-03-04 02:16:29,463 '[DEBUG]' CloudFormation client initialized with endpoint https://cloudformation.us-east-1.amazonaws.com 2013-03-04 02:16:29,464 '[DEBUG]' Describing resource AWSEBAutoScalingGroup in stack arn:aws:cloudformation:us-east-1:835799448240:stack/awseb-e-kv5aezq3s6-stack/fda1a910-8470-11e2-a47f-50a6768d148d 2013-03-04 02:16:29,662 '[DEBUG]' Not setting a reboot trigger as scheduling support is not available 2013-03-04 02:16:29,675 '[INFO]' Running configSets: 'deque(['\''Hook-PreInit'\''])' 2013-03-04 02:16:29,676 '[INFO]' Running configSet Hook-PreInit 2013-03-04 02:16:29,677 '[INFO]' Running config Hook-PreInit 2013-03-04 02:16:29,678 '[DEBUG]' No packages specified 2013-03-04 02:16:29,678 '[DEBUG]' No groups specified 2013-03-04 02:16:29,678 '[DEBUG]' No users specified 2013-03-04 02:16:29,678 '[DEBUG]' No sources specified 2013-03-04 02:16:29,678 '[DEBUG]' No files specified 2013-03-04 02:16:29,678 '[DEBUG]' Running command hooks 2013-03-04 02:16:29,679 '[DEBUG]' No test for command hooks 2013-03-04 02:16:29,862 '[INFO]' Command hooks succeeded 2013-03-04 02:16:29,863 '[DEBUG]' Command hooks output: Executing directory: /opt/elasticbeanstalk/hooks/preinit/ Executing script: /opt/elasticbeanstalk/hooks/preinit/01misc.sh Output from script: + '[[' -n true ']]' + echo ''\''Running' 'preinit'\''' Running preinit + preinit + TOMCAT7_HOME=/usr/share/tomcat7 + TOMCAT7_CONF_HOME=/etc/tomcat7 + echo ''\''Patching' Tomcat 7 startup 'scripts'\''' Patching Tomcat 7 startup scripts + ''\''['\''' -f /opt/elasticbeanstalk/containerfiles/tomcat7-elasticbeanstalk ''\'']'\''' + echo ''\''Installing' tomcat7-elasticbeanstalk 'script'\''' Installing tomcat7-elasticbeanstalk script + /bin/mv /opt/elasticbeanstalk/containerfiles/tomcat7-elasticbeanstalk /usr/sbin + /bin/chown root:root /usr/sbin/tomcat7-elasticbeanstalk + /bin/chmod 755 /usr/sbin/tomcat7-elasticbeanstalk + echo ''\''Fixing' Tomcat 7 init.d 'script'\''' Fixing Tomcat 7 init.d script + /bin/sed -i -e ''\''s/\/usr\/sbin\/tomcat7/\/usr\/sbin\/tomcat7-elasticbeanstalk/g'\''' /etc/init.d/tomcat7 + echo ''\''Creating' ElasticBeanstalk Apache 'confs'\''' Creating ElasticBeanstalk Apache confs + /bin/cat + echo ''\''Adding' X-Forwarded-Proto 'valve'\''' Adding X-Forwarded-Proto valve + /bin/sed -i -e ''\''/<\/Host>/' 'i\' '<Valve' 'className="org.apache.catalina.valves.RemoteIpValve"' 'protocolHeader="X-Forwarded-Proto"' '\/>' ''\''' /etc/tomcat7/server.xml + echo ''\''Removing' tomcat internal log 'rotation.'\''' Removing tomcat internal log rotation. + /bin/sed -i -e ''\''s|prefix="localhost_access_log.*$|prefix="localhost_access_log"' 'suffix=".txt"' 'rotatable="false"|'\''' /etc/tomcat7/server.xml + cat + cat + cat + chmod 755 /etc/cron.hourly/logrotate-elasticbeanstalk + cat + chmod 755 /etc/cron.hourly/logrotate-elasticbeanstalk-httpd + echo ''\''Removing' default tomcat 'logrotate.'\''' Removing default tomcat logrotate. + /bin/rm /etc/logrotate.d/tomcat7 + echo ''\''Removing' default httpd 'logrotate.'\''' Removing default httpd logrotate. + /bin/rm /etc/logrotate.d/httpd + echo ''\''Removing' extra log 'file.'\''' Removing extra log file. + sed -i ''\''/.handlers' = 1catalina.org.apache.juli.FileHandler, java.util.logging.ConsoleHandle/c '\' .handlers = 'java.util.logging.ConsoleHandler'\''' /etc/tomcat7/logging.properties + sed -i ''\''/org.apache.catalina.core.ContainerBase.\[Catalina\].\[localhost\].handlers' = 2localhost.org.apache.juli.FileHandler/c '\' 'org.apache.catalina.core.ContainerBase.[Catalina].[localhost].handlers' = 'java.util.logging.ConsoleHandler'\''' /etc/tomcat7/logging.properties + ln -sf /usr/share/java/apache-commons-pool.jar /usr/share/tomcat7/lib/ Script succeeded. 2013-03-04 02:16:29,863 '[DEBUG]' No services specified 2013-03-04 02:16:29,867 '[INFO]' ConfigSets completed 2013-03-04 02:16:29,870 '[DEBUG]' Not clearing reboot trigger as scheduling support is not available 2013-03-04 02:16:30,111 '[INFO]' Starting new HTTP connection '(1):' 169.254.169.254 2013-03-04 02:16:30,117 '[INFO]' Starting new HTTPS connection '(1):' cloudformation-waitcondition-us-east-1.s3.amazonaws.com
cfn-init: 2013-03-04 02:15:26,435 [DEBUG] CloudFormation client initialized with endpoint https://cloudformation.us-east-1.amazonaws.com 2013-03-04 02:15:26,435 [DEBUG] Describing resource AWSEBAutoScalingGroup in stack arn:aws:cloudformation:us-east-1:835799448240:stack/awseb-e-kv5aezq3s6-stack/fda1a910-8470-11e2-a47f-50a6768d148d 2013-03-04 02:15:26,771 [DEBUG] Not setting a reboot trigger as scheduling support is not available 2013-03-04 02:15:26,783 [INFO] Running configSets: deque(['_OnInstanceBoot']) 2013-03-04 02:15:26,784 [INFO] Running configSet _OnInstanceBoot 2013-03-04 02:15:26,789 [INFO] Running config TomcatContainerInstallHooksPkg 2013-03-04 02:15:26,789 [DEBUG] No packages specified 2013-03-04 02:15:26,789 [DEBUG] No groups specified 2013-03-04 02:15:26,789 [DEBUG] No users specified 2013-03-04 02:15:26,849 [DEBUG] Treating https://s3.amazonaws.com/elasticbeanstalk-env-resources-us-east-1/stalks/eb_tomcat_7_1.5-1/container_files/hooks.tar.gz as a tarball 2013-03-04 02:15:26,850 [DEBUG] Checking to ensure that all archive members fall under path /opt/elasticbeanstalk 2013-03-04 02:15:26,856 [DEBUG] Expanding https://s3.amazonaws.com/elasticbeanstalk-env-resources-us-east-1/stalks/eb_tomcat_7_1.5-1/container_files/hooks.tar.gz into /opt/elasticbeanstalk 2013-03-04 02:15:26,878 [DEBUG] No files specified 2013-03-04 02:15:26,878 [DEBUG] No commands specified 2013-03-04 02:15:26,879 [DEBUG] No services specified 2013-03-04 02:15:26,887 [INFO] Running config TomcatContainerInstallPackages 2013-03-04 02:15:35,578 [DEBUG] Querying for version of package tomcat7 2013-03-04 02:15:35,723 [DEBUG] RPM stdout: 2013-03-04 02:15:35,724 [DEBUG] RPM stderr: 2013-03-04 02:15:35,725 [DEBUG] Requested version 7.0.27 is greater than installed version , so we will upgrade 2013-03-04 02:15:36,278 [DEBUG] Querying for version of package httpd 2013-03-04 02:15:36,422 [DEBUG] RPM stdout: 2013-03-04 02:15:36,422 [DEBUG] RPM stderr: 2013-03-04 02:15:36,423 [DEBUG] Requested version 2.2.22 is greater than installed version , so we will upgrade 2013-03-04 02:15:36,976 [DEBUG] Querying for version of package rubygems 2013-03-04 02:15:37,122 [DEBUG] RPM stdout: 2013-03-04 02:15:37,123 [DEBUG] RPM stderr: 2013-03-04 02:15:37,123 [DEBUG] Requested version 1.8.11 is greater than installed version , so we will upgrade 2013-03-04 02:15:37,679 [DEBUG] Querying for version of package log4j 2013-03-04 02:15:37,823 [DEBUG] RPM stdout: 2013-03-04 02:15:37,824 [DEBUG] RPM stderr: 2013-03-04 02:15:37,824 [DEBUG] Requested version 1.2.16 is greater than installed version , so we will upgrade 2013-03-04 02:15:37,824 [DEBUG] Installing/updating [u'tomcat7-7.0.27', u'httpd-2.2.22', u'rubygems-1.8.11', u'log4j-1.2.16'] via yum 2013-03-04 02:16:09,755 [INFO] Yum installed [u'tomcat7', u'httpd', u'rubygems', u'log4j'] 2013-03-04 02:16:09,756 [DEBUG] Checking to see if bluepill-0.0.51 is already installed 2013-03-04 02:16:09,846 [INFO] Installing bluepill version 0.0.51 via gem 2013-03-04 02:16:24,552 [INFO] Gem installed: bluepill-0.0.51 2013-03-04 02:16:24,553 [DEBUG] Gem output: Successfully installed daemons-1.1.9 Successfully installed state_machine-0.9.4 Successfully installed i18n-0.6.4 Successfully installed multi_json-1.6.1 Successfully installed activesupport-3.2.12 Successfully installed bluepill-0.0.51 6 gems installed 2013-03-04 02:16:24,553 [DEBUG] No groups specified 2013-03-04 02:16:24,553 [DEBUG] No users specified 2013-03-04 02:16:24,553 [DEBUG] No sources specified 2013-03-04 02:16:24,554 [DEBUG] No files specified 2013-03-04 02:16:24,554 [DEBUG] No commands specified 2013-03-04 02:16:24,554 [DEBUG] No services specified 2013-03-04 02:16:24,561 [INFO] Running config TomcatContainerInstallTailLogsConf 2013-03-04 02:16:24,561 [DEBUG] No packages specified 2013-03-04 02:16:24,562 [DEBUG] No groups specified 2013-03-04 02:16:24,562 [DEBUG] No users specified 2013-03-04 02:16:24,562 [DEBUG] No sources specified 2013-03-04 02:16:24,562 [DEBUG] Parent directory /opt/elasticbeanstalk/tasks/taillogs.d does not exist, creating 2013-03-04 02:16:24,563 [DEBUG] Writing content to /opt/elasticbeanstalk/tasks/taillogs.d/httpd.conf 2013-03-04 02:16:24,563 [DEBUG] Setting mode for /opt/elasticbeanstalk/tasks/taillogs.d/httpd.conf to 000644 2013-03-04 02:16:24,563 [DEBUG] Writing content to /opt/elasticbeanstalk/tasks/taillogs.d/tomcat7.conf 2013-03-04 02:16:24,564 [DEBUG] Setting mode for /opt/elasticbeanstalk/tasks/taillogs.d/tomcat7.conf to 000644 2013-03-04 02:16:24,564 [DEBUG] No commands specified 2013-03-04 02:16:24,564 [DEBUG] No services specified 2013-03-04 02:16:24,591 [INFO] Running config TomcatContainerInstallSystemTailLogsConf 2013-03-04 02:16:24,591 [DEBUG] No packages specified 2013-03-04 02:16:24,592 [DEBUG] No groups specified 2013-03-04 02:16:24,592 [DEBUG] No users specified 2013-03-04 02:16:24,592 [DEBUG] No sources specified 2013-03-04 02:16:24,592 [DEBUG] Parent directory /opt/elasticbeanstalk/tasks/systemtaillogs.d does not exist, creating 2013-03-04 02:16:24,593 [DEBUG] Writing content to /opt/elasticbeanstalk/tasks/systemtaillogs.d/httpd.conf 2013-03-04 02:16:24,593 [DEBUG] Setting mode for /opt/elasticbeanstalk/tasks/systemtaillogs.d/httpd.conf to 000644 2013-03-04 02:16:24,593 [DEBUG] Writing content to /opt/elasticbeanstalk/tasks/systemtaillogs.d/tomcat7.conf 2013-03-04 02:16:24,593 [DEBUG] Setting mode for /opt/elasticbeanstalk/tasks/systemtaillogs.d/tomcat7.conf to 000644 2013-03-04 02:16:24,594 [DEBUG] No commands specified 2013-03-04 02:16:24,594 [DEBUG] No services specified 2013-03-04 02:16:24,601 [INFO] Running config TomcatContainerInstallBundleLogsConf 2013-03-04 02:16:24,601 [DEBUG] No packages specified 2013-03-04 02:16:24,601 [DEBUG] No groups specified 2013-03-04 02:16:24,602 [DEBUG] No users specified 2013-03-04 02:16:24,602 [DEBUG] No sources specified 2013-03-04 02:16:24,602 [DEBUG] Parent directory /opt/elasticbeanstalk/tasks/bundlelogs.d does not exist, creating 2013-03-04 02:16:24,602 [DEBUG] Writing content to /opt/elasticbeanstalk/tasks/bundlelogs.d/httpd.conf 2013-03-04 02:16:24,603 [DEBUG] Setting mode for /opt/elasticbeanstalk/tasks/bundlelogs.d/httpd.conf to 000644 2013-03-04 02:16:24,603 [DEBUG] Writing content to /opt/elasticbeanstalk/tasks/bundlelogs.d/tomcat7.conf 2013-03-04 02:16:24,603 [DEBUG] Setting mode for /opt/elasticbeanstalk/tasks/bundlelogs.d/tomcat7.conf to 000644 2013-03-04 02:16:24,603 [DEBUG] No commands specified 2013-03-04 02:16:24,604 [DEBUG] No services specified 2013-03-04 02:16:24,611 [INFO] Running config TomcatContainerInstallPublishLogsConf 2013-03-04 02:16:24,612 [DEBUG] No packages specified 2013-03-04 02:16:24,612 [DEBUG] No groups specified 2013-03-04 02:16:24,612 [DEBUG] No users specified 2013-03-04 02:16:24,612 [DEBUG] No sources specified 2013-03-04 02:16:24,612 [DEBUG] Parent directory /opt/elasticbeanstalk/tasks/publishlogs.d does not exist, creating 2013-03-04 02:16:24,613 [DEBUG] Writing content to /opt/elasticbeanstalk/tasks/publishlogs.d/httpd.conf 2013-03-04 02:16:24,613 [DEBUG] Setting mode for /opt/elasticbeanstalk/tasks/publishlogs.d/httpd.conf to 000644 2013-03-04 02:16:24,613 [DEBUG] Writing content to /opt/elasticbeanstalk/tasks/publishlogs.d/tomcat7.conf 2013-03-04 02:16:24,614 [DEBUG] Setting mode for /opt/elasticbeanstalk/tasks/publishlogs.d/tomcat7.conf to 000644 2013-03-04 02:16:24,614 [DEBUG] No commands specified 2013-03-04 02:16:24,614 [DEBUG] No services specified 2013-03-04 02:16:24,626 [INFO] Running config AWSEBTools 2013-03-04 02:16:24,626 [DEBUG] Querying for version of package https://s3.amazonaws.com/elasticbeanstalk-env-resources-us-east-1/stalks/eb_hooks_base_1.5/lib/aws-elasticbeanstalk-tools-1.5-1.noarch.rpm 2013-03-04 02:16:24,782 [DEBUG] RPM stdout: aws-elasticbeanstalk-tools|1.5-1 2013-03-04 02:16:24,782 [DEBUG] RPM stderr: 2013-03-04 02:16:24,811 [DEBUG] Installing [u'https://s3.amazonaws.com/elasticbeanstalk-env-resources-us-east-1/stalks/eb_hooks_base_1.5/lib/aws-elasticbeanstalk-tools-1.5-1.noarch.rpm'] via RPM 2013-03-04 02:16:25,044 [DEBUG] RPM output: 2013-03-04 02:16:25,045 [INFO] Attempting to install [u'https://s3.amazonaws.com/elasticbeanstalk-env-resources-us-east-1/stalks/eb_hooks_base_1.5/lib/tailer-0.3.tar.gz#md5=9d1fc073e48ca682786d50c077e823ce', u'requests==0.13.5'] via easy_install 2013-03-04 02:16:25,367 [INFO] easy_install installed [u'https://s3.amazonaws.com/elasticbeanstalk-env-resources-us-east-1/stalks/eb_hooks_base_1.5/lib/tailer-0.3.tar.gz#md5=9d1fc073e48ca682786d50c077e823ce', u'requests==0.13.5'] 2013-03-04 02:16:25,368 [DEBUG] easy_install output: Downloading https://s3.amazonaws.com/elasticbeanstalk-env-resources-us-east-1/stalks/eb_hooks_base_1.5/lib/tailer-0.3.tar.gz#md5=9d1fc073e48ca682786d50c077e823ce Processing tailer-0.3.tar.gz Running tailer-0.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-4cCmyl/tailer-0.3/egg-dist-tmp-sgztPN zip_safe flag not set; analyzing archive contents... Adding tailer 0.3 to easy-install.pth file Installing pytail script to /usr/bin Installed /usr/lib/python2.6/site-packages/tailer-0.3-py2.6.egg Processing dependencies for tailer==0.3 Finished processing dependencies for tailer==0.3 Searching for requests==0.13.5 Best match: requests 0.13.5 Processing requests-0.13.5-py2.6.egg requests 0.13.5 is already the active version in easy-install.pth Using /usr/lib/python2.6/site-packages/requests-0.13.5-py2.6.egg Processing dependencies for requests==0.13.5 Finished processing dependencies for requests==0.13.5 2013-03-04 02:16:25,369 [DEBUG] No groups specified 2013-03-04 02:16:25,369 [DEBUG] No users specified 2013-03-04 02:16:25,369 [DEBUG] No sources specified 2013-03-04 02:16:25,369 [DEBUG] No files specified 2013-03-04 02:16:25,369 [DEBUG] No commands specified 2013-03-04 02:16:25,369 [DEBUG] No services specified 2013-03-04 02:16:25,380 [INFO] Running config AWSEBBaseConfig 2013-03-04 02:16:25,380 [DEBUG] No packages specified 2013-03-04 02:16:25,380 [DEBUG] No groups specified 2013-03-04 02:16:25,381 [DEBUG] No users specified 2013-03-04 02:16:25,381 [DEBUG] No sources specified 2013-03-04 02:16:25,381 [DEBUG] Parent directory /etc/cfn does not exist, creating 2013-03-04 02:16:25,382 [DEBUG] Writing content to /etc/cfn/cfn-hup.conf 2013-03-04 02:16:25,382 [DEBUG] Setting mode for /etc/cfn/cfn-hup.conf to 000400 2013-03-04 02:16:25,382 [DEBUG] Setting owner 0 and group 0 for /etc/cfn/cfn-hup.conf 2013-03-04 02:16:25,383 [DEBUG] Parent directory /etc/cfn/hooks.d does not exist, creating 2013-03-04 02:16:25,383 [DEBUG] Writing content to /etc/cfn/hooks.d/aws-eb-command-handler.conf 2013-03-04 02:16:25,383 [DEBUG] No mode specified for /etc/cfn/hooks.d/aws-eb-command-handler.conf 2013-03-04 02:16:25,383 [DEBUG] Parent directory /etc/elasticbeanstalk does not exist, creating 2013-03-04 02:16:25,384 [DEBUG] Writing content to /etc/elasticbeanstalk/.aws-eb-stack.properties 2013-03-04 02:16:25,384 [DEBUG] Setting mode for /etc/elasticbeanstalk/.aws-eb-stack.properties to 000440 2013-03-04 02:16:25,384 [DEBUG] Setting owner 0 and group 0 for /etc/elasticbeanstalk/.aws-eb-stack.properties 2013-03-04 02:16:25,385 [DEBUG] Running command clearbackupfiles 2013-03-04 02:16:25,385 [DEBUG] No test for command clearbackupfiles 2013-03-04 02:16:25,399 [INFO] Command clearbackupfiles succeeded 2013-03-04 02:16:25,399 [DEBUG] Command clearbackupfiles output: 2013-03-04 02:16:25,400 [DEBUG] No services specified 2013-03-04 02:16:25,414 [INFO] Running config AWSEBCfnHup 2013-03-04 02:16:25,415 [DEBUG] No packages specified 2013-03-04 02:16:25,415 [DEBUG] No groups specified 2013-03-04 02:16:25,415 [DEBUG] No users specified 2013-03-04 02:16:25,415 [DEBUG] No sources specified 2013-03-04 02:16:25,415 [DEBUG] No files specified 2013-03-04 02:16:25,415 [DEBUG] No commands specified 2013-03-04 02:16:25,416 [DEBUG] Not modifying enabled state of service cfn-hup 2013-03-04 02:16:25,416 [DEBUG] Using service runner: /sbin/service 2013-03-04 02:16:25,456 [DEBUG] Starting service cfn-hup as it is not running 2013-03-04 02:16:25,780 [INFO] Started cfn-hup successfully 2013-03-04 02:16:25,796 [INFO] Running config Infra-WriteLeaderTestScript 2013-03-04 02:16:25,796 [DEBUG] No packages specified 2013-03-04 02:16:25,796 [DEBUG] No groups specified 2013-03-04 02:16:25,796 [DEBUG] No users specified 2013-03-04 02:16:25,796 [DEBUG] No sources specified 2013-03-04 02:16:25,797 [DEBUG] Parent directory /opt/elasticbeanstalk/bin does not exist, creating 2013-03-04 02:16:25,797 [DEBUG] Writing content to /opt/elasticbeanstalk/bin/leader-test.sh 2013-03-04 02:16:25,797 [DEBUG] Setting mode for /opt/elasticbeanstalk/bin/leader-test.sh to 000755 2013-03-04 02:16:25,798 [DEBUG] No commands specified 2013-03-04 02:16:25,798 [DEBUG] No services specified 2013-03-04 02:16:25,805 [INFO] Running config Infra-WriteRuntimeConfig 2013-03-04 02:16:25,806 [DEBUG] No packages specified 2013-03-04 02:16:25,806 [DEBUG] No groups specified 2013-03-04 02:16:25,806 [DEBUG] No users specified 2013-03-04 02:16:25,806 [DEBUG] No sources specified 2013-03-04 02:16:25,806 [DEBUG] No files specified 2013-03-04 02:16:25,806 [DEBUG] Running command 01mkdir 2013-03-04 02:16:25,807 [DEBUG] No test for command 01mkdir 2013-03-04 02:16:25,836 [INFO] Command 01mkdir succeeded 2013-03-04 02:16:25,837 [DEBUG] Command 01mkdir output: 2013-03-04 02:16:25,837 [DEBUG] Running command 02writeappsource 2013-03-04 02:16:25,837 [DEBUG] No test for command 02writeappsource 2013-03-04 02:16:26,472 [INFO] Command 02writeappsource succeeded 2013-03-04 02:16:26,473 [DEBUG] Command 02writeappsource output: 2013-03-04 02:16:26,473 [DEBUG] Running command 03writeconfig 2013-03-04 02:16:26,473 [DEBUG] No test for command 03writeconfig 2013-03-04 02:16:27,120 [INFO] Command 03writeconfig succeeded 2013-03-04 02:16:27,121 [DEBUG] Command 03writeconfig output: 2013-03-04 02:16:27,121 [DEBUG] Running command 04setperms 2013-03-04 02:16:27,122 [DEBUG] No test for command 04setperms 2013-03-04 02:16:27,136 [INFO] Command 04setperms succeeded 2013-03-04 02:16:27,136 [DEBUG] Command 04setperms output: 2013-03-04 02:16:27,137 [DEBUG] No services specified 2013-03-04 02:16:27,146 [INFO] Running config Infra-WriteApplication1 2013-03-04 02:16:27,146 [DEBUG] No packages specified 2013-03-04 02:16:27,146 [DEBUG] No groups specified 2013-03-04 02:16:27,146 [DEBUG] No users specified 2013-03-04 02:16:27,146 [DEBUG] No sources specified 2013-03-04 02:16:27,147 [DEBUG] No files specified 2013-03-04 02:16:27,147 [DEBUG] Running command 01mkdir 2013-03-04 02:16:27,147 [DEBUG] No test for command 01mkdir 2013-03-04 02:16:27,164 [INFO] Command 01mkdir succeeded 2013-03-04 02:16:27,165 [DEBUG] Command 01mkdir output: 2013-03-04 02:16:27,165 [DEBUG] No services specified 2013-03-04 02:16:27,179 [INFO] Running config Infra-WriteApplication2 2013-03-04 02:16:27,180 [DEBUG] No packages specified 2013-03-04 02:16:27,180 [DEBUG] No groups specified 2013-03-04 02:16:27,180 [DEBUG] No users specified 2013-03-04 02:16:27,180 [DEBUG] No sources specified 2013-03-04 02:16:27,181 [DEBUG] Writing content to /opt/elasticbeanstalk/deploy/appsource/source_bundle 2013-03-04 02:16:27,181 [DEBUG] Retrieving contents from https://elasticbeanstalk-us-east-1-835799448240.s3.amazonaws.com/resources%2Fenvironments%2Fe-kv5aezq3s6%2F_runtime%2F_versions%2FQuickGame%2FPlayTestAppEBSVersion?Expires=1393899133&AWSAccessKeyId=AKIAIOUOORMVUTXOJUHQ&Signature=NaAWR7gYzGZtZGki%2B3%2BDY3naDTU%3D 2013-03-04 02:16:28,478 [DEBUG] No mode specified for /opt/elasticbeanstalk/deploy/appsource/source_bundle 2013-03-04 02:16:28,478 [DEBUG] No commands specified 2013-03-04 02:16:28,478 [DEBUG] No services specified 2013-03-04 02:16:28,486 [INFO] Running config Infra-WriteTailLogsConf 2013-03-04 02:16:28,486 [DEBUG] No packages specified 2013-03-04 02:16:28,486 [DEBUG] No groups specified 2013-03-04 02:16:28,487 [DEBUG] No users specified 2013-03-04 02:16:28,487 [DEBUG] No sources specified 2013-03-04 02:16:28,487 [DEBUG] Writing content to /opt/elasticbeanstalk/tasks/taillogs.d/cfn-system.conf 2013-03-04 02:16:28,487 [DEBUG] Setting mode for /opt/elasticbeanstalk/tasks/taillogs.d/cfn-system.conf to 000644 2013-03-04 02:16:28,488 [DEBUG] Writing content to /opt/elasticbeanstalk/tasks/taillogs.d/eb-system.conf 2013-03-04 02:16:28,488 [DEBUG] Setting mode for /opt/elasticbeanstalk/tasks/taillogs.d/eb-system.conf to 000644 2013-03-04 02:16:28,488 [DEBUG] No commands specified 2013-03-04 02:16:28,488 [DEBUG] No services specified 2013-03-04 02:16:28,498 [INFO] Running config Infra-WriteSystemTailLogsConf 2013-03-04 02:16:28,498 [DEBUG] No packages specified 2013-03-04 02:16:28,498 [DEBUG] No groups specified 2013-03-04 02:16:28,499 [DEBUG] No users specified 2013-03-04 02:16:28,499 [DEBUG] No sources specified 2013-03-04 02:16:28,499 [DEBUG] Writing content to /opt/elasticbeanstalk/tasks/systemtaillogs.d/cfn-system.conf 2013-03-04 02:16:28,499 [DEBUG] Setting mode for /opt/elasticbeanstalk/tasks/systemtaillogs.d/cfn-system.conf to 000644 2013-03-04 02:16:28,500 [DEBUG] Writing content to /opt/elasticbeanstalk/tasks/systemtaillogs.d/cloud-init-system.conf 2013-03-04 02:16:28,500 [DEBUG] Setting mode for /opt/elasticbeanstalk/tasks/systemtaillogs.d/cloud-init-system.conf to 000644 2013-03-04 02:16:28,500 [DEBUG] Writing content to /opt/elasticbeanstalk/tasks/systemtaillogs.d/eb-system.conf 2013-03-04 02:16:28,500 [DEBUG] Setting mode for /opt/elasticbeanstalk/tasks/systemtaillogs.d/eb-system.conf to 000644 2013-03-04 02:16:28,501 [DEBUG] Writing content to /opt/elasticbeanstalk/tasks/systemtaillogs.d/system.conf 2013-03-04 02:16:28,501 [DEBUG] Setting mode for /opt/elasticbeanstalk/tasks/systemtaillogs.d/system.conf to 000644 2013-03-04 02:16:28,501 [DEBUG] No commands specified 2013-03-04 02:16:28,501 [DEBUG] No services specified 2013-03-04 02:16:28,506 [INFO] Running config Infra-WriteBundleLogsConf 2013-03-04 02:16:28,506 [DEBUG] No packages specified 2013-03-04 02:16:28,506 [DEBUG] No groups specified 2013-03-04 02:16:28,507 [DEBUG] No users specified 2013-03-04 02:16:28,507 [DEBUG] No sources specified 2013-03-04 02:16:28,507 [DEBUG] Writing content to /opt/elasticbeanstalk/tasks/bundlelogs.d/cfn-system.conf 2013-03-04 02:16:28,507 [DEBUG] Setting mode for /opt/elasticbeanstalk/tasks/bundlelogs.d/cfn-system.conf to 000644 2013-03-04 02:16:28,508 [DEBUG] Writing content to /opt/elasticbeanstalk/tasks/bundlelogs.d/cloud-init-system.conf 2013-03-04 02:16:28,508 [DEBUG] Setting mode for /opt/elasticbeanstalk/tasks/bundlelogs.d/cloud-init-system.conf to 000644 2013-03-04 02:16:28,508 [DEBUG] Writing content to /opt/elasticbeanstalk/tasks/bundlelogs.d/eb-system.conf 2013-03-04 02:16:28,508 [DEBUG] Setting mode for /opt/elasticbeanstalk/tasks/bundlelogs.d/eb-system.conf to 000644 2013-03-04 02:16:28,509 [DEBUG] Writing content to /opt/elasticbeanstalk/tasks/bundlelogs.d/system.conf 2013-03-04 02:16:28,509 [DEBUG] Setting mode for /opt/elasticbeanstalk/tasks/bundlelogs.d/system.conf to 000644 2013-03-04 02:16:28,509 [DEBUG] No commands specified 2013-03-04 02:16:28,509 [DEBUG] No services specified 2013-03-04 02:16:28,514 [INFO] Running config Infra-WritePublishLogsConf 2013-03-04 02:16:28,514 [DEBUG] No packages specified 2013-03-04 02:16:28,514 [DEBUG] No groups specified 2013-03-04 02:16:28,515 [DEBUG] No users specified 2013-03-04 02:16:28,515 [DEBUG] No sources specified 2013-03-04 02:16:28,515 [DEBUG] No files specified 2013-03-04 02:16:28,515 [DEBUG] No commands specified 2013-03-04 02:16:28,515 [DEBUG] No services specified 2013-03-04 02:16:28,518 [INFO] Running config Infra-WritePublishLogsCron 2013-03-04 02:16:28,518 [DEBUG] No packages specified 2013-03-04 02:16:28,518 [DEBUG] No groups specified 2013-03-04 02:16:28,519 [DEBUG] No users specified 2013-03-04 02:16:28,519 [DEBUG] No sources specified 2013-03-04 02:16:28,519 [DEBUG] Writing content to /etc/cron.d/publishlogs 2013-03-04 02:16:28,519 [DEBUG] Setting mode for /etc/cron.d/publishlogs to 000644 2013-03-04 02:16:28,519 [DEBUG] No commands specified 2013-03-04 02:16:28,520 [DEBUG] No services specified 2013-03-04 02:16:28,521 [INFO] ConfigSets completed 2013-03-04 02:16:28,526 [DEBUG] Not clearing reboot trigger as scheduling support is not available 2013-03-04 02:16:29,463 [DEBUG] CloudFormation client initialized with endpoint https://cloudformation.us-east-1.amazonaws.com 2013-03-04 02:16:29,464 [DEBUG] Describing resource AWSEBAutoScalingGroup in stack arn:aws:cloudformation:us-east-1:835799448240:stack/awseb-e-kv5aezq3s6-stack/fda1a910-8470-11e2-a47f-50a6768d148d 2013-03-04 02:16:29,662 [DEBUG] Not setting a reboot trigger as scheduling support is not available 2013-03-04 02:16:29,675 [INFO] Running configSets: deque(['Hook-PreInit']) 2013-03-04 02:16:29,676 [INFO] Running configSet Hook-PreInit 2013-03-04 02:16:29,677 [INFO] Running config Hook-PreInit 2013-03-04 02:16:29,678 [DEBUG] No packages specified 2013-03-04 02:16:29,678 [DEBUG] No groups specified 2013-03-04 02:16:29,678 [DEBUG] No users specified 2013-03-04 02:16:29,678 [DEBUG] No sources specified 2013-03-04 02:16:29,678 [DEBUG] No files specified 2013-03-04 02:16:29,678 [DEBUG] Running command hooks 2013-03-04 02:16:29,679 [DEBUG] No test for command hooks 2013-03-04 02:16:29,862 [INFO] Command hooks succeeded 2013-03-04 02:16:29,863 [DEBUG] Command hooks output: Executing directory: /opt/elasticbeanstalk/hooks/preinit/ Executing script: /opt/elasticbeanstalk/hooks/preinit/01misc.sh Output from script: + [[ -n true ]] + echo 'Running preinit' Running preinit + preinit + TOMCAT7_HOME=/usr/share/tomcat7 + TOMCAT7_CONF_HOME=/etc/tomcat7 + echo 'Patching Tomcat 7 startup scripts' Patching Tomcat 7 startup scripts + '[' -f /opt/elasticbeanstalk/containerfiles/tomcat7-elasticbeanstalk ']' + echo 'Installing tomcat7-elasticbeanstalk script' Installing tomcat7-elasticbeanstalk script + /bin/mv /opt/elasticbeanstalk/containerfiles/tomcat7-elasticbeanstalk /usr/sbin + /bin/chown root:root /usr/sbin/tomcat7-elasticbeanstalk + /bin/chmod 755 /usr/sbin/tomcat7-elasticbeanstalk + echo 'Fixing Tomcat 7 init.d script' Fixing Tomcat 7 init.d script + /bin/sed -i -e 's/\/usr\/sbin\/tomcat7/\/usr\/sbin\/tomcat7-elasticbeanstalk/g' /etc/init.d/tomcat7 + echo 'Creating ElasticBeanstalk Apache confs' Creating ElasticBeanstalk Apache confs + /bin/cat + echo 'Adding X-Forwarded-Proto valve' Adding X-Forwarded-Proto valve + /bin/sed -i -e '/<\/Host>/ i\ <Valve className="org.apache.catalina.valves.RemoteIpValve" protocolHeader="X-Forwarded-Proto" \/> ' /etc/tomcat7/server.xml + echo 'Removing tomcat internal log rotation.' Removing tomcat internal log rotation. + /bin/sed -i -e 's|prefix="localhost_access_log.*$|prefix="localhost_access_log" suffix=".txt" rotatable="false"|' /etc/tomcat7/server.xml + cat + cat + cat + chmod 755 /etc/cron.hourly/logrotate-elasticbeanstalk + cat + chmod 755 /etc/cron.hourly/logrotate-elasticbeanstalk-httpd + echo 'Removing default tomcat logrotate.' Removing default tomcat logrotate. + /bin/rm /etc/logrotate.d/tomcat7 + echo 'Removing default httpd logrotate.' Removing default httpd logrotate. + /bin/rm /etc/logrotate.d/httpd + echo 'Removing extra log file.' Removing extra log file. + sed -i '/.handlers = 1catalina.org.apache.juli.FileHandler, java.util.logging.ConsoleHandle/c \ .handlers = java.util.logging.ConsoleHandler' /etc/tomcat7/logging.properties + sed -i '/org.apache.catalina.core.ContainerBase.\[Catalina\].\[localhost\].handlers = 2localhost.org.apache.juli.FileHandler/c \ org.apache.catalina.core.ContainerBase.[Catalina].[localhost].handlers = java.util.logging.ConsoleHandler' /etc/tomcat7/logging.properties + ln -sf /usr/share/java/apache-commons-pool.jar /usr/share/tomcat7/lib/ Script succeeded. 2013-03-04 02:16:29,863 [DEBUG] No services specified 2013-03-04 02:16:29,867 [INFO] ConfigSets completed 2013-03-04 02:16:29,870 [DEBUG] Not clearing reboot trigger as scheduling support is not available 2013-03-04 02:16:30,111 [INFO] Starting new HTTP connection (1): 169.254.169.254 2013-03-04 02:16:30,117 [INFO] Starting new HTTPS connection (1): cloudformation-waitcondition-us-east-1.s3.amazonaws.com
++ cat /var/log/cfn-hup.log
+ echo cfn-hup: 2013-03-04 02:16:26,820 '[INFO]' Refreshing listener credentials 2013-03-04 02:16:27,011 '[INFO]' Scheduling next credential refresh in 7200 seconds
cfn-hup: 2013-03-04 02:16:26,820 [INFO] Refreshing listener credentials 2013-03-04 02:16:27,011 [INFO] Scheduling next credential refresh in 7200 seconds
++ cat /var/log/eb-cfn-init-call.log
+ echo eb-cfn-init-call:
eb-cfn-init-call:
+ exit 0



-------------------------------------
/var/log/tomcat7/localhost.2013-03-04.log
-------------------------------------




-------------------------------------
/var/log/httpd/elasticbeanstalk-error_log
-------------------------------------




-------------------------------------
/var/log/tomcat7/host-manager.2013-03-04.log
-------------------------------------




-------------------------------------
/var/log/tomcat7/catalina.out
-------------------------------------
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1170) ~[catalina.jar:7.0.27]
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1678) ~[catalina.jar:7.0.27]
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556) ~[catalina.jar:7.0.27]
at views.html.main$.apply(main.template.scala:29) ~[testplayebs_2.10-1.0-SNAPSHOT.jar:1.0-SNAPSHOT]
at views.html.index$.apply(index.template.scala:24) ~[testplayebs_2.10-1.0-SNAPSHOT.jar:1.0-SNAPSHOT]
Mar 4, 2013 2:39:47 AM org.apache.catalina.core.StandardServer await
INFO: A valid shutdown command was received via the shutdown port. Stopping the Server instance.
Mar 4, 2013 2:39:47 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-8080"]
Mar 4, 2013 2:39:47 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["ajp-bio-8009"]
Mar 4, 2013 2:39:47 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
Mar 4, 2013 2:39:47 AM org.apache.catalina.core.ApplicationContext log
INFO: PlayServletWrapper > destroy
[ [37minfo [0m] play - Stopping play server...
Mar 4, 2013 2:39:47 AM org.apache.catalina.core.ApplicationContext log
INFO: Play server stopped
Mar 4, 2013 2:39:47 AM org.apache.catalina.core.ApplicationContext log
INFO: PlayServletWrapper > contextDestroyed
Mar 4, 2013 2:39:47 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [play-scheduler-1] but has failed to stop it. This is very likely to create a memory leak.
Mar 4, 2013 2:39:47 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [iteratee-execution-context-1] but has failed to stop it. This is very likely to create a memory leak.
Mar 4, 2013 2:39:47 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.
Mar 4, 2013 2:39:47 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [play-internal-execution-context-1] but has failed to stop it. This is very likely to create a memory leak.
Mar 4, 2013 2:39:47 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [play-akka.actor.default-dispatcher-5] but has failed to stop it. This is very likely to create a memory leak.
Mar 4, 2013 2:39:47 AM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [] created a ThreadLocal with key of type [scala.concurrent.forkjoin.ThreadLocalRandom$1] (value [scala.concurrent.forkjoin.ThreadLocalRandom$1@3f8771dc]) and a value of type [scala.concurrent.forkjoin.ThreadLocalRandom] (value [scala.concurrent.forkjoin.ThreadLocalRandom@55444319]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Mar 4, 2013 2:39:47 AM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [] created a ThreadLocal with key of type [scala.concurrent.forkjoin.ForkJoinPool.ThreadSubmitter] (value [scala.concurrent.forkjoin.ForkJoinPool$ThreadSubmitter@74914a0a]) and a value of type [scala.concurrent.forkjoin.ForkJoinPool.Submitter] (value [scala.concurrent.forkjoin.ForkJoinPool$Submitter@6e94124f]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Mar 4, 2013 2:39:47 AM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [] created a ThreadLocal with key of type [scala.concurrent.forkjoin.ForkJoinPool.ThreadSubmitter] (value [scala.concurrent.forkjoin.ForkJoinPool$ThreadSubmitter@74914a0a]) and a value of type [scala.concurrent.forkjoin.ForkJoinPool.Submitter] (value [scala.concurrent.forkjoin.ForkJoinPool$Submitter@3b3e3940]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Mar 4, 2013 2:39:47 AM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [] created a ThreadLocal with key of type [scala.concurrent.forkjoin.ForkJoinPool.ThreadSubmitter] (value [scala.concurrent.forkjoin.ForkJoinPool$ThreadSubmitter@74914a0a]) and a value of type [scala.concurrent.forkjoin.ForkJoinPool.Submitter] (value [scala.concurrent.forkjoin.ForkJoinPool$Submitter@7220b722]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Mar 4, 2013 2:39:47 AM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [] created a ThreadLocal with key of type [scala.concurrent.forkjoin.ForkJoinPool.ThreadSubmitter] (value [scala.concurrent.forkjoin.ForkJoinPool$ThreadSubmitter@74914a0a]) and a value of type [scala.concurrent.forkjoin.ForkJoinPool.Submitter] (value [scala.concurrent.forkjoin.ForkJoinPool$Submitter@41d753b7]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Mar 4, 2013 2:39:47 AM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [] created a ThreadLocal with key of type [scala.concurrent.forkjoin.ForkJoinPool.ThreadSubmitter] (value [scala.concurrent.forkjoin.ForkJoinPool$ThreadSubmitter@74914a0a]) and a value of type [scala.concurrent.forkjoin.ForkJoinPool.Submitter] (value [scala.concurrent.forkjoin.ForkJoinPool$Submitter@1fb93526]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Mar 4, 2013 2:39:47 AM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [] created a ThreadLocal with key of type [scala.concurrent.forkjoin.ForkJoinPool.ThreadSubmitter] (value [scala.concurrent.forkjoin.ForkJoinPool$ThreadSubmitter@74914a0a]) and a value of type [scala.concurrent.forkjoin.ForkJoinPool.Submitter] (value [scala.concurrent.forkjoin.ForkJoinPool$Submitter@29d602b3]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Mar 4, 2013 2:39:47 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-8080"]
Mar 4, 2013 2:39:47 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["ajp-bio-8009"]
Mar 4, 2013 2:39:47 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-8080"]
Mar 4, 2013 2:39:47 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["ajp-bio-8009"]
Mar 4, 2013 2:40:21 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Mar 4, 2013 2:40:22 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Mar 4, 2013 2:40:22 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Mar 4, 2013 2:40:22 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1563 ms
Mar 4, 2013 2:40:22 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Mar 4, 2013 2:40:22 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.27
Mar 4, 2013 2:40:22 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /var/lib/tomcat7/webapps/ROOT
Mar 4, 2013 2:40:27 AM org.apache.catalina.core.ApplicationContext log
INFO: PlayServletWrapper > contextInitialized
[ [37minfo [0m] play - Application started (Prod)
Mar 4, 2013 2:40:44 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Mar 4, 2013 2:40:45 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Mar 4, 2013 2:40:45 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 22773 ms
[ [31merror [0m] application -

! @6dg3nf0h9 - Internal server error, for (GET) [/] ->

play.api.Application$$anon$1: Execution exception[[RuntimeException: java.lang.UnsupportedClassVersionError: controllers/routes : Unsupported major.minor version 51.0 (unable to load class controllers.routes)]]
at play.api.Application$class.handleError(Application.scala:289) ~[play.play_2.10-2.1.0.jar:2.1.0]
at play.api.DefaultApplication.handleError(Application.scala:383) [play.play_2.10-2.1.0.jar:2.1.0]
at play.core.server.servlet.Play2GenericServletRequestHandler$$anonfun$16$$anonfun$apply$30.apply(RequestHandler.scala:289) [com.github.play2war.play2-war-core-common_2.10-0.9-RC2.jar:0.9-RC2]
at play.core.server.servlet.Play2GenericServletRequestHandler$$anonfun$16$$anonfun$apply$30.apply(RequestHandler.scala:287) [com.github.play2war.play2-war-core-common_2.10-0.9-RC2.jar:0.9-RC2]
at play.api.libs.concurrent.PlayPromise$$anonfun$extend1$1.apply(Promise.scala:113) [play.play_2.10-2.1.0.jar:2.1.0]
at play.api.libs.concurrent.PlayPromise$$anonfun$extend1$1.apply(Promise.scala:113) [play.play_2.10-2.1.0.jar:2.1.0]
java.lang.RuntimeException: java.lang.UnsupportedClassVersionError: controllers/routes : Unsupported major.minor version 51.0 (unable to load class controllers.routes)
at play.api.mvc.ActionBuilder$$anon$1.apply(Action.scala:222) ~[play.play_2.10-2.1.0.jar:2.1.0]
at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$2$$anonfun$apply$5$$anonfun$apply$6.apply(Action.scala:109) ~[play.play_2.10-2.1.0.jar:2.1.0]
at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$2$$anonfun$apply$5$$anonfun$apply$6.apply(Action.scala:109) ~[play.play_2.10-2.1.0.jar:2.1.0]
at play.utils.Threads$.withContextClassLoader(Threads.scala:18) ~[play.play_2.10-2.1.0.jar:2.1.0]
at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$2$$anonfun$apply$5.apply(Action.scala:108) ~[play.play_2.10-2.1.0.jar:2.1.0]
at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$2$$anonfun$apply$5.apply(Action.scala:106) ~[play.play_2.10-2.1.0.jar:2.1.0]
Caused by: java.lang.UnsupportedClassVersionError: controllers/routes : Unsupported major.minor version 51.0 (unable to load class controllers.routes)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2893) ~[catalina.jar:7.0.27]
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1170) ~[catalina.jar:7.0.27]
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1678) ~[catalina.jar:7.0.27]
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556) ~[catalina.jar:7.0.27]
at views.html.main$.apply(main.template.scala:29) ~[testplayebs_2.10-1.0-SNAPSHOT.jar:1.0-SNAPSHOT]
at views.html.index$.apply(index.template.scala:24) ~[testplayebs_2.10-1.0-SNAPSHOT.jar:1.0-SNAPSHOT]
> You received this message because you are subscribed to a topic in the Google Groups "play-framework" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/play-framework/7V2XYQUTlb8/unsubscribe?hl=en-US.
> To unsubscribe from this group and all its topics, send an email to play-framewor...@googlegroups.com.

Damien Lecan

unread,
Mar 4, 2013, 4:47:34 AM3/4/13
to play-fr...@googlegroups.com
Hi,

The most important part of your logs:

> play.api.Application$$anon$1: Execution exception[[RuntimeException: java.lang.UnsupportedClassVersionError: controllers/routes : Unsupported major.minor version 51.0 (unable to load class controllers.routes)]]

You have compiled and packaged your Play application with Java7, but a
lower version is used to load it on AWS.

Damien
Reply all
Reply to author
Forward
0 new messages