java.net.UnknownHostException: ibatis.apache.org

今天中午帮助HZ QA 解决JNDI Datasource时发现这个问题

Caused by: java.net.UnknownHostException: ibatis.apache.org
	at java.net.InetAddress.getAllByName0(InetAddress.java:1016)
	at java.net.InetAddress.getAllByName0(InetAddress.java:981)
	at java.net.InetAddress.getAllByName(InetAddress.java:975)
	at weblogic.net.http.HttpClient.openServer(HttpClient.java:279)
	at weblogic.net.http.HttpClient.openServer(HttpClient.java:355)
	at weblogic.net.http.HttpClient.<init>(HttpClient.java:139)
	at weblogic.net.http.HttpURLConnection.getHttpClient(HttpURLConnection.java:151)
	at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:359)
	at weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLConnection.java:28)
	at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
	at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
	at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
	at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
	at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:122)
	at com.webex.webapp.sxa.common.dao.TokenBasedSqlMapClientBuilder.getDocument(TokenBasedSqlMapClientBuilder.java:141)
	... 20 more
 
UnknownHostException

   一看估计是网络问题,连不上ibatis.apache.org,果不其然,让她在WebLogic server上ping了下连不上,她们那边没有配置DNS,所以连不上外网,配了DNS之后还是连不上,原来DNS有缓存,重启WebLogic, everything is ok!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值