【问题标题】:Unable to start the Administrative console of IBM WebSphere Application Server.Cause:java.lang.OutOfMemoryError无法启动 IBM WebSphere Application Server 的管理控制台。原因:java.lang.OutOfMemoryError
【发布时间】:2013-06-30 19:49:15
【问题描述】:

我正在尝试启动 IBM Websphere 的管理员控制台,但在启动服务器时出现错误,我正在使用以下命令启动服务器

C:\IBM\WebSphere\AppServer\profiles\AppSr2\bin>startServer.bat server1
ADMU0116I: Tool information is being logged in file
           C:\IBM\WebSphere\AppServer\profiles\AppSr2\logs\server1\startServer.log
ADMU0128I: Starting tool with the AppSr2 profile
ADMU3100I: Reading configuration for server: server1
ADMU3200I: Server launched. Waiting for initialization status.
ADMU3011E: Server launched but failed initialization. startServer.log,
           SystemOut.log(or job log in zOS) and other log files under
           C:\IBM\WebSphere\AppServer\profiles\AppSr2\logs\server1 should
           contain failure information. When i looked into log files error is java.lang.OutOfMemoryError. How do i come out of this situation?

【问题讨论】:

    标签: websphere websphere-7


    【解决方案1】:

    您应该尝试增加 JVM 堆的初始大小。这可以在位于WAS_HOME\profiles\PROFILE_NAME\config\cells\CELL_NAME\nodes\NODE_NAME\servers\SERVERserver.xml 中完成。您应该修改元素<jvmEntries>并调整或添加属性initialHeapSize

    <jvmEntries initialHeapSize="1024">
    

    合适的值取决于您的环境。

    【讨论】:

    • 我认为它已经设置好了,看看你提到的属性.....
    • 发生 OutOfMemoryError 时,WAS 通常会生成堆转储。它可以在名为 heapdump...phd 的文件的配置文件目录中找到。它显示了多少内存?
    • 如何打开.phd文件?在记事本++上,它显示了一些二进制内容。
    • 对不起,您应该检查相应的 javacore...txt 文件。里面有一段“MEMINFO subcomponent dump routine”。
    • 这就是那里 -------------------------- ---------------------------------- 0SECTION MEMINFO 子组件转储例程 NULL ========== ====================== 1STHEAPFREE 可用堆空间字节数:504FE8 1STHEAPALLOC 已分配堆空间字节数:10000000 NULL
    猜你喜欢
    • 2015-06-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-09-08
    • 1970-01-01
    相关资源
    最近更新 更多