Thanks for replying back,
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 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
----------------------------------------------------------
tHE eXCEPTION ON THE CONSOLE :
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
weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:23
7)
at com.netnames.rp.resutil.SendHttpPost.post(SendHttpPost.java:75)
at
com.netnames.rp.resdaemon.ServerConnector.sendHttpRequest(ServerConnector.ja
va:207)
at
com.netnames.rp.resdaemon.ServerConnector.interactServer(ServerConnector.jav
a:143)
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.RPResponseFrom
usually u get this problem when the maximum number of processes have been extended....i mean to say abt the Database.....
Thanks Once again for replying.
Kindly let me know about it .
Regards,
John