websphere Java虚拟机内存修改过大启动报错
解决方法
找到配置文件:
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/config/cells/CMMI-CONTRBTNode01Cell/nodes/CMMI-CONTRBTNode01/servers/server1下的server.xml修改-Xmo 的值等于 -Xms,启动websphere,问题解决
错误现象:
ADMU0116I: Tool information is being logged in file
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/server1/startServer.log
ADMU0128I: Starting tool with the AppSrv01 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
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/server1 should
contain failure information.
查看SystemOut.log文件:
[13-8-16 13:29:04:098 GMT+08:00] 0000001c webapp E com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet 错误]-[action]: com.ibm.ws.sm.workspace.WorkSpaceException: WKSP0011E Unable to create existing session id file /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/wstemp/92668751/workspace/.workspace_d6eNaeNTFvuYYqxsiu88Zyf --java.io.IOException: Too many open files
at com.ibm.ws.sm.workspace.impl.WorkSpaceLogger.createException(WorkSpaceLogger.java:114)
at com.ibm.ws.sm.workspace.impl.WorkSpaceMasterRepositoryAdapter.createSessionIdFile(WorkSpaceMasterRepositoryAdapter.java:1078)
at com.ibm.ws.sm.workspace.impl.WorkSpaceMasterRepositoryAdapter.setSessionId(WorkSpaceMasterRepositoryAdapter.java:994)
at com.ibm.ws.sm.workspace.impl.WorkSpaceImpl.setSessionId(WorkSpaceImpl.java:537)
at com.ibm.ws.sm.workspace.impl.WorkSpaceManagerImpl.createWorkSpace(WorkSpaceManagerImpl.java:209)
at com.ibm.ws.sm.workspace.impl.WorkSpaceManagerImpl.getWorkSpace(WorkSpaceManagerImpl.java:302)
at com.ibm.isclite.runtime.action.LoginAction.createWorkSpace(LoginAction.java:385)
at com.ibm.isclite.runtime.action.LoginAction.createUser(LoginAction.java:349)
at com.ibm.isclite.runtime.action.LoginAction.execute(LoginAction.java:278)
at org.apache.struts.action.RequestProcessor.processActionPerform(Unknown Source)
at org.apache.struts.action.RequestProcessor.process(Unknown Source)
at org.apache.struts.action.ActionServlet.process(Unknown Source)
at org.apache.struts.action.ActionServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1655)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1595)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
at com.ibm.ws.console.core.servlet.WSCUrlFilter.setUpCommandAssistence(WSCUrlFilter.java:927)
at com.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(WSCUrlFilter.java:494)
at com.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(WSCUrlFilter.java:315)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:932)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:500)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:864)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1772)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550)
Caused by: java.io.IOException: Too many open files
at java.io.File.createNewFile(File.java:883)
at com.ibm.wsspi.configarchive.DefaultFileAccessor.createNewFile(DefaultFileAccessor.java:246)
at com.ibm.ws.sm.workspace.impl.FileAccessorUtil.createNewFile(FileAccessorUtil.java:280)
at com.ibm.ws.sm.workspace.impl.WorkSpaceMasterRepositoryAdapter.createSessionIdFile(WorkSpaceMasterRepositoryAdapter.java:1046)
... 42 more
查看native_stderr.log文件:
JVMJ9GC021E -Xmo 必须等于 -Xms
JVMJ9VM015W 在库 j9gc24(2) 中发生初始化错误 未能初始化
Could not create the Java virtual machine.
找到配置文件:
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/config/cells/CMMI-CONTRBTNode01Cell/nodes/CMMI-CONTRBTNode01/servers/server1下的server.xml修改-Xmo 的值等于 -Xms,启动websphere,问题解决
解决方法
找到配置文件:
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/config/cells/CMMI-CONTRBTNode01Cell/nodes/CMMI-CONTRBTNode01/servers/server1下的server.xml修改-Xmo 的值等于 -Xms,启动websphere,问题解决
错误现象:
ADMU0116I: Tool information is being logged in file
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/server1/startServer.log
ADMU0128I: Starting tool with the AppSrv01 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
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/server1 should
contain failure information.
查看SystemOut.log文件:
[13-8-16 13:29:04:098 GMT+08:00] 0000001c webapp E com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet 错误]-[action]: com.ibm.ws.sm.workspace.WorkSpaceException: WKSP0011E Unable to create existing session id file /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/wstemp/92668751/workspace/.workspace_d6eNaeNTFvuYYqxsiu88Zyf --java.io.IOException: Too many open files
at com.ibm.ws.sm.workspace.impl.WorkSpaceLogger.createException(WorkSpaceLogger.java:114)
at com.ibm.ws.sm.workspace.impl.WorkSpaceMasterRepositoryAdapter.createSessionIdFile(WorkSpaceMasterRepositoryAdapter.java:1078)
at com.ibm.ws.sm.workspace.impl.WorkSpaceMasterRepositoryAdapter.setSessionId(WorkSpaceMasterRepositoryAdapter.java:994)
at com.ibm.ws.sm.workspace.impl.WorkSpaceImpl.setSessionId(WorkSpaceImpl.java:537)
at com.ibm.ws.sm.workspace.impl.WorkSpaceManagerImpl.createWorkSpace(WorkSpaceManagerImpl.java:209)
at com.ibm.ws.sm.workspace.impl.WorkSpaceManagerImpl.getWorkSpace(WorkSpaceManagerImpl.java:302)
at com.ibm.isclite.runtime.action.LoginAction.createWorkSpace(LoginAction.java:385)
at com.ibm.isclite.runtime.action.LoginAction.createUser(LoginAction.java:349)
at com.ibm.isclite.runtime.action.LoginAction.execute(LoginAction.java:278)
at org.apache.struts.action.RequestProcessor.processActionPerform(Unknown Source)
at org.apache.struts.action.RequestProcessor.process(Unknown Source)
at org.apache.struts.action.ActionServlet.process(Unknown Source)
at org.apache.struts.action.ActionServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1655)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1595)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
at com.ibm.ws.console.core.servlet.WSCUrlFilter.setUpCommandAssistence(WSCUrlFilter.java:927)
at com.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(WSCUrlFilter.java:494)
at com.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(WSCUrlFilter.java:315)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:932)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:500)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:864)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1772)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550)
Caused by: java.io.IOException: Too many open files
at java.io.File.createNewFile(File.java:883)
at com.ibm.wsspi.configarchive.DefaultFileAccessor.createNewFile(DefaultFileAccessor.java:246)
at com.ibm.ws.sm.workspace.impl.FileAccessorUtil.createNewFile(FileAccessorUtil.java:280)
at com.ibm.ws.sm.workspace.impl.WorkSpaceMasterRepositoryAdapter.createSessionIdFile(WorkSpaceMasterRepositoryAdapter.java:1046)
... 42 more
查看native_stderr.log文件:
JVMJ9GC021E -Xmo 必须等于 -Xms
JVMJ9VM015W 在库 j9gc24(2) 中发生初始化错误 未能初始化
Could not create the Java virtual machine.
找到配置文件:
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/config/cells/CMMI-CONTRBTNode01Cell/nodes/CMMI-CONTRBTNode01/servers/server1下的server.xml修改-Xmo 的值等于 -Xms,启动websphere,问题解决