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设置为不同的值。
<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设置为不同的值。
相关文章推荐
- weblogic cluster error-----Could not= open connection with host: 127.0.0.1
- 错误提示: (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
- provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server
- apache [error] (EAI 5)No address associated with hostname: Could not resolve host name
- SQL SERVER – FIX : ERROR : (provider: Named Pipes Provider, error: 40 – Could not open a connection
- SQL Server无法以local 登陆问题的解决方法provider: Named Pipes Provider, error: 40 - Could not open a connection
- Named Pipes Provider, error: 40 - Could not open a connection to SQL Server
- python ConnectionError 或 curl Could not resolve host
- Error: Could not open client transport with JDBC Uri: jdbc:hive2://192.168.159.131:10000:
- Could not open JDBC Connection for transaction; nested exception is java.sql.SQLException: socket creation error
- SQL SERVER – FIX : ERROR : (provider: Named Pipes Provider, error: 40 – Could not open a connection
- Could not open a connection to your authentication agent.
- 安装JDK后,运行java命令出现错误Error:could not open ...jvm.cfg
- CCS5 Debug出错 @load program error. Encoutered a problem loading file:...\LED.out could not open file.
- svn error:could not read response body connection was closed by server
- WARNING: The host '$hostname' could not be looked up with resolveip.
- "Virtual PC Could Not Open Its Emulated Ethernet Switch Driver" Error Message After You Install a Virtual PC Update
- IDEA Push Failed with error: fatal: Could not read from remote repository
- nagios 页面发送命令异常 Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update!
- org.hibernate.exception.GenericJDBCException: Could not open connection