您的位置:首页 > 运维架构

weblogic cluster error-----Could not= open connection with host: 127.0.0.1

2014-02-19 16:56 375 查看
weblogic主机及一台从机启动成功后,在启动从机的时候报错,

<BEA-000905> <Could not open connection with host: 127.0.0.1 and port: xxx.>

<Warning> <Management> <BEA-141141> <Failed to connect to an admin server running at http://127.0.0.1:xxx. The error message returned is null.

java.net.SocketException: Socket Closed

at java.net.PlainSocketImpl.setOption(PlainSocketImpl.java:177)

at java.net.Socket.setTcpNoDelay(Socket.java:800)

at weblogic.net.http.HttpClient.openServer(HttpClient.java:306)

at weblogic.net.http.HttpClient.openServer(HttpClient.java:355)

at weblogic.net.http.HttpClient.<init>(HttpClient.java:139)

at weblogic.net.http.HttpClient.New(HttpClient.java:212)

at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:140)

at weblogic.management.Admin.checkAdminServerIsRunning(Admin.java:1669)

at weblogic.management.Admin.reconnectToAdminServerHelper(Admin.java:2496)

at weblogic.management.ManagedServerAdmin.reconnectToAdminServer(ManagedServerAdmin.java:203)

at weblogic.t3.srvr.ServerRuntime.reconnectToAdminServer(ServerRuntime.java:1315)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:755)

at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:734)

at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)

at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)

at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:990)

at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:948)

at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown Source)

at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:492)

at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:435)

at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)

at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:430)

at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)

at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

原因: 另一台从机启动时不是从本身的running-managed-server.xml或者主机的响应文件中读值,而是从主机的config.xml文件中读值(里面默认为“”),读不到就默认为本机地址127.0.0.1导致。

修改:配置集群时config.xml的listenAddress一定要设值,不能为空字符串。

另外:出现多个域的情况,要把multicat address设置为不同的值。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐