Apache Tomcat/5.5.20 - Error report

HTTP Status 500 -


type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Exception in JSP: /channel/www/tzzn.jsp:18

15: if(!"".equals(name)){
16: 	String charset="gb2312";
17: 	String sUrl_gk="http://www.hnzs.gov.cn/ASPX/ShowAreaData.aspx?ToArea="+id;
18: 	String s_gk=RequestUtil.getStream(sUrl_gk, charset);
19: 	JSONObject jsonObject_gk = JSONObject.fromObject(s_gk);
20: 	%>
21: 	<div class="sw_order">                	


Stacktrace:
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:506)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:383)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
	com.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:144)
	org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

root cause

java.net.UnknownHostException: www.hnzs.gov.cn
	java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
	java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
	java.net.Socket.connect(Socket.java:529)
	java.net.Socket.connect(Socket.java:478)
	sun.net.NetworkClient.doConnect(NetworkClient.java:163)
	sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
	sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
	sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
	sun.net.www.http.HttpClient.New(HttpClient.java:306)
	sun.net.www.http.HttpClient.New(HttpClient.java:323)
	sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:860)
	sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:801)
	sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:726)
	sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1049)
	java.net.URL.openStream(URL.java:1010)
	com.hain.util.RequestUtil.getStream(RequestUtil.java:138)
	org.apache.jsp.channel.www.tzzn_jsp._jspService(tzzn_jsp.java:68)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
	com.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:144)
	org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.


Apache Tomcat/5.5.20

[an error occurred while processing this directive]

您是第 67278690 位访客