weblogic集群部署 bea-000141错误解决

        搭建weblogic集群的时候遇到了一个错误,记录在这里,以免以后忘了。

错误日志如下:

<Error> <Cluster> <BEA-000141> <TCP/IP socket failure occurred while fetching statedump over HTTP from -6828640636811090393S:192.168.79.128:[7003,7003,-1,-1,-1,-1,-1]:sridmn:srimngd1-1.
java.net.NoRouteToHostException: No route to host
   at java.net.PlainSocketImpl.socketConnect(Native Method)
   at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
   at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
   at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
   at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
   Truncated. see log file for complete stacktrace

 

解决方法:

       应用的受管服务器之间需要能相互ping通,包含端口,这个端口是在安装weblogic时,创建的管理服务器和受管服务器的端口;

修改文件/etc/sysconfig/iptables,修改完成重新启动iptables服务:service iptables restart

 

另外需要注意的是需要配置计算机名,若不配置可能会报如下的错,修改hosts文件即可。

<BEA-000386> <Server subsystem failed. Reason: java.lang.AssertionError: Could not obtain the localhost address. The most likely cause is an error in the network configuration of this machine.

你可能感兴趣的:(weblogic集群部署 bea-000141错误解决)