<2014-1-21 下午01时49分39秒 CST> <Warning> <Server> <BEA-002611> <The hostname "Lenovo-PC", maps to multiple IP addresses: 192.168.1.127, 0:0:0:0:0:0:0:1.>
<2014-1-21 下午01时49分39秒 CST> <Error> <Server> <BEA-002606> <The server is unable to create a server socket for listening on channel "Default[3]". The address fe80:0:0:0:55a9:21f9:4b3d:fbde might be incorrect or another process is using port 7001: java.net.SocketException: Address family not supported by protocol family: bind>
<2014-1-21 下午01时49分39秒 CST> <Error> <Server> <BEA-002606> <The server is unable to create a server socket for listening on channel "Default[4]". The address fe80:0:0:0:0:100:7f:fffe might be incorrect or another process is using port 7001: java.net.SocketException: Address family not supported by protocol family: bind>
<2014-1-21 下午01时49分39秒 CST> <Error> <Server> <BEA-002606> <The server is unable to create a server socket for listening on channel "Default[1]". The address fe80:0:0:0:dcb3:7a0b:845e:2443 might be incorrect or another process is using port 7001: java.net.SocketException: Address family not supported by protocol family: bind>
<2014-1-21 下午01时49分39秒 CST> <Error> <Server> <BEA-002606> <The server is unable to create a server socket for listening on channel "Default[2]". The address fe80:0:0:0:7d05:5b9b:3b83:ca37 might be incorrect or another process is using port 7001: java.net.SocketException: Address family not supported by protocol family: bind>
<2014-1-21 下午01时49分39秒 CST> <Error> <Server> <BEA-002606> <The server is unable to create a server socket for listening on channel "Default[6]". The address 0:0:0:0:0:0:0:1 might be incorrect or another process is using port 7001: java.net.SocketException: Address family not supported by protocol family: bind>
<2014-1-21 下午01时49分39秒 CST> <Error> <Server> <BEA-002606> <The server is unable to create a server socket for listening on channel "Default[5]". The address fe80:0:0:0:4dbe:9fed:2a44:3ae2 might be incorrect or another process is using port 7001: java.net.SocketException: Address family not supported by protocol family: bind>
<2014-1-21 下午01时49分39秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.1.127:7001 for protocols iiop, t3, ldap, snmp, http.>
<2014-1-21 下午01时49分39秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default[7]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>
<2014-1-21 下午01时49分39秒 CST> <Notice> <WebLogicServer> <BEA-000331> <Started the WebLogic Server Administration Server "myserver" for domain "mydomain" running in development mode.>
<2014-1-21 下午01时49分39秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING.>
<2014-1-21 下午01时49分40秒 CST> <Notice> <WebLogicServer> <BEA-000360> <The server started in RUNNING mode.>
weblogic12.12启动时,报这个错,不过没有影响,能正常访问控制台、使用。报这个错是由于在开始创建域的时候,没有为AdminServer指定绑定地址,那么weblogic遍历所在主机的所有IP地址。每一个IP地址创建一个ServerSocket。从上面可以看出,总共有九个channel(流),失败的如下:
fe80:0:0:0:55a9:21f9:4b3d:fbde Default[3]
fe80:0:0:0:0:100:7f:fffe Default[4]
fe80:0:0:0:dcb3:7a0b:845e:2443 Default[1]
fe80:0:0:0:7d05:5b9b:3b83:ca37 Default[2]
0:0:0:0:0:0:0:1 Default[6]
fe80:0:0:0:4dbe:9fed:2a44:3ae2 Default[5]
如果不使用到这些ip,则没有影响。如下程序,遍历本机所有的ip地址:
package com.test;
import java.net.InetAddress;
import java.net.NetworkInterface;
import java.net.SocketException;
import java.util.Enumeration;
public class Test
{
public static void main(String[] args)
{
Enumeration<NetworkInterface> eni;
try
{
eni = NetworkInterface.getNetworkInterfaces();
while (eni.hasMoreElements())
{
NetworkInterface ni = eni.nextElement();
Enumeration<InetAddress> eIa = ni.getInetAddresses();
while (eIa.hasMoreElements())
{
System.out.println(eIa.nextElement().getHostName());
}
}
}
catch (SocketException e)
{
e.printStackTrace();
}
}
}
来自:http://www.th7.cn/Program/java/201208/87653.shtml