收到来自[i-2a7fe91f]的AWS响应,但命令失败

Abb*_*bas 6 amazon-ec2 tomcat7 amazon-elastic-beanstalk

我在AWS上有64位Tomcat 7服务器,默认设置.我使用Elastic Beanstalk来管理我的实例.有时,当我部署新版本时,它不起作用并向我显示错误:

Responses from [i-2a7fe91f] were received, but the commands failed.

事情是它发生了一半时间,而不是所有时间.当我收到此错误时,我终止环境并创建一个具有相同WAR文件的新环境,它工作正常!但是,我想知道是否有人知道真正发生了什么.

这是我认为相关的日志文件的一部分:

2013-05-23 17:12:02,555 [INFO] (20168 MainThread) [command.py-122] [root command execute] Executing command: Infra-WriteApplication2 - AWSEBAutoScalingGroup
2013-05-23 17:12:11,401 [INFO] (20168 MainThread) [command.py-130] [root command execute] Command returned: (code: 1, stdout: Error occurred during build: 
, stderr: None)
2013-05-23 17:12:11,432 [DEBUG] (20168 MainThread) [commandWrapper.py-60] [root commandWrapper main] Command result: {'status': 'FAILURE', 'results': [{'status': 'FAILURE', 'config_set': u'Infra-WriteApplication2', 'returncode': 1, 'events': [], 'msg': 'Error occurred during build: \n'}], 'api_version': '1.0'}
Run Code Online (Sandbox Code Playgroud)

Abb*_*bas 0

我的问题是由于 RAM 限制而无法加载 war 文件t1.micro。然而,该错误根本没有描述性。