Connection reset错误,请各位赐教! [问题点数:100分,结帖人beiyanglove]

Bbs1
本版专家分:0
结帖率 100%
Bbs8
本版专家分:37584
Bbs5
本版专家分:3231
Bbs2
本版专家分:299
Bbs1
本版专家分:0
Bbs6
本版专家分:7333
Bbs1
本版专家分:0
Bbs7
本版专家分:10930
Blank
黄花 2012年3月 Java大版内专家分月排行榜第二
Bbs2
本版专家分:290
Bbs7
本版专家分:24726
Blank
红花 2013年11月 扩充话题大版内专家分月排行榜第一
Blank
蓝花 2011年12月 扩充话题大版内专家分排名第三
Ant
Bbs5
本版专家分:3246
Bbs3
本版专家分:936
Bbs2
本版专家分:240
connection reset by peer 10054错误
使用IDDY10的idtcpClient:rn程序中,使用一个计时器,检查idTcpClient的状态,代码如下:rntryrn if not idTcpClient.Connected thenrn beginrn idTcpClient1.connect('127.0.0.1',9099);rn end;rnexceptrn //rnend;rn当服务器强制断开,就出现如题所示的<em>错误</em>信息。rn我在Except中却无法获取。rnrn问,怎么才能不出现这样的<em>错误</em>提示。
502 Connection reset by peer错误
VMWare中安装了虚拟机ubuntu 16.04,虚拟网路使用的NAT模式,rn因为在公司访问外网需要有代理,所以将/etc/apt/apt.conf配置了如下内容,rnAcquire::http::proxy "http://username:passwd@proxy.*****.com:8080/";rnAcquire::https::proxy "https://username:passwd@proxy.*****.com:8080/";rnAcquire::ftp::proxy "ftp://username:passwd@proxy.*****.com:8080/";rnAcquire::socks::proxy "socks://username:passwd@proxy.*****.com:8080/";rn但是执行sudo apt install vim后,点击Y后,还是会在显示0%rn[Waiting for headers]一会后,显示502 Connection <em>reset</em> by peer<em>错误</em>,需要注意的是502,网上找不到相关的解决办法,我也参考着试了好多办法都不行。特别的是打开火狐浏览器后,输入代理用户/密码,可以取得apt命令中无法下载的package。求大神拯救我,上火了都~~
关于connection reset by peer的错误
我们开发了一套系统。在使用过程中总是出现<em>connection</em> <em>reset</em> by peer这个<em>错误</em>。是什么原因造成的。怎么解决呢!!rnrn
java.net.SocketException: Connection reset by peer: Connection reset by peer
java.net.SocketException: Connection <em>reset</em> by peer: Connection <em>reset</em> by peer 这个异常是怎么引起的?
代码错误.请各位赐教~
本页无法显示 rn试图访问的网页出现问题,无法显示。 rnrn--------------------------------------------------------------------------------rnrn请尝试以下方法:rnrn单击 刷新按钮或者梢候再试。rnrn打开 221.200.76.218 主页,然后查找与所需信息相关的链接。 rnHTTP 500.100 - 内部服务器<em>错误</em> - ASP <em>错误</em>rnInternet 信息服务rnrn--------------------------------------------------------------------------------rnrn技术信息(适用于支持人员)rnrn<em>错误</em>类型:rnMicrosoft VBScript 编译器<em>错误</em> (0x800A0401)rn/chat.asp, 第 28 行, 第 11 列rnguest chat facern----------^rnrnrn浏览器类型:rnMozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) rnrn页:rnGET /chat.asp rnrn时间:rn2004年3月5日, 16:00:32 rnrnrn详细信息:rnMicrosoft 支持 rn rn--------------------------------------------------------------------------rnrn代码如下:rnrnrnrnrn < p>rn rnrn rnrnrn<>"" thenrn' 判 断 客 户 是 是 否 在 聊 天 界 面 中 rnSession("nick")=Request.Form("nick")rnEnd Ifrn'------------------------'rn用 户 聊 天 界 面 rn'------------------------rn%>rnrn 说 话: rnrnrnrn 离 开 rnrn<>1 thenrnIf trim(Request.Form("talk"))="" thenrn' 判 断 用 户 是 否 没 有 输 入 任 何 内 容 rntalk=Session("nick")&" 沉 默 是 金。"rnElserntalk=trim(Request.Form("talk"))rn' 去 掉 字 符 后 的 空 格 rnEnd IfrnrnApplication.lockrnApplication("show")="< table border='0' cellpadding='0' cellspacing='0' width='85%' >rn 来 自 "&Request.ServerVariables("remote_addr")&" 的 "&Session("nick")&time&" 说:"&talk&"rn "&Application("show")rnApplication.UnLockrnrnResponse.Write Application("show")rnEnd IfrnEnd Ifrn%>rnrn
Connection reset by peer这个错误怎么改
public class Serverrnrn rn rn Socket s;rn rn public Server(Socket s)rn rn this.s=s;rn rn rn public static void ServerStart() rn try rn ServerSocket ss=new ServerSocket(6000);rn while(true)rn rn Socket s = ss.accept();rn rn new ServerThread(s).start();rn rn rnrn rn catch (Exception ex) rn ex.printStackTrace();rn rn rn rn rn public static void main(String[] args) rn rn new Database(); rn rn ServerStart();rn rnrnrnrnrnrn在serverThread里rn ObjectOutputStream oos = new ObjectOutputStream(s.getOutputStream());rn就抛出异常了rnrnrn
Android 网络通信 Connection Reset By Peers 错误
服务器端用SSH,收取Android客户端发送的请求。rn当Android使用WIFI,联通3G,电信3G时均收发正常,客户端能收到服务器端的响应数据rnrn但使用中国移动之后就问题来了:rn 数据能够发送到服务器,但客户端无法收到服务器端的响应数据,报错Conneciton Reset By Peers。rnrn刚开始怀疑是Android端问题,使用好几种网络连接的实现均未解决。rn后来试验用客户端连接其它网站如百度,均返回成功,(移动网络下)但访问我自己的服务器返回<em>错误</em>。rnrn这样有可能又是服务器端配置有问题,有没有人了解的?
tomcat+axis 发布服务 报connection reset 错误!!
<em>各位</em>好:rn我使用Tomcat+Axis 作为Webservice服务器,使用Eclipse集成工具中的 Web services ->Create service 下一步 下一步操作,可以正确发布WebService,而且可以调用,虚拟路径配置 。rnrn按照同样方法,我又新建立一个工程,配置的虚拟路径如下rnrn并且使用 Web services ->Create service 生成deploy.wsdd文件,但是没有发布。rn然后我使用命令 java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient -lhttp://localhost:8080/sp/services/MyMathService D:\sp\WEB-INF\MyMathService\com\deploy.wsdd 发布,报错如下:rnlog4j:WARN No appenders could be found for logger (org.apache.axis.i18n.Project ResourceBundle).rnlog4j:WARN Please initialize the log4j system properly.rnProcessing file D:\sp\WEB-INF\MyMathService\com\deploy.wsddrnException: AxisFaultrn faultCode: http://schemas.xmlsoap.org/soap/envelope/Server.userExceptionrn faultSubcode:rn faultString: java.net.SocketException: Connection <em>reset</em>rn faultActor:rn faultNode:rn faultDetail:rnrn报 Connection <em>reset</em> 也没搞明白,麻烦<em>各位</em>看看!rn谢谢rn
报这个错误:com.microsoft.sqlserver.jdbc.SQLServerException: Connection reset
rnrn报这个<em>错误</em>:com.microsoft.sqlserver.jdbc.SQLServerException: Connection <em>reset</em>rnrn环境:java 1.8.0_131 Tomcat 8.5.34. 数据库:sql server 2012 +sp4rnrn本来好好的,不知道怎么突然就这样了。只有这一台计算机这样,而别的服务器那里就没有问题。rnrn都是同样程序,同样的运行环境。
tomcat的连接池出现connection reset by peer的错误
我在tomcat设置好了连接池,刚开始运行良好,可是过一段时间后,就出现<em>connection</em> <em>reset</em> by peer的<em>错误</em>,无法运行查询了。rn数据库是ms sql server。数据库和应用服务器不在一台机器上。rn请问如何解决?rn
linux网络编程 Connection reset by peer错误
服务器向客户端发送了数据,客户端没有接收就关闭了,服务器read就会发生Connection <em>reset</em> by peer<em>错误</em>。rn我试验了一下,确是如此。rn同学们遇到过这个问题吗?
java.net.SocketException: Connection reset
还是以前发过的那个弱弱的聊天小程序。rnrn==TCPServer.java==rnimport java.io.*;rnimport java.net.*;rnpublic class TCPServer rn public static void main(String[] args) rn InputStream in = null;rn OutputStream out = null;rn try rn ServerSocket server = new ServerSocket(8888);rn Socket s = null;rn BufferedReader br = null;rn BufferedReader localBr = null;rn PrintWriter pw = null;rn String line = null;rn while(true) rn s = server.accept();rn System.out.println("A client connected, you can chat now.");rn in = s.getInputStream();rn out = s.getOutputStream();rn br = new BufferedReader(new InputStreamReader(in));rn pw = new PrintWriter(out);rn localBr = new BufferedReader(new InputStreamReader(System.in));rn while(true) rn line = localBr.readLine();rn if(line.equals("bye")) rn break;rn rn System.out.println("Server: " + line);rn pw.println("Server: " + line);rn pw.flush();rn System.out.println(br.readLine());rn rn localBr.close();rn br.close();rn pw.close();rn s.close();rn rn catch (IOException e) rn e.printStackTrace();rn rn rnrnrn==TCPClient.java==rnimport java.io.*;rnimport java.net.*;rnpublic class TCPClient rn public static void main(String[] args) rn InputStream in = null;rn OutputStream out = null;rn try rn Socket s = new Socket("222.91.123.168", 8888);rn in = s.getInputStream();rn out = s.getOutputStream();rn BufferedReader br = new BufferedReader(new InputStreamReader(in));rn PrintWriter pw = new PrintWriter(out);rn BufferedReader localBr = new BufferedReader(new InputStreamReader(System.in));rn String line = null;rn while(true) rn System.out.println(br.readLine());rn line = localBr.readLine();rn if(line.equals("bye")) rn break;rn rn System.out.println("Client: " + line);rn pw.println("Client: " + line);rn pw.flush();rn rn localBr.close();rn br.close();rn pw.close();rn s.close();rn catch (IOException e) rn e.printStackTrace();rn rn rnrnrn第一个Client可以和Server完成聊天。但是双方都bye后,再起一个Client时,就会发生<em>错误</em>。rnrnServer窗口显示如下:rnjava.io.IOException: Stream closedrn at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:145rn)rn at java.io.BufferedInputStream.read(BufferedInputStream.java:308)rn at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)rn at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)rn at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)rn at java.io.InputStreamReader.read(InputStreamReader.java:167)rn at java.io.BufferedReader.fill(BufferedReader.java:136)rn at java.io.BufferedReader.readLine(BufferedReader.java:299)rn at java.io.BufferedReader.readLine(BufferedReader.java:362)rn at TCPServer.main(TCPServer.java:23)rnrnClient窗口显示如下:rnjava.net.SocketException: Connection <em>reset</em>rn at java.net.SocketInputStream.read(SocketInputStream.java:168)rn at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)rn at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)rn at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)rn at java.io.InputStreamReader.read(InputStreamReader.java:167)rn at java.io.BufferedReader.fill(BufferedReader.java:136)rn at java.io.BufferedReader.readLine(BufferedReader.java:299)rn at java.io.BufferedReader.readLine(BufferedReader.java:362)rn at TCPClient.main(TCPClient.java:16)rnrn请问这是怎么回事?该怎么解决呢?
httpClient Connection reset
为什么我老出现这个<em>错误</em>,原因是什么?rnjava.net.SocketException: Connection <em>reset</em>rn at java.net.SocketInputStream.read(Unknown Source)rn at java.io.BufferedInputStream.fill(Unknown Source)rn at java.io.BufferedInputStream.read(Unknown Source)rn at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)rn at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)rn at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)rn at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)rn at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)rn at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)rn at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)rn at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)rn at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)rn at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)rn at test_tonight.TestToXXJY.(TestToXXJY.java:26)rn at test_tonight.TestToXXJY.main(TestToXXJY.java:71)rnrn程序应该没错,因为我连接的地址里有可以连通的
connection reset by peer?
上位机(客户端)定时给下位机(服务端)发查询命令.rn服务端去查询,数据库,如果有新数据,返回给客户端,如果没,告诉客户端没有新数据.rn运行了,10个小时左右,rn提示,<em>connection</em>g <em>reset</em> by peerrn这个<em>错误</em>,一般是什么情况下给出的。rn大家,是否遇到过这类问题.后来怎么解决的.
关于:java.net.SocketException: Connection reset
大家好:rn我写了一个网络交易程序,原理按照ibm的socket教程做的,是服务器端使用ServerSocket建立监听,客户端创建Socket进行连接,客户端发送一条信息给服务器,服务器返回一条信息给客户端,然后断开连接。rn开始一切都很好,但目前出现这个问题,当程序运行一段时间后(可能几个小时或10几个小时),当客户端程序向服务端发送信息时,服务器端一开始提示进行有新的连接建立,然后在读socket时抛出例外java.net.SocketException: Connection <em>reset</em>。rn
ClientAbortException: java.net.SocketException: Connection reset
ClientAbortException: java.net.SocketException: Connection <em>reset</em>rn at org.apache.coyote.tomcat4.OutputBuffer.doFlush(OutputBuffer.java:368)rn at org.apache.coyote.tomcat4.OutputBuffer.flush(OutputBuffer.java:336)rn at org.apache.coyote.tomcat4.CoyoteResponse.flushBuffer(CoyoteResponse.java:541)rn at org.apache.coyote.tomcat4.CoyoteResponseFacade.flushBuffer(CoyoteResponseFacade.java:225)rn at org.apache.catalina.valves.ErrorDispatcherValve.status(ErrorDispatcherValve.java:329)rn at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:181)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)rn at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)rn at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)rn at java.lang.Thread.run(Thread.java:534)
Connection reset by peer 求助
本人的java程序部署在weblogic中,数据库为oracle9i,非常的简单,就是提供了一个接口供别人调用后然后更新某表的一个字段值,但现在发生了如下的问题,即在执行更新操作时,偶尔会出现“Io 异常: Connection <em>reset</em> by peer.”这样的异常,更新语句非常非常的简单,就是最普通的UPDATE语句,使用的是JDBC连接池,出现的概率也不是很大,请问大家能彻底解决这样的问题吗?比如通过修改weblogic相关配置什么的。
Caused by: java.net.SocketException: Connection reset
13:50:17,093 WARN com.mchange.v2.resourcepool.BasicResourcePool:1841 - com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1c7d56b -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (3). Last acquisition attempt exception: rnjava.sql.SQLException: I/O Error: Connection <em>reset</em>rn at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2311)rn at net.sourceforge.jtds.jdbc.TdsCore.login(TdsCore.java:603)rn at net.sourceforge.jtds.jdbc.ConnectionJDBC2.(ConnectionJDBC2.java:357)rn at net.sourceforge.jtds.jdbc.ConnectionJDBC3.(ConnectionJDBC3.java:50)rn at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:184)rn at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134)rn at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)rn at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)rn at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)rn at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)rn at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)rn at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)rn at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)rnCaused by: java.net.SocketException: Connection <em>reset</em>rn at java.net.SocketInputStream.read(SocketInputStream.java:168)rn at java.io.DataInputStream.readFully(DataInputStream.java:178)rn at java.io.DataInputStream.readFully(DataInputStream.java:152)rn at net.sourceforge.jtds.jdbc.SharedSocket.readPacket(SharedSocket.java:842)rn at net.sourceforge.jtds.jdbc.SharedSocket.getNetPacket(SharedSocket.java:723)rn at net.sourceforge.jtds.jdbc.ResponseStream.getPacket(ResponseStream.java:466)rn at net.sourceforge.jtds.jdbc.ResponseStream.read(ResponseStream.java:103)rn at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2206)rn ... 12 morernrnrn/*-----------------------------------------------------------------------------*/rnrn启动服务器时候。报以上<em>错误</em>。用的是SQL Server数据库。
50分 Connection reset ??
昨天还好好的 rn怎么一下就这样了啊?rnrnHTTP Status 500 - rnrn--------------------------------------------------------------------------------rnrntype Exception reportrnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnjavax.servlet.ServletException: [Microsoft][SQLServer 2000 Driver for JDBC]Connection <em>reset</em>rn org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:867)rn org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:800)rnrn
java.net.SocketException Connection reset 解决方法
java.net.SocketException Connection <em>reset</em> 解决方法
the connection with the server was reset??????
the <em>connection</em> with the server was <em>reset</em>???是什么意思啊 我的asp.net打开项目的时候出现这样的<em>错误</em> 是怎么回事啊 ??? 请高手指点,怎么改正修正啊
Socket问题 Connection reset?
顶起。我也有差不多的问题的。不过我的从服务器接收客户端的消息接受一切正常,当我关闭客户端是。程序就报异常。说Connection <em>reset</em> ?为什么啊?希望高手给我看看。下面我代码:rnpublic class ServerConClientThread extends Thread rn Socket s;rnrn public ServerConClientThread(Socket s) rn this.s = s;rnrn rnrn public void run() rn rn // TODO Auto-generated method stubrn while (true) rn rn try rn ObjectInputStream ois = new ObjectInputStream(s.getInputStream());rn Message m = (Message) ois.readObject();rn // 打印服务器受到的一方客户端的消息rn System.out.println(m.getSender() + "给" + m.getGetter() + "说"+ m.getContent());rn catch (Exception e) rn // TODO Auto-generated catch blockrn rn e.printStackTrace();rn rnrn rnrn rnrnrn报异常:rnjava.net.SocketException: Connection <em>reset</em>rn at java.net.SocketInputStream.read(SocketInputStream.java:113)rn at java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2266)rn at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2279)rn at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2750)rn at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:780)rn at java.io.ObjectInputStream.(ObjectInputStream.java:280)rn at com.qq.server.model.ServerConClientThread.run(ServerConClientThread.java:26)rnrnrn26行就是 ObjectInputStream ois = new ObjectInputStream(s.getInputStream());rn
Connection reset问题
在日志中有很多这种异常,是什么原因造成的?rnrn2005-12-19 10:36:30 ErrorDispatcherValve[localhost]: Remote Client Aborted Request, IOException: Connection <em>reset</em>rn2005-12-19 10:37:06 StandardWrapperValve[default]: Servlet.service() for servlet default threw exceptionrnClientAbortException: java.net.SocketException: Connection <em>reset</em>rn at org.apache.coyote.tomcat4.OutputBuffer.realWriteBytes(OutputBuffer.java:410)rn at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:436)rn at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:356)rn at org.apache.coyote.tomcat4.OutputBuffer.writeBytes(OutputBuffer.java:438)rn at org.apache.coyote.tomcat4.OutputBuffer.write(OutputBuffer.java:425)rn at org.apache.coyote.tomcat4.CoyoteOutputStream.write(CoyoteOutputStream.java:108)rn at org.apache.catalina.servlets.DefaultServlet.copyRange(DefaultServlet.java:2014)rn at org.apache.catalina.servlets.DefaultServlet.copy(DefaultServlet.java:1763)rn at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:1091)rn at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:518)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)rn at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)rn at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)rn at java.lang.Thread.run(Thread.java:534)rn
java.net.SocketException: Connection reset问题
java.net.SocketException: Connection <em>reset</em>rn at java.net.SocketInputStream.read(SocketInputStream.java:168)rn at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)rn at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)rn at java.io.BufferedInputStream.read(BufferedInputStream.java:317)rn at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:687)rn at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)rn at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:652)rn at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1049)rn一开始用Apache的httpClient包来做的,遇到这个异常,搞不懂怎么回事,就换了原始的url.openConnection()来建立连接,还没几天就又坏了。而且不是偶然,每次都报这个异常了。而且,Connection <em>reset</em>的意思该怎么理解呢?rn搜索这个异常比较多是这么说 的:rna。maybe:rn1,网络编程时未正确捕获java.net.SocketException, 客户端先关闭就会报这个异常;rn2,数据库和应用服务器的网段不同.rnrnb。好像说防火墙的比较多。。。。rn大部分是网络的原因。提交post的东西多,然后服务器接收就超时了。。。 rn后面扯到WebLogic的就不贴了,我这是纯Java 的。rn贴一下我建立连接的这段代码:rn[code=Java]rnWebUtil webUtil = WebUtil.getInstance();rn URL url = webUtil.getUrlByString(searchUrl);rn rn tryrn URLConnection conn = url.openConnection();rn conn.setRequestProperty("accept", "*/*");rn conn.setRequestProperty("<em>connection</em>", "Keep-Alive");rn conn.setRequestProperty("user-agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)");rn conn.setRequestProperty("Referer", Constants.INDEX);rn conn.setDoInput(true);rn conn.setDoOutput(true);rn conn.connect();rn rn BufferedReader reader = new BufferedReader(new InputStreamReader(rn conn.getInputStream(), "GBK"));//这里抛的异常rn while((line = reader.readLine()) != null)rn if(count > START_COUNT)rn html.add(line);rn elsern count++;rn rn rn reader.close();rn catch(Exception e)rn log.error("获取网页代码出错", e);rn return null;rn rn[/code]rn另一方面 的怀疑就是,我访问的目标网站是不是有保护,根据IP的访问量到一定程度就屏蔽我了?但我过段时间再重新运行,又能采到的。rn第一次做这方面的程序,没什么经验,请<em>各位</em>前辈帮忙,指点!非常感谢!
Connection reset 5天了搞不定
[color=#FF0000]Connection <em>reset</em>[/color]rnjsp 报 Error establishing socketrnSQL Server2000版本:800194rn3个jar SqlServer重装多遍 混合模式 sp3 4 都打过 试验过很多JDBC代码实例rn但是Connection <em>reset</em> 依然rn环境:MyEclipse6.6 ,SQL Server2000,tomcat6rn代码实例之一:rnpublic class Dbconn rn public static void main(String[] args) rn String driverName = "com.microsoft.jdbc.sqlserver.SQLServerDriver";rn String dbURL = "jdbc:microsoft:sqlserver://localhost:1433; DatabaseName=pubs";rn String userName = "sa";rn String userPwd = "";rn Connection dbConn;rnrn try rn Class.forName(driverName);rn dbConn = DriverManager.getConnection(dbURL, userName, userPwd);rn System.out.println("Connection Successful!");rn rn catch (Exception e) rn e.printStackTrace();rn rn rn
Connection reset 问题
javax.servlet.ServletException: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Connection <em>reset</em> 我在连接数据库时出现这个<em>错误</em>,哪位高手能说说这是什么意思?rnrn跟这个有什么关系:con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);rnrn在网上没找到答案!!!rnrn
java.sql.SQLEXception:Connection reset
//这个是我写的servlet~~~rnrnpackage com.onelove;rnrnimport javax.servlet.http.*;rnimport java.sql.*;rnimport java.io.*;rnrnpublic class Wel extends HttpServletrn public void doGet(HttpServletRequest req,HttpServletResponse res)rn Connection con = null;rn PreparedStatement ps = null;rn ResultSet rs = null;rn try rn //处理中文乱码rn res.setContentType("text/html; charset=gbk");rn PrintWriter pw = res.getWriter();rn rn //==================分页功能=====================rn int pageSize=3;//每页显示多少条记录rn int pageNow=1;//希望显示第几页rn int pageCount=0;//一共有多少页(计算)rn int rowCount=0;//一共有多少条记录(查表)rn rn //注册数据库驱动rn Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");rn //得到连接rn con = DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost:1434;databaseName=login","sa","sa");rn //创建PreparedStatementrn ps = con.prepareStatement("select count(*) from users");rn rs = ps.executeQuery();rn //得到rowCount的值rn if(rs.next())rn rowCount=rs.getInt(1);rn rn //计算pageCount的值rn if(rowCount%pageSize==0)rn pageCount=rowCount/pageSize;rn elsern pageCount=rowCount/pageSize+1;rn rn //得到Sessionrn HttpSession hs = req.getSession(true);rn hs.setMaxInactiveInterval(20);rn String val = (String)hs.getAttribute("uname");rn if(val==null)rn res.sendRedirect("login");rn rn pw.println("");rn pw.println(" ");rn pw.println("hello,wel 您的用户名:" + val + " ");rn pw.println("返回重新登录 ");rn rn ps = con.prepareStatement("select top "+pageSize+" * from users where userId not in(select top "+(pageNow-1)*pageSize+" userId from users)");rn rs = ps.executeQuery();rn rn pw.println(" ");rn pw.println(" userId userName passwd email grade");rn while(rs.next())rn pw.println(" ");rn pw.println(" "+rs.getInt(1)+"");rn pw.println(" "+rs.getString(2)+"");rn pw.println(" "+rs.getString(3)+"");rn pw.println(" "+rs.getString(4)+"");rn pw.println(" "+rs.getInt(5)+"");rn pw.println("");rn rn pw.println(" ");rn pw.println("上一页");rn for(int i=1; i); rn catch(Exception e)rn e.printStackTrace();rn finallyrn try rn if(rs!=null) rs.close();rn if(ps!=null) ps.close();rn if(con!=null) con.close();rn catch(Exception e)rn e.printStackTrace();rn rn rn rn rn rn public void doPost(HttpServletRequest req,HttpServletResponse res)rn this.doGet(req,res);rn rnrnsqlserver2005的驱动已经放在正确的目录下了,应该不是驱动的问题...rn网上也搜了很多,但没找到解决的方案~求大神rnrn以下是控制台信息java.sql.SQLException:[Microsoft][SQLServer 2000 Driver for JDBC] Connection <em>reset</em>rnat com.microsoft.jdbc.base.BaseExceptions.createExceptionrnat com.microsoft.jdbc.base.BaseExceptions.getExceptionrn.....rnat com.onelove.Wel.doGet 说的是53行出现<em>错误</em>了,编译是通过了的= =!
Connection reset by peer
服务端和客户端都是用idUDPServer;服务端的ThreadEven为Truernrn为何运行一段时间(接收数据一段时间)后,会出现:如下<em>错误</em>rnConnection <em>reset</em> by peer.rnSocket Error # 10054
SocketException Connection reset
问题描述如下:rn目标地址 221.111.10.1 10010rntelnet 目标端口是通的rnSocket连接目标端口 10010 ,已经连接成功。但是发送信息到目标端口,然后读取返回信息的时候提示 SocketException Connection <em>reset</em>。rnrn环境是unix环境。程序在自己电脑windows好运行是正常的。但是部署到unix环境后就出现上述Connection <em>reset</em>。rnunix环境有两层防火墙,做的策略都是一样的。而且我们测试telnet目标端口都是通过的。rn有没有人,能够提供一下思路,告诉一下我应该怎么定位问题。问题出在哪一步。rn坐等高手,提供检查思路。rn
java.net.SocketException: Connection reset by peer
socket客户端总异常,不知道怎么解决
Connection reset by peer?
今天我连接一个服务端rnbttrack.9you.comrn6969rnconnect成功了 但是刚开始接收数据就出现Connection <em>reset</em> by peer<em>错误</em>,接收recv反回-1rn请问这是怎么回事情.rnrnps.服务端是www.9you.com游戏公司的提供下载游戏的 rn
java.net.socketexception connection reset
小弟我用java实现了一个联通SGIP发送,接收短信的程序。rn不过在接收过程中,由于联通发送完deliver命令后要间隔16秒才发送unbind命令,此时作为服务器端的我的程序抛出rnjava.net.socketexception <em>connection</em> <em>reset</em><em>错误</em>!rn因为我在接收数据的时候inputstread.read(bytes[])是一个阻塞函数,如果没有接收到输入流就会阻塞住不动,但是<em>错误</em>的信息应该是socket已经断开。所以让我很奇怪,搞了一周也没有解决这个问题,请大伙帮忙啊!
com.microsoft.sqlserver.jdbc.SQLServerException: Connection reset
public class BindDataDemorn public static void main(String[] args) rn Connection con;rn Statement sql;rn ResultSet rs;rn String url = "com.microsoft.sqlserver.jdbc.SQLServerDriver";rn rn String CONNECTSTR = "jdbc:sqlserver://localhost";rn String user = "ALAN";rn String password = "lijia";rn try rn Class.forName(url);rn catch (ClassNotFoundException e) rn System.out.println("" + e);rn rn try rn con = DriverManager.getConnection(CONNECTSTR, user, password);rn sql = con.createStatement();rn rs = sqlrn .executeQuery("select * from emp");rn while (rs.next()) rn rn System.out.print(rs.getString(1) + " ");rn System.out.print(rs.getString(2) + " ");rn System.out.print(rs.getInt(3) + " ");rn rn System.out.println();rn rn con.close();rn catch (SQLException e1) rn System.out.println("sql语句出错:" + e1);rn rn rnrnrnrnrnrnrnException in thread "main" com.microsoft.sqlserver.jdbc.SQLServerException: Connection <em>reset</em>rn at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(Unknown Source)rn at com.microsoft.sqlserver.jdbc.TDSChannel.read(Unknown Source)rn at com.microsoft.sqlserver.jdbc.SQLServerConnection.Prelogin(Unknown Source)rn at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(Unknown Source)rn at com.microsoft.sqlserver.jdbc.SQLServerConnection.loginWithoutFailover(Unknown Source)rn at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(Unknown Source)rn at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(Unknown Source)rn at java.sql.DriverManager.getConnection(Unknown Source)rn at java.sql.DriverManager.getConnection(Unknown Source)rn at cn.alan.jdbc.Base.test(Base.java:19)rn at cn.alan.jdbc.Base.main(Base.java:12)rnrnrnrn急求 : 什么原因a ?
read0: ioe Connection reset
同样的类,我放到C:\Program Files\Motorola\J2ME SDK v3.1\Emulator7.5\lib和C:\Program Files\Motorola\J2ME SDK v3.1\Emulator7.2\lib里会有一部分出错,我实在没办法了,放在工程文件夹下后出现read0: ioe Connection <em>reset</em><em>错误</em>,这是个什么<em>错误</em>啊
java.io.IOException: Connection reset by peer
java.io.IOException: Connection <em>reset</em> by peerrn at sun.nio.ch.FileDispatcher.read0(Native Method)rn at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:21)rn at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:233)rn at sun.nio.ch.IOUtil.read(IOUtil.java:206)rn at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:207)rn at org.apache.mina.transport.socket.nio.NioProcessor.read(NioProcessor.java:179)rn at org.apache.mina.transport.socket.nio.NioProcessor.read(NioProcessor.java:41)rn at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:585)rn at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:563)rn at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:552)rn at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:56)rn at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:891)rn at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)rn at java.lang.Thread.run(Thread.java:595)rn 请教高手,这个<em>错误</em>是如何引起的,如何解决?不甚感激!
Web Service Connection reset
使用Web Service 与别的公司进行业务合作,在client 端有经常会出现Connection <em>reset</em>的情况 ,据server端公司反应其它合作公司的client端并没有相同的情况。但这种问题并不会持续很久,一般在几个小时后又会自动恢复正常。在网上找了很多资料发现有不少人有相同的情况,就是没有一个解决方案。rnrn异常详情,其中XXX是 本人项目的具体实现rnrnAxisFaultrn faultCode: http://schemas.xmlsoap.org/soap/envelope/Server.userExceptionrn faultSubcode:rn faultString: java.net.SocketException: Connection <em>reset</em>rn faultActor:rn faultNode:rn faultDetail:rn http://xml.apache.org/axis/stackTrace:java.net.SocketException: Connection <em>reset</em>rn at java.net.SocketInputStream.read(SocketInputStream.java:168)rn at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)rn at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)rn at java.io.BufferedInputStream.read(BufferedInputStream.java:317)rn at java.io.FilterInputStream.read(FilterInputStream.java:116)rn at org.apache.xerces.impl.XMLEntityManager$RewindableInputStream.read(Unknown Source)rn at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source)rn at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)rn at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source)rn at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown Source)rn at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)rn at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)rn at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)rn at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)rn at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)rn at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)rn at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)rn at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)rn at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)rn at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)rn at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)rn at org.apache.axis.client.Call.invokeEngine(Call.java:2784)rn at org.apache.axis.client.Call.invoke(Call.java:2767)rn at org.apache.axis.client.Call.invoke(Call.java:2443)rn at org.apache.axis.client.Call.invoke(Call.java:2366)rn at org.apache.axis.client.Call.invoke(Call.java:1812)rn at XXX.XXX.XXX.XXX.XXX(XXX.java:1458)rn at XXX.XXX.XXX.XXX$XXX.XXX(XXX.java:97)rn at XXX.XXX.XXX.XXX$XXX.XXX(XXX.java:100)rn at java.util.TimerThread.mainLoop(Timer.java:512)rn at java.util.TimerThread.run(Timer.java:462)rnrn http://xml.apache.org/axis/hostname:107
DBComms.receive 操作:Connection reset
之前看到别人也遇到这个问题 但都没给出解决的办法 现在把异常贴出来rnrnJDBC begin failedrncom.microsoft.sqlserver.jdbc.SQLServerException: 使用 DBComms.receive 方法期间发生异常。操作:Connection <em>reset</em>。上下文:(51) [Thread[http-8080-1,5,main], IO:6331d, Dbc:5de82]。PktNum:0。TotalReceived:0。PktSize:4,096。rn at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(Unknown Source)rn at com.microsoft.sqlserver.jdbc.DBComms.receive(Unknown Source)rn at com.microsoft.sqlserver.jdbc.DBComms.receive(Unknown Source)rn at com.microsoft.sqlserver.jdbc.SQLServerConnection.doConnectionCommand(Unknown Source)rn at com.microsoft.sqlserver.jdbc.SQLServerConnection$ConnectionCommandRequest.execute(Unknown Source)rn at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeRequest(Unknown Source)rn at com.microsoft.sqlserver.jdbc.SQLServerConnection.<em>connection</em>Command(Unknown Source)rn at com.microsoft.sqlserver.jdbc.SQLServerConnection.setAutoCommit(Unknown Source)rn at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.setAutoCommit(DelegatingConnection.java:331)rn at org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.setAutoCommit(PoolingDataSource.java:317)rn at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:63)rn at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1326)rn at org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:509)rn at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:377)rn at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:263)rn at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:101)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)rn at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)rn at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)rn at $Proxy30.listTop8ForIndex(Unknown Source)rn at com.drm.web.action.index.IndexBulletinBoardAction.index(IndexBulletinBoardAction.java:30)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:441)rn at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:280)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:243)rn at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:122)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:179)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:89)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at org.apache.struts2.interceptor.CookieInterceptor.intercept(CookieInterceptor.java:218)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)rn at org.apache.struts2.components.ActionComponent.executeAction(ActionComponent.java:289)rn at org.apache.struts2.components.ActionComponent.end(ActionComponent.java:172)rn at org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(ComponentTagSupport.java:42)rn at org.apache.jsp.index_jsp._jspx_meth_s_005faction_005f0(index_jsp.java:344)rn at org.apache.jsp.index_jsp._jspService(index_jsp.java:261)rn at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:389)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:102)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)rn at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:856)rn at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)rn at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)rn at java.lang.Thread.run(Thread.java:619)rn[DRM] DEBUG [http-8080-1] ConnectionManager.closeConnection(441) | releasing JDBC <em>connection</em> [ (open
关于JavasocketExcetpion:Connection Reset
块来帮我啊,大哥大姐们。。rn就20分了。分少别见怪啊。rn目前的项目中老出现一种<em>错误</em>,那就是 Connection Reset,,rn不知道该如何解决。rn服务端就是简单的侦听客户端的链接,当有客户端链接,就为客户端起一个线程。然后处理客户端发送过来的数据。rn服务器刚开始运行的一段时间是没问题的,能正常的处理客服端发送的信息,但当服务器运行一段时间(<24Hour)就开始有客户端 链接的时候出现上面那个异常,具体位置就在while ((length = ips.read(bytes, 0, 512))!= -1) 这里;rn不知道这是为什么,文档上说如果不是因为流位于文件末尾而无法读取第一个字节,则抛出 IOException。特别是,如果输入流已关闭,则抛出 IOException。 这里是IOException..可是异常却是socketException。rnread()方法不是阻塞式的吗?没有数据的时候不是一直等待数据的到来吗?rn可是有的客户端刚连上就马上出现下面的异常,,实在搞不明白了,希望有知道的大哥大姐们指教一二。下面给出部分代码。rn但具体输出的<em>错误</em>为:[code=Java]rnjava.net.SokcetException:Connection <em>reset</em>rn at java.net.SokectInputStream.read(SocketInputStream.java:168)rn at com.bjdx.GprsServer.ProSocket.run(ProSocket.java:47)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(TreadPoolExecutor.java:886)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(TreadPoolExecutor.java:908)rn at java.lang.Thread.run(Thread.java:619)rn[/code]rnrnrn[code=Java]rn//run方法rnpublic void run()rnrnrntryrnint length = 0 ;rnbyte[] bytes = new byte[512];rnwhile ((length = ips.read(bytes, 0, 512))!= -1) rnString msg = byte2HexStr(bytes,lengh);//把收到的字节处理成16进制串。rnProMsg(msg);//处理数据。rnrncatch(IOException e)rne.printStackTrace();rnrnrnrn//处理字节的方法rnpublic String byte2HexStr(byte[] bytes,int length)...rn//处理消息的方法rnpublic void ProMsg(String msg)....rn[/code]rnrnrnrn
connection reset异常
<em>各位</em>,小弟目前正开发一个项目,涉及到java后台和前置机(C开发的)间的通讯。rn当数据量不大时(6000B左右)时正常,但当数据超过13000B时,每次java后台接收前置机返回的数据时都抛出<em>connection</em> <em>reset</em>异常(debug时发现为 in.readLine()时异常)。不知真正原因在哪里(下面为java后台相关代码),急盼高人的解答。急,在线等……rn ……rn //建立网络连接rn Socket client;rn tryrn rn client = new Socket(ip, Integer.parseInt(port));rnrn int soTimeOut = Integer.parseInt(timeOut);rnrn if (soTimeOut > 0)rn rn //设置超时毫秒数rn client.setSoTimeout(soTimeOut);rn rnrn BufferedReader in = new BufferedReader(new InputStreamReader(clientrn .getInputStream()));rnrn PrintWriter out = new PrintWriter(client.getOutputStream());rn //增加报头信息 客户现场rn String branch = DataTools.getBranchByIP(ip);rn rn String size = String.valueOf(xmlString.getBytes().length);rn String titleXml = com.neusoft.finance.common.DataTools.leftMendStringLen(size,8,' ');rn String branchXml= com.neusoft.finance.common.DataTools.leftMendStringLen(branch,8,' ');rn rn xmlString = titleXml.concat(branchXml).concat(xmlString);rn log.info("发送的xml:"+xmlString);rn out.println(xmlString);rnrn out.flush();rnrn //前置机返回数据rn returnString = in.readLine(); rn log.info("返回的xml:"+returnString);rn client.close();rn rn catch (NumberFormatException e)rn rn ExcAct.doHandle(e);rn throw new SystemException(e);rn rn catch (UnknownHostException e)rn rn ExcAct.doHandle(e);rn throw new SystemException(e);rn rn catch (IOException e)rn rn ExcAct.doHandle(e);rn throw new SystemException(TradeConstCodeList.CONNECT_TIME_OUT,e,ip);rn rn catch (Exception e)rn ExcAct.doHandle(e);rn throw new SystemException(e);rn rn ……rn
maven Connection reset 问题
![图片说明](https://img-ask.csdn.net/upload/201706/09/1496992250_807232.png)
Connection reset,急求
程序放到服务器上。重启tomcat后。刚开始可以访问。什么都正常。但是过一段时间就出现Connection <em>reset</em>这个异常。<em>各位</em>大虾。告诉小弟这是怎么回事。
connection reset是什么原因?
我写网络程序时,用TCP方式rn主程序监听,监听到后开一个线程进行数据处理rn在读了一次数据后,产生socketexception rn<em>connection</em> <em>reset</em>rn这是什么原因?
求Connection reset解决办法
用URLConnection打开连接用流读取实现抓取网页的程序,偶尔会有网页报出Connection <em>reset</em>,Connection timeout等异常。导致网页抓取失败,求解决办法
idhttp:connection reset by peer !!!
用idhttp下载文件:rn varrn DownLoadFile:TFileStream;rn beginrn idhttp1.Request.ProxyServer:='144.20.80.101';rn idhttp1.Request.ProxyPort:=808;rn DownLoadFile:=TFileStream.Create('f:\aadda.exe',fmCreate);rn IdHTTP1.Get('http://www.datanew.com/products/car/download/zkb1080.exe',DownLoadFile);rn DownLoadFile.Free;rnrnrn第一次下载成功,再试一次总是提示“socket error...<em>connection</em> <em>reset</em> by peer ”,原因是什么?rn如何彻底解决?rnrn 下载完毕后加上 idhttp1.DisconnectSocket;也不行的。
libuv:connection reset by peer
https://blog.csdn.net/smilingleo/article/details/133904rn这个搜到解决不了。rn这个问题网上有过其他类型的解答,不过没作用,有大佬遇到这种问题的不?rn
ora-17002: IOException: connection reset
我的java文件中有如下一段代码,其中dba是处理数据库连接和执行数据库操作的类: rnrndba.setAutoCommit(false);rnsql = "INSERT INTO TEMPTABLE(BLOBFIELD) VALUES(?)";rnrnFile in = new File("c:\temp.xls");rnFileInputStream streamIn = new FileInputStream(in);rnrnPreparedStatement pstmt = dba.prepareStatement(sql);rnpstmt.setBinaryStream(1, streamIn, streamIn.available());rnpstmt.executeUpdate();rnrn执行到最后一句时,报如下的<em>错误</em>:rnIo 异常: Connection <em>reset</em>rnrn请问是怎么回事?急!!!rnrnrn
分析一下java.net.SocketException: Connection reset by peer: Connection reset by peer
使用jakarta-common-net编写了一个ftp客户端上传程序。rnrn运行一段时间后,会抛出上述异常。rn查看API文档后发现是由与setSoTimeout方法引起,该方法实际使用的是java.net.Socket的setSoTimeout,但是我还是不能确定产生异常的确切原因,rnSocketException - if there is an error in the underlying protocol, such as a TCP error.rn请大家帮忙分析一下。谢谢!
读取XML文件时出现异常,Connection reset Nested exception: Connection reset
在程序里执行到这句时rnDocument document = reader.read(new File(fileName));rn出现下面异常,请帮忙,是何故? 非常感谢rnrnorg.dom4j.DocumentException: Connection <em>reset</em> Nested exception: Connection <em>reset</em>rn at org.dom4j.io.SAXReader.read(SAXReader.java:484)rn at org.dom4j.io.SAXReader.read(SAXReader.java:365)rn at app.XMLSample.modifyDocument(XMLSample.java:103)rn at app.XMLSample.main(XMLSample.java:28)rnNested exception: rnjava.net.SocketException: Connection <em>reset</em>rn at java.net.SocketInputStream.read(SocketInputStream.java:168)rn at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)rn at java.io.BufferedInputStream.read(BufferedInputStream.java:235)rn at sun.net.TransferProtocolClient.readServerResponse(TransferProtocolClient.java:49)rn at sun.net.ftp.FtpClient.readReply(FtpClient.java:217)rn at sun.net.ftp.FtpClient.openServer(FtpClient.java:489)rn at sun.net.ftp.FtpClient.openServer(FtpClient.java:475)rn at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:270)rn at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:352)rn at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)rn at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)rn at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)rn at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)rn at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)rn at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)rn at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)rn at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)rn at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)rn at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)rn at org.dom4j.io.SAXReader.read(SAXReader.java:465)rn at org.dom4j.io.SAXReader.read(SAXReader.java:365)rn at app.XMLSample.modifyDocument(XMLSample.java:103)rn at app.XMLSample.main(XMLSample.java:28)rnNested exception: java.net.SocketException: Connection <em>reset</em>rn at java.net.SocketInputStream.read(SocketInputStream.java:168)rn at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)rn at java.io.BufferedInputStream.read(BufferedInputStream.java:235)rn at sun.net.TransferProtocolClient.readServerResponse(TransferProtocolClient.java:49)rn at sun.net.ftp.FtpClient.readReply(FtpClient.java:217)rn at sun.net.ftp.FtpClient.openServer(FtpClient.java:489)rn at sun.net.ftp.FtpClient.openServer(FtpClient.java:475)rn at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:270)rn at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:352)rn at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)rn at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)rn at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)rn at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)rn at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)rn at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)rn at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)rn at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)rn at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)rn at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)rn at org.dom4j.io.SAXReader.read(SAXReader.java:465)rn at org.dom4j.io.SAXReader.read(SAXReader.java:365)rn at app.XMLSample.modifyDocument(XMLSample.java:103)rn at app.XMLSample.main(XMLSample.java:28)
各位,请赐教
1.我想请教一下<em>各位</em>高手,怎么用Recordset对象来初始化DataGrid,而不是用Adodc数据源;rn2.如何使用大容量字段来保存数据。rn多谢了!!!
各位高手赐教!!
早两天,我因为不懂ORACLE,与一份月薪5K的工作失之交臂,很是懊恼.打算现在开始学习ORACLE,希望能亡羊补牢.rn 前天下了一个ORACLE8.1.7,装上之后,却不知下一步我要从何着手(羞愧......),下了几本关于ORACLE的书籍,也没找到头绪.没想到学习ORACLE的开头竟是如此尴尬......rn 请教<em>各位</em>高手,我现在要如何开始学习?(我的情况是这样的:数据库基础还算扎实,SQL SERVER用得相当熟了,做数据库系统开发也有3、4年了)
几个问题请各位赐教
1 borland c++.vc++提供的集成开发环境IDE是什么,我平时就用VC实现C++程序的,他 rn 是 一个软件吗?对于UNIX下的MAKE 又是什么?rn2 rational 和uml工具是干什么用的?ms project 项目开发工具我没见过这样的书呀rn3系统分析工具rose ,visio, sqa,pb,mfc 用来干什么的?rn4window系统下的程序设计就是用vc vb等来设计吧rn我明年大学毕业,想系统学套东西,我该怎么选择,请教,回答的好我给分,不过给分前还的告诉我怎么给分,rn多谢<em>各位</em>rn
各位高手,请赐教
有一个网站,http://www.gzguike.cn,此网站在1024*768的分辨率下打开,左右两侧会出现一空白区域,而在800*600下显示是满屏的,现在我想在1024*768下显示也是满屏的,用什么代码可以实现?
各位专家:请赐教!!!
我装的系统是XP Service Park1 请问有没有必要升级到Service Park2呢rn那有什么好呢rn还有Service Park2 对硬件有没有什么要求呀?rn请给些意见了!rnrn在此感谢!
各位前辈赐教
void DeleteAll(TRAIN **head)rnrn TRAIN *ptemp=*head;rn TRAIN *ptemp2;rn while(ptemp->NextTrain!=NULL)rn rn ptemp2=ptemp;rn free(ptemp2);rn ptemp=ptemp->NextTrain;rn rn free(ptemp);rn *head=NULL;rnrn我是个初学者,以上函数中的free(ptemp2)我有疑惑,既然ptemp2所指向的空间已经释放了,那么怎么还会有ptemp->NextTrain的存在呢???(TRAIN 是已经定义了的结构体,rnstruct train* NextTrain 是其中的一个域)rn请<em>各位</em>前辈<em>赐教</em>,或许我的理解本身就是个<em>错误</em>,请指明,谢谢大家!
各位前辈赐教!!!
小弟我想学习DELPHI,有经验的前辈可以告诉我,应该怎么开始吗?我怕自己会走弯路,谢谢<em>赐教</em>!
各位大侠赐教!!!
我们单位的局域网中,有一台机器是因为种种原因,不能直接和服务器联接,只能通过其他机器做为中转站,通过对等网,与中转站联接再访问服务器,但小弟初为网管,对这种联接的设置还不是很清楚,请各伴<em>赐教</em>!!!
各位仁兄,请赐教!~!~!~
请教<em>各位</em>在哪下载 Weblogic服务器,小弟在线等待!~!~!
各位大虾请赐教
[color=#FF0000][/color]rnrnrnrnrnrn 无标题页rnrnrn rn rn rn rn rnrnrnrnrnE:\WEB ASP.NET\网站_Code\GuestBook\Default.aspx: ASP.NET 运行时<em>错误</em>: 未将对象引用设置到对象的实例。 rnrn刚刚创建的一个空页面,没有任何改动,请问如何修复??? 红色区域为报错位置
各位兄台赐教!!
小弟我想考个认证什么的东西,可是不知道从那个方面考。rn我是想学一点东西。所以愚顿不解请<em>各位</em>兄台不慎<em>赐教</em>。
各位前辈,请赐教
<em>各位</em>前辈你们好!我是一个C的程序员,现在想学手机软件开发,请问要学那些语言和那方面的书籍!小弟不胜感激。还有就是直接学J2ME行吗?
各位赐教
我想判断一下Edit组件内输入是不是数字,怎么判断?比如输入金额,万一输成了字母,这不惨了.请指教
各位高手赐教
我刚刚开始学习Linux,我的机器只目前安装的是Windows XP Professional,我可以直接安装Linux吗?安装前准备工作有哪些?安装过程中有什么注意事项?请给与指教。谢谢!
小问题,请各位赐教!!!!!!
我的计算机中安装了Win2k/Linux两套系统。现在我想在Linux下访问Windows的文件(例如Mp3文件),因该如何设置(操作)。rn我登陆Linux系统后,除了可以在desktop目录下建立文件/目录以外,其他目录下均不能新建文件/目录,这是为什么?rnrn我初学linux,希望<em>各位</em>讲的详细点,谢谢!!!!!!
各位赐教!!!!!!!
先面的代码有什么<em>错误</em>吗?rn(CWinThread*)m_pThread = (CWinThread*)AfxBeginThread(CInspectorView::CommProc,NULL,THREAD_PRIORITY_NORMAL);rnrnUINT CInspectorView::CommProc(LPVOID)rnrn return 0;rnrn为什么编译出现如下提示:rnD:\mycpp\C++\Tools\Inspector_EditV\InspectorVView.cpp(393) : error C2665: 'AfxBeginThread' : none of the 2 overloads can convert parameter 1 from type 'unsigned int (void *)'rn请<em>各位</em><em>赐教</em>!rn
各位高人,请赐教!
1、在NETWARE 服务器上,可使用NETWARE的(  )命令禁止用户登陆。2、在NETWARE工作站上,可使用NETWARE 的(  )(DOS版本)或(  )(DOS版本)或(WINDOWS版本)实用程序创建用户组和用户。33、WINDOWS NT SERVER操作系统是以“域”为单位实现对网络资源的集中管理,当主域控制器失效时,(   )将会主动升级为主域控制器。 一台交换机和一台服
各位前辈赐教
我是一个新手,有几个问题请<em>各位</em>前辈<em>赐教</em>:rnrn 1、B/S结构程序相对于C/S结构优越性很多,但是asp.net所有代码放在服务器端,是否意味着所有代码必需在服务器端执行?rn 2、如果所有代码必需在服务器端执行,服务器负荷是否相对于C/S机构服务器负荷较大?如此是否会严重影响程序性能或执行效率?rn 谢谢!
各位赐教~~
自定义了个控件UserControl 想在其中自定义个事件 不知道怎么弄 UserControl里面是ButtonEditor 就是一个可编辑区加一个button 放在UserControl后 该自定义整控件 不存在其中子控件的button的Onclick事件 所以想在Usercontrol中自定义个 执行效果和子控件中的button的Onclick一样 不知道怎么弄 请<em>各位</em>高手<em>赐教</em>rn应该是用事件和委托 虽然知道其概念 但是对这两者的应用很是模糊 摸不着思路rn希望能得到个例子学习
各位大虾赐教
小弟初学asp.net,在一本教程上看到如下代码rn拜师不得其解rnenpCmd是SqlCommand类型rnSqlParameter empReader=empCmd.Parameters.Add("@EmpID",SqlDbType,Nchar,5);rnempReader.Value=5;rn我想问的是empCmd.Parameters.Add("@EmpID",SqlDbType,Nchar,5)是不是有返回值?rnempReader.Value=5;又是什么意思?rn
各位高手赐教!!!
还处在Java初级阶段,编的小程序在编译时报错找不到相应的构造方法。向<em>各位</em>高手<em>赐教</em>了~*_*~rnGraphicObject.javarnpackage mypackage;rnimport java.awt.*;rnpublic abstract class GraphicObjectrn rn protected int x,y,width,height;rn // GraphicObject() System.out.println("This is my job");rn abstract void draw(Graphics g);rn rn rnrnMyDraw.javarnimport mypackage.*;rnimport java.awt.*;rninterface Ovalrn rn int x=10,y=10;rn int width=5,height=5;rn void draw2(Graphics g);rn rn rnclass Range extends GraphicObjectrn rn int x1,y1,width1,height1;rn Range()rn rn x1=0;rn y1=0;rn width1=0;rn height1=0;rn rn public void moveTo(int newX,int newY)rn rn x1=newX;rn y1=newY;rn rn public void setSize(int sizeW,int sizeH)rn rn width1=sizeW;rn height1=sizeH;rn rn void draw(Graphics g)rn rn g.drawRect(x1,y1,width1,height1);rn rn rn rnclass MyClass2 implements Ovalrn rn public void draw2(Graphics g)rn rn g.drawOval(x,y,width,height);rn rn rn rnpublic class MyDrawrn rn public static void main(String[] args)rn rn Graphics g1,g2;rn Range mydraw1=new Range();rn mydraw1.moveTo(20,20);rn mydraw1.setSize(20,20);rn rn MyClass2 mydraw2=new MyClass2();rn mydraw1.draw(g1);rn mydraw2.draw2(g2);rn rn rn rn编译<em>错误</em>:MyDraw.java:14: cannot resolve symbolrnsymbol : constructor GraphicObject ()rnlocation: class GraphicObjectrn rn ^rn1 error
程序员常用的javascript特效下载
包含特效实例,可以看是否是自己想要的效果,可直接复制代码进行参考。 相关下载链接:[url=//download.csdn.net/download/haojuntu/3015775?utm_source=bbsseo]//download.csdn.net/download/haojuntu/3015775?utm_source=bbsseo[/url]
realthinclient+ADO实现三层架构的Demo下载
realthinclient+ADO实现三层架构的Demo 相关下载链接:[url=//download.csdn.net/download/snxogahyangjiwu/3987649?utm_source=bbsseo]//download.csdn.net/download/snxogahyangjiwu/3987649?utm_source=bbsseo[/url]
OLE自动化技术在GIS集成二次开发中的应用下载
OLE自动化技术在GIS集成二次开发中的应用 相关下载链接:[url=//download.csdn.net/download/ldj2003/4336356?utm_source=bbsseo]//download.csdn.net/download/ldj2003/4336356?utm_source=bbsseo[/url]
相关热词 c# gdi 占用内存 c#中遍历字典 c#控制台模拟dos c# 斜率 最小二乘法 c#进程延迟 c# mysql完整项目 c# grid 总行数 c# web浏览器插件 c# xml 生成xsd c# 操作sql视图
我们是很有底线的