发布EAR文件在WebSphere 8.0上挂起

时间:2014-10-09 16:18:04

标签: java websphere ear websphere-8

最近,我们的一些项目在发布到WebSphere 8.0(使用8.0.0.5,8.0.0.6和8.0.0.9测试)时开始挂起,但这并不是一直都会发生。

这是正常的安装细节

Installing...
If there are enterprise beans in the application, the EJB deployment process can take several minutes. Do not save the configuration until the process completes.
Check the SystemOut.log on the deployment manager or server where the application is deployed for specific information about the EJB deployment process as it occurs.
ADMA5016I: Installation of ImagesServerEAR started.
ADMA5067I: Resource validation for application ImagesServerEAR completed successfully.
ADMA5058I: Application and module versions are validated with versions of deployment targets.
ADMA5005I: The application ImagesServerEAR is configured in the WebSphere Application Server repository.
ADMA5005I: The application ImagesServerEAR is configured in the WebSphere Application Server repository.
ADMA5081I: The bootstrap address for client module is configured in the WebSphere Application Server repository.
ADMA5053I: The library references for the installed optional package are created.
ADMA5005I: The application ImagesServerEAR is configured in the WebSphere Application Server repository.
ADMA5001I: The application binaries are saved in C:\IBM\WebSphere\AppServer\profiles\AppSrv11\wstemp\92668751\workspace\cells\SRV-CLI-DEVNode11Cell\applications\ImagesServerEAR.ear\ImagesServerEAR.ear
ADMA5005I: The application ImagesServerEAR is configured in the WebSphere Application Server repository.
SECJ0400I: Successfully updated the application ImagesServerEAR with the appContextIDForSecurity information.
ADMA5005I: The application ImagesServerEAR is configured in the WebSphere Application Server repository.
ADMA5005I: The application ImagesServerEAR is configured in the WebSphere Application Server repository.
ADMA5113I: Activation plan created successfully.
ADMA5011I: The cleanup of the temp directory for application ImagesServerEAR is complete.
ADMA5013I: Application ImagesServerEAR installed successfully.
Application ImagesServerEAR installed successfully.
To start the application, first save changes to the master configuration.
Changes have been made to your local configuration. You can: 
•  Save directly to the master configuration. 
•  Review changes before saving or discarding.

但是当部署挂起时,日志只显示此

Installing...
If there are enterprise beans in the application, the EJB deployment process can take several minutes. Do not save the configuration until the process completes.
Check the SystemOut.log on the deployment manager or server where the application is deployed for specific information about the EJB deployment process as it occurs.
ADMA5016I: Installation of ImagesServerEAR started.
ADMA5067I: Resource validation for application ImagesServerEAR completed successfully.

并且CPU在8个核心中的4个上达到100%。

在任何地方都没有记录任何其他内容。

关于可能导致这种情况的任何想法?

2 个答案:

答案 0 :(得分:1)

通过增加HEAP尺寸

解决了这个问题

答案 1 :(得分:0)

转到:

,增加Deployment Manager堆大小
  1. 系统管理 - >部署经理
  2. 服务器基础架构 - > Java和流程管理 - >流程定义
  3. 其他属性 - > Java虚拟机
  4. 对于Websphere 8,默认最大堆大小为256MB,因此请设置更高的值,例如512MB。

    您还可以在此处检查Deployment Manager日志,以确认它是由堆错误引起的

    was_dir /profiles/autoWasDmgr/logs/dmgr/SystemOut.log