简体   繁体   English

发布EAR文件在WebSphere 8.0上挂起

[英]Publishing EAR file hangs on WebSphere 8.0

Recently some of our projects started hanging when publishing to WebSphere 8.0 (tested with 8.0.0.5, 8.0.0.6 and 8.0.0.9), but this doesn't happen all the times. 最近,我们的一些项目在发布到WebSphere 8.0(使用8.0.0.5,8.0.0.6和8.0.0.9测试)时开始挂起,但这并不是一直发生的。

This is a normal installation details 这是正常的安装细节

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.

But when the deploy hangs, the logs only show this 但是当部署挂起时,日志只会显示此信息

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.

and the CPU goes to 100% on 4 out of the 8 cores. 并且CPU在8个核心中的4个上达到100%。

There isn't anything else logged anywhere. 在任何地方都没有其他任何记录。

Any ideas on what can be causing this? 关于什么可能导致这个的任何想法?

通过增加HEAP大小的数量解决了这个问题

Increase the deployment manager heap size by going to: 通过转到:增加Deployment Manager堆大小:

  1. System Administration -> Deployment Manager 系统管理 - > Deployment Manager
  2. Server Infrastructure -> Java and Process Management -> Process Definition 服务器基础结构 - > Java和进程管理 - >进程定义
  3. Additional Properties -> Java Virtual Machine 其他属性 - > Java虚拟机

Default Maximum heap size is 256MB for Websphere 8, so set a higher value eg 512MB. 对于Websphere 8,默认最大堆大小为256MB,因此设置更高的值,例如512MB。

You can also check the deployment manager logs here to confirm it is cause by a heap error 您还可以在此处检查Deployment Manager日志,以确认它是由堆错误引起的

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM