问题描述
我有一些奇怪的情况:
当我尝试在控制台上启动托管服务器时,我在 Nodemanager 上收到以下错误:
When i am trying to start managed server on the console i get the following error on Nodemanager:
PM weblogic.nodemanager.server.Handler run
WARNING: I/O error while closing socket connection
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:135)
at java.net.SocketInputStream.read(SocketInputStream.java:122)
at weblogic.utils.io.ChunkedInputStream.read(ChunkedInputStream.java:159)
at weblogic.security.SSL.jsseadapter.JaSSLEngineRunner$Context.fillBufferNetIn(JaSSLEngineRunner.java:323)
at weblogic.security.SSL.jsseadapter.JaSSLEngineRunner$Transition_NeedUnwrap.getNextState(JaSSLEngineRunner.java:822)
at weblogic.security.SSL.jsseadapter.JaSSLEngineRunner.doTransitions(JaSSLEngineRunner.java:763)
at weblogic.security.SSL.jsseadapter.JaSSLEngineRunner.closeInbound(JaSSLEngineRunner.java:1279)
at weblogic.security.SSL.jsseadapter.JaSSLEngineRunner.close(JaSSLEngineRunner.java:1365)
at weblogic.security.SSL.jsseadapter.JaAbstractSSLSocket.close(JaAbstractSSLSocket.java:245)
at weblogic.nodemanager.server.Handler.run(Handler.java:85)
at java.lang.Thread.run(Thread.java:745)
但是当我尝试从命令行启动托管服务器时,它可以正常工作:
But when i am trying to start Managed Servers from command-line then it works correctly:
nohup ./startManagedWebLogic.sh server1 t3://xx.xx.xx.xx:7001 >/dev/null 2>&1 &
在 oracle 文档中,我发现当 nodemanager.properties 文件中的以下行设置为 false 时,可能会发生此问题:
In oracle Documentation i found that this issue can happen when in nodemanager.properties file the following line is set to false:
NativeVersionEnabled=false
在我将其设置为 true 后,问题仍然存在.这个问题是在我将 Java 从 java jrockit 升级到 java JDK 1.80 之后开始的.我还将证书从演示更改为自定义.
After i set it to true the issue is still persists.The issue started after i did an Upgrade for Java from java jrockit to java JDK 1.80. I have also changed the certificates from Demo to custom.
之前有人遇到过这个问题并且知道如何解决吗?
Did someone had this issue before and knows how to fix it?
推荐答案
在 nodemanager.properties 文件中,将 SecureListener 属性设置为 false.在 weblogic 服务器管理控制台中,将机器配置为不使用与节点管理器(节点管理器选项卡)的安全连接这 2 个选项配置管理服务器和节点管理器之间的非安全连接.
In the nodemanager.properties file set the SecureListener attribute to false.In the weblogic server admin console, configure the machine to not use a secured connection with the node manager (Node Manager tab)These 2 options configure a non secured connection between the admin server and the node manager.
这篇关于Weblogic 11g:托管服务器未从 Weblogic 控制台启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!