- From: Lijoy John <Lijoy.John@NetBenefit.com>
- Date: Mon, 15 Oct 2001 10:11:16 -0400 (EDT)
- To: "'www-jigsaw@w3.org'" <www-jigsaw@w3.org>
Hi , It would be very kind of you to help me , how I could resolve this problem I am facing now . This is very urgent for me , so it would be really kind of anyone to let me know how to resolve this problem. The problem is i am running a Daemon which picks up about 4 ids' from the database and then proceses the Http request. I get this error exactly at the tihird time when the daemon picks up the same ids. First and second time it works fine , but third time it Gives java.io.BrokenPipe eXception.. The URL to which the connection is been established is a Servlet . ************************* The code where the exception comes up is : uc.setDoInput(true); uc.setDoOutput(true); uc.setUseCaches(false); uc.setRequestProperty("Content-type", "application/x-www-form-urlencoded"); uc.setRequestProperty("Content-length",""+data.length()); DataOutputStream dos=new DataOutputStream(uc.getOutputStream()); dos.writeBytes(data); dos.flush(); dos.close();//// THIS IS WHERE THE CODE BREAKS & EXCEPTION COMES //tHIS IS LINE NUMBER 75 ********************* Many Thanks, In logDebug() ::After dos.writeBytes() Mon Oct 15 12:16:48 GMT+00:00 2001 java.io.IOException: Broken pipe at java.net.SocketOutputStream.socketWrite(Native Method) at java.net.SocketOutputStream.write(SocketOutputStream.java:83) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:72) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:130) at java.io.FilterOutputStream.flush(FilterOutputStream.java:123) at weblogic.net.http.ContentLengthOutputStream.close(ContentLengthOutputStream. java:56) at java.io.FilterOutputStream.close(FilterOutputStream.java:143) at com.netnames.rp.resutil.SendHttpPost.DataPost(SendHttpPost.java:73) at com.netnames.rp.resdaemon.ServerConnector.sendHttpRequest(ServerConnector.ja va:209) at com.netnames.rp.resdaemon.ServerConnector.interactServer(ServerConnector.jav a:145) at com.netnames.rp.resdaemon.RPResponseFromRegistryImpl.interpretStatus(RPRespo nseFromRegistryImpl.java:284) at com.netnames.rp.resdaemon.RPResponseFromRegistryImpl.doPoll(RPResponseFromRe gistryImpl.java:159) at com.netnames.rp.resdaemon.RPResponseFromRegistryImpl.run(RPResponseFromRegis tryImpl.java:105) at java.lang.Thread.run(Thread.java:475) In logStaticInfo() ::Reusing RPSendToRegistryDB Many Thanks Regards, John
Received on Monday, 15 October 2001 10:23:41 UTC