hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohammad wrk <mohammad...@yahoo.com>
Subject Re: Connection reset
Date Mon, 19 Mar 2007 23:55:23 GMT

Hi Roland,

Thanks for the clarification. The exception occurs at line 
httpClient.executeMethod(postMethod);

and below is the stack trace. As I said it's hard to find the pattern to reproduce the error!
I will increase the number of servlet instances on the server to see how it goes.


java.net.SocketException:.net.SocketInputStream.read(Unknown) .io.BufferedInputStream.fill(Unknown)
.io.BufferedInputStream.read(Unknown) .apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77)
.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105) .apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1110)
.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1832) .apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1592)
.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:995) .apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:393)
.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:168) .apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
 .smgtec.framework.remote.RMIProxyHttpClient$InvocationHandlerImpl.invoke(RMIProxyHttpClient.java:237)
$Proxy7.provideSaveRuleCategories(Unknown) .reflect.NativeMethodAccessorImpl.invoke0(Native)
.reflect.NativeMethodAccessorImpl.invoke(Unknown) .reflect.DelegatingMethodAccessorImpl.invoke(Unknown)
.lang.reflect.Method.invoke(Unknown) .borland.dx.ejb.SessionBeanConnection.provideDataSets(Unknown)
.borland.dx.ejb.SessionBeanProvider.provideData(Unknown) .borland.dx.dataset.StorageDataSet.refresh(Unknown)
.smgtec.framework.dx.dataset.RemoteMethod.invokeMethod(RemoteMethod.java:64) .smgtec.ruletextinstruction.client.dm.RuleTextInstructionClientDM.saveChanges(RuleTextInstructionClientDM.java:679)
.smgtec.framework.appclient.kit.OKCancelSaveBar.save(OKCancelSaveBar.java:341) .smgtec.framework.appclient.kit.OKCancelSaveBar.access$300(OKCancelSaveBar.java:61)
.smgtec.framework.appclient.kit.OKCancelSaveBar$3.actionPerformed(OKCancelSaveBar.java:442)
 .smgtec.framework.appclient.kit.OKCancelSaveBar.saveButton_actionPerformed(OKCancelSaveBar.java:630)
.smgtec.framework.appclient.kit.OKCancelSaveBar$7.actionPerformed(OKCancelSaveBar.java:591)
.swing.AbstractButton.fireActionPerformed(Unknown) .swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown)
.swing.DefaultButtonModel.fireActionPerformed(Unknown) .swing.DefaultButtonModel.setPressed(Unknown)
.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown) .awt.Component.processMouseEvent(Unknown)
.awt.Component.processEvent(Unknown) .awt.Container.processEvent(Unknown) .awt.Component.dispatchEventImpl(Unknown)
.awt.Container.dispatchEventImpl(Unknown) .awt.Component.dispatchEvent(Unknown) .awt.LightweightDispatcher.retargetMouseEvent(Unknown)
.awt.LightweightDispatcher.processMouseEvent(Unknown) .awt.LightweightDispatcher.dispatchEvent(Unknown)
.awt.Container.dispatchEventImpl(Unknown) .awt.Window.dispatchEventImpl(Unknown)
 .awt.Component.dispatchEvent(Unknown) .awt.EventQueue.dispatchEvent(Unknown) .awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown)
.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown) .awt.EventDispatchThread.pumpEvents(Unknown)
.awt.EventDispatchThread.pumpEvents(Unknown) .awt.EventDispatchThread.run(Unknown)


Thanks,

Mohammad

----- Original Message ----
From: Roland Weber <http-async@dubioso.net>
To: HttpClient User Discussion <httpclient-user@jakarta.apache.org>
Sent: Monday, March 19, 2007 10:55:14 AM
Subject: Re: Connection reset

Hello Mohammad,

this is a text-only mailing list, so your color highlighting
got lost in transit. Anyway, Connection Reset indicates that
someone - most likely the server - closed the connection. This
may happen due to high load, or because the server doesn't
like the request. But if a retry succeeds, it is more likely
a temporary problem such as server load or network congestion.

hope that helps,
  Roland


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org







__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message