connection-reset

How to return a List<object> in WCF

╄→尐↘猪︶ㄣ 提交于 2019-11-28 06:48:09
问题 I have my WCF service returning data both in XML and JSON format. One functios has to return a List, because I don't know which class will be used to fill this list. So, I have my class: public class WrapHome { public WrapHome() { } private string p_TITOLO { get; set; } public string TITOLO { get { return p_TITOLO.ToString(); } set { p_TITOLO = value; } } private List<object> p_CHART { get; set; } public List<object> CHART { get { return p_CHART; } set { p_CHART = value; } } } and my WCF

ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error [duplicate]

戏子无情 提交于 2019-11-27 14:01:38
This question already has an answer here: java.net.SocketException: Connection reset 9 answers I am getting the following error frequently while retrieving file object from database column. How can I resolve this problem? May 8, 2009 3:18:14 PM org.apache.catalina.core.StandardHostValve status WARNING: Exception Processing ErrorPage[errorCode=404, location=/error.jsp] ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:327) at org.apache.catalina.connector.OutputBuffer.flush

SQLRecoverableException: I/O Exception: Connection reset

断了今生、忘了曾经 提交于 2019-11-27 10:36:10
问题 Yesterday evening I left the office with a running Java program written by me. It should insert a lot of records into our company database (Oracle) using a JDBC connection. This morning when I came back to work I saw this error (caught by a try-catch): java.sql.SQLRecoverableException: I/O Exception: Connection reset The program wrote almost all records before getting this problem, but what if it happens early (just minutes after I leave the office at evening)? I cannot understand what

RegExp in preg_match function returning browser error

不羁岁月 提交于 2019-11-26 20:14:20
The following function breaks with the regexp I've provided in the $pattern variable. If I change the regexp I'm fine, so I think that's the problem. I'm not seeing the problem, though, and I'm not receiving a standard PHP error even though they're turned on. function parseAPIResults($results){ //Takes results from getAPIResults, returns array. $pattern = '/\[(.|\n)+\]/'; $resultsArray = preg_match($pattern, $results, $matches); } Firefox 6: The connection was reset Chrome 14: Error 101 (net::ERR_CONNECTION_RESET): The connection was reset. IE 8: Internet Explorer cannot display the webpage

ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error [duplicate]

醉酒当歌 提交于 2019-11-26 18:21:22
问题 This question already has answers here : java.net.SocketException: Connection reset (9 answers) Closed 3 years ago . I am getting the following error frequently while retrieving file object from database column. How can I resolve this problem? May 8, 2009 3:18:14 PM org.apache.catalina.core.StandardHostValve status WARNING: Exception Processing ErrorPage[errorCode=404, location=/error.jsp] ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error at org

RegExp in preg_match function returning browser error

天大地大妈咪最大 提交于 2019-11-26 07:32:22
问题 The following function breaks with the regexp I\'ve provided in the $pattern variable. If I change the regexp I\'m fine, so I think that\'s the problem. I\'m not seeing the problem, though, and I\'m not receiving a standard PHP error even though they\'re turned on. function parseAPIResults($results){ //Takes results from getAPIResults, returns array. $pattern = \'/\\[(.|\\n)+\\]/\'; $resultsArray = preg_match($pattern, $results, $matches); } Firefox 6: The connection was reset Chrome 14:

What&#39;s causing my java.net.SocketException: Connection reset? [duplicate]

丶灬走出姿态 提交于 2019-11-25 22:59:21
问题 This question already has answers here : java.net.SocketException: Connection reset (9 answers) Closed 5 months ago . We are seeing frequent but intermittent java.net.SocketException: Connection reset errors in our logs. We are unsure as to where the Connection reset error is actually coming from, and how to go about debugging. The issue appears to be unrelated to the messages we are attempting to send. Note that the message is not connection reset by peer . Any suggestions on what the