`

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!

分享到:
评论
1 楼 atgoingguoat 2012-06-15  
我也碰到这个问题
Linux 下具体如何处理.

相关推荐

Global site tag (gtag.js) - Google Analytics