java.net.UnknownHostException

=============> 对主机名进行映射





[[email protected] base_domain]$ ./startWebLogic.sh
.
.
JAVA Memory arguments: -Xms256m -Xmx512m  -XX:MaxPermSize=256m
.
WLS Start Mode=Production
.
CLASSPATH=/home/weblogic/Oracle/Middleware/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/weblogic/Oracle/Middleware/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/local/jdk/jdk1.6.0_21/lib/tools.jar:/home/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/home/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/home/weblogic/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.6.0.jar:/home/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/home/weblogic/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/weblogic/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/home/weblogic/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/home/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/xqrl.jar
.
PATH=/home/weblogic/Oracle/Middleware/wlserver_10.3/server/bin:/home/weblogic/Oracle/Middleware/modules/org.apache.ant_1.7.1/bin:/usr/local/jdk/jdk1.6.0_21/jre/bin:/usr/local/jdk/jdk1.6.0_21/bin:/usr/lib64/qt-3.3/bin:/usr/local/jdk/jdk1.6.0_21/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
.
***************************************************
*  To start WebLogic Server, use a username and   *
*  password assigned to an admin-level user.  For *
*  server administration, use the WebLogic Server *
*  console at http://hostname:port/console        *
***************************************************
starting weblogic with Java version:
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
Java HotSpot(TM) 64-Bit Server VM (build 17.0-b17, mixed mode)
Starting WLS with line:
/usr/local/jdk/jdk1.6.0_21/bin/java -server   -Xms256m -Xmx512m  -XX:MaxPermSize=256m -Dweblogic.Name=AdminServer -Djava.security.policy=/home/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.policy  -Dweblogic.ProductionModeEnabled=true   -da -Dplatform.home=/home/weblogic/Oracle/Middleware/wlserver_10.3 -Dwls.home=/home/weblogic/Oracle/Middleware/wlserver_10.3/server -Dweblogic.home=/home/weblogic/Oracle/Middleware/wlserver_10.3/server   -Dweblogic.management.discover=true  -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=/home/weblogic/Oracle/Middleware/patch_wls1036/profiles/default/sysext_manifest_classpath:/home/weblogic/Oracle/Middleware/patch_ocp371/profiles/default/sysext_manifest_classpath  weblogic.Server
<Feb 9, 2017 10:27:11 PM HKT> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<Feb 9, 2017 10:27:12 PM HKT> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
<Feb 9, 2017 10:27:12 PM HKT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 17.0-b17 from Sun Microsystems Inc.>
<Feb 9, 2017 10:27:13 PM HKT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.6.0  Tue Nov 15 08:52:36 PST 2011 1441050 >
<Feb 9, 2017 10:27:16 PM HKT> <Info> <Security> <BEA-090065> <Getting boot identity from user.>
Enter username to boot WebLogic server:weblogic
Enter password to boot WebLogic server:
<Feb 9, 2017 10:27:54 PM HKT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Feb 9, 2017 10:27:54 PM HKT> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Feb 9, 2017 10:27:54 PM HKT> <Notice> <Log Management> <BEA-170019> <The server log file /home/weblogic/Oracle/Middleware/user_projects/domains/base_domain/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.>
<Feb 9, 2017 10:27:55 PM HKT> <Critical> <WebLogicServer> <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.
java.lang.AssertionError: Could not obtain the localhost address. The most likely cause is an error in the network configuration of this machine.
    at weblogic.server.channels.AddressUtils$AddressMaker.getLocalHost(AddressUtils.java:38)
    at weblogic.server.channels.AddressUtils$AddressMaker.<clinit>(AddressUtils.java:33)
    at weblogic.server.channels.AddressUtils.getIPAny(AddressUtils.java:154)
    at weblogic.protocol.configuration.ChannelHelper.checkConsistency(ChannelHelper.java:61)
    at weblogic.server.channels.ChannelService.start(ChannelService.java:207)
    Truncated. see log file for complete stacktrace
Caused By: java.net.UnknownHostException: CRRC: CRRC
    at java.net.InetAddress.getLocalHost(InetAddress.java:1354)
    at weblogic.server.channels.AddressUtils$AddressMaker.getLocalHost(AddressUtils.java:36)
    at weblogic.server.channels.AddressUtils$AddressMaker.<clinit>(AddressUtils.java:33)
    at weblogic.server.channels.AddressUtils.getIPAny(AddressUtils.java:154)
    at weblogic.protocol.configuration.ChannelHelper.checkConsistency(ChannelHelper.java:61)
    Truncated. see log file for complete stacktrace
>
<Feb 9, 2017 10:27:55 PM HKT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<Feb 9, 2017 10:27:55 PM HKT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
<Feb 9, 2017 10:27:55 PM HKT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>





[[email protected] base_domain]$ ./startWebLogic.sh
.
.
JAVA Memory arguments: -Xms256m -Xmx512m  -XX:MaxPermSize=256m
.
WLS Start Mode=Production
.
CLASSPATH=/home/weblogic/Oracle/Middleware/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/weblogic/Oracle/Middleware/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/local/jdk/jdk1.6.0_21/lib/tools.jar:/home/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/home/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/home/weblogic/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.6.0.jar:/home/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/home/weblogic/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/weblogic/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/home/weblogic/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/home/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/xqrl.jar
.
PATH=/home/weblogic/Oracle/Middleware/wlserver_10.3/server/bin:/home/weblogic/Oracle/Middleware/modules/org.apache.ant_1.7.1/bin:/usr/local/jdk/jdk1.6.0_21/jre/bin:/usr/local/jdk/jdk1.6.0_21/bin:/usr/lib64/qt-3.3/bin:/usr/local/jdk/jdk1.6.0_21/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
.
***************************************************
*  To start WebLogic Server, use a username and   *
*  password assigned to an admin-level user.  For *
*  server administration, use the WebLogic Server *
*  console at http://hostname:port/console        *
***************************************************
starting weblogic with Java version:
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
Java HotSpot(TM) 64-Bit Server VM (build 17.0-b17, mixed mode)
Starting WLS with line:
/usr/local/jdk/jdk1.6.0_21/bin/java -server   -Xms256m -Xmx512m  -XX:MaxPermSize=256m -Dweblogic.Name=AdminServer -Djava.security.policy=/home/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.policy  -Dweblogic.ProductionModeEnabled=true   -da -Dplatform.home=/home/weblogic/Oracle/Middleware/wlserver_10.3 -Dwls.home=/home/weblogic/Oracle/Middleware/wlserver_10.3/server -Dweblogic.home=/home/weblogic/Oracle/Middleware/wlserver_10.3/server   -Dweblogic.management.discover=true  -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=/home/weblogic/Oracle/Middleware/patch_wls1036/profiles/default/sysext_manifest_classpath:/home/weblogic/Oracle/Middleware/patch_ocp371/profiles/default/sysext_manifest_classpath  weblogic.Server
<Feb 9, 2017 10:42:17 PM HKT> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<Feb 9, 2017 10:42:17 PM HKT> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
<Feb 9, 2017 10:42:18 PM HKT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 17.0-b17 from Sun Microsystems Inc.>
<Feb 9, 2017 10:42:19 PM HKT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.6.0  Tue Nov 15 08:52:36 PST 2011 1441050 >
<Feb 9, 2017 10:42:20 PM HKT> <Info> <Security> <BEA-090065> <Getting boot identity from user.>
Enter username to boot WebLogic server:weblogic
Enter password to boot WebLogic server:
<Feb 9, 2017 10:42:29 PM HKT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Feb 9, 2017 10:42:29 PM HKT> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Feb 9, 2017 10:42:30 PM HKT> <Notice> <Log Management> <BEA-170019> <The server log file /home/weblogic/Oracle/Middleware/user_projects/domains/base_domain/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.>
<Feb 9, 2017 10:42:35 PM HKT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Feb 9, 2017 10:42:42 PM HKT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<Feb 9, 2017 10:42:42 PM HKT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Feb 9, 2017 10:42:52 PM HKT> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
<Feb 9, 2017 10:42:53 PM HKT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<Feb 9, 2017 10:42:53 PM HKT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<Feb 9, 2017 10:42:53 PM HKT> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on fe80:0:0:0:20c:29ff:fe5f:a28:7001 for protocols iiop, t3, ldap, snmp, http.>
<Feb 9, 2017 10:42:53 PM HKT> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>
<Feb 9, 2017 10:42:53 PM HKT> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on 0:0:0:0:0:0:0:1:7001 for protocols iiop, t3, ldap, snmp, http.>
<Feb 9, 2017 10:42:53 PM HKT> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.31.128:7001 for protocols iiop, t3, ldap, snmp, http.>
<Feb 9, 2017 10:42:53 PM HKT> <Notice> <WebLogicServer> <BEA-000329> <Started WebLogic Admin Server "AdminServer" for domain "base_domain" running in Production Mode>
<Feb 9, 2017 10:42:53 PM HKT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Feb 9, 2017 10:42:53 PM HKT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>



时间: 2024-11-01 00:09:12

java.net.UnknownHostException的相关文章

mac 上运行cassandra出现的java.net.MalformedURLException: Local host name unknown: java.net.UnknownHostException: : : unknown error错误解决方法

运行: ./bin/cassandra 得到输出结果: objc[1881]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/java and /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/libinstrument.d

xom报错 Exception in thread &quot;main&quot; java.net.UnknownHostException: file

Exception in thread "main" java.net.UnknownHostException: file at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) at java.net.Socket.connect(Socket.java:579

linux系统下部署TOMCAT异常:java.net.UnknownHostException

原文出自:http://www.myexception.cn/operating-system/444024.html linux系统下部署TOMCAT错误:java.net.UnknownHostException今天在修改linux环境中 /etc/hosts文件时候,保存之后,访问页面的时候突然这个错,后来网上查了下,解决了java.net.UnknownHostException: vps**: vps**        at java.net.InetAddress.getLocalH

linux java.net.UnknownHostException异常

异常场景: 使用InetAddress.getLocalHost().getAddress(); 获取address byte数组.在windows上开发的时候,没有问题.部署到linux时报 java.net.UnknownHostException异常. 解决方案: 在linux的hosts文件中,增加如下配置 127.0.0.1 test2

解决Linux中java.net.UnknownHostException: oracledb.sys.iflashbuy.com问题

Linux环境报java.net.UnknownHostException: oracledb.sys.iflashbuy.com,原因为Linux下无法解析oracledb.sys.iflashbuy.com,解决方法为:修改 /etc/hosts vi /etc/hosts进行编辑,添加红色部分 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhos

ActiveMQ java.net.UnknownHostException 解决方法

昨天研发部的同事发现,生产环境中 JAVA 程序日志报错 :java.net.UnknownHostException: zhangwu:zhangwu                 /*zhangwu 是调用MQ那台机子的主机名字*/ 更奇怪的是,系统刚上线的时候是没有问题的,在调用的主机上ping zhangwu 这台机子不通. 最后找到方法,修改 /etc/hosts  文件 添加一行   192.168.1.1  zhangwu.localdomain zhangwu   问题解决了~

Tomcat启动时报错:java.net.UnknownHostException

异常信息如下: INFO: Failed to get local InetAddress for VMID. This is unlikely to matter. At all. We'll add some extra randomness java.net.UnknownHostException: ran-oam: ran-oam: Name or service not known at java.net.InetAddress.getLocalHost(InetAddress.ja

解决android上java.net.UnknownHostException: Unable to resolve host &quot;xxxx&quot;: No address associated wit

如题:解决android上面java.net.UnknownHostException: Unable to resolve host "m.blog.csdn.net": No address associated with hostname的错误: 这是由于我们在开发的过程中没有给模拟器和Manifest开放网络导致的, 解决方法目前有两种: 1.android设备网络连接没打开,例如3G网络和WIFI网络 2.Manifest文件没有标明网络访问权限 <uses-permi

linux系统部署Java程序获取ip时报Caused by: java.net.UnknownHostException: XXXXXXXXXX: XXXXXXXXXX: Name or service not known

问题一: Caused by: java.net.UnknownHostException: XXXXXXXXXX: XXXXXXXXXX: Name or service not known vi /etc/hosts 127.0.0.1 iZuf68tztea6l5ccdz7wemZ XXXXXXXXXX自己的主机名