Current Position:Home > Socket Timeout when reading from post stream

Socket Timeout when reading from post stream

Update:10-11Source: network consolidation
Advertisement
I get the following error when a servlet tries to read an object from the post stream.
Is there a way to set any timeout values on, say a socket, or static variable on
any weblogic SocketImpl..?
Appreciate any help.
Thanks-
Rama
java.io.InterruptedIOException: Read timed out
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:86)
at weblogic.servlet.internal.PostInputStream.read(PostInputStream.java:124)
at weblogic.servlet.internal.ServletInputStreamImpl.read(ServletInputStreamImpl.java:97)
at java.io.ObjectInputStream.read(ObjectInputStream.java:1835)

The Best Answer

Advertisement
Was successful in setting the duration parameter in the HTTP tab of the server.
However, when accessing the app (servlet) via iPlanet proxy, it still fails. I have
to check on similar settings on that side.
Do you have hints for me ?
Thanks for your posting, Dave.
Rama
"Dave Martin" <[email protected]> wrote:
>
Rama:
Try changing the Post Timeout Secs option under the HTTP tab for your server
in the
WebLogic Admin console. You could bump out the Duration on the HTTP connection
while
you're at it. Not sure if these will have a side effect on what you want
to change,
but worth a shot.
"Rama Raghavan" <[email protected]> wrote:
I get the following error when a servlet tries to read an object from the
post stream.
Is there a way to set any timeout values on, say a socket, or static variable
on
any weblogic SocketImpl..?
Appreciate any help.
Thanks-
Rama
java.io.InterruptedIOException: Read timed out
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:86)
at weblogic.servlet.internal.PostInputStream.read(PostInputStream.java:124)
at weblogic.servlet.internal.ServletInputStreamImpl.read(ServletInputStreamImpl.java:97)
at java.io.ObjectInputStream.read(ObjectInputStream.java:1835)
  • Socket Timeout when reading from post stream Update:10-11

    I get the following error when a servlet tries to read an object from the post stream. Is there a way to set any timeout values on, say a socket, or static variable on any weblogic SocketImpl..? Appreciate any help. Thanks- Rama java.io.InterruptedIO

  • Invoking web service from OBIEE11g failed socket timeout Update:10-11

    Hi, I encountered an error when I invoke web service from OBIEE 11g. The web serivce resides on Websphere running on other machine. An error says that "Invoking web service failed due to socket timeout." and it seems that it stopped in just 40 s

  • Help with flex4unit ant build.xml: Socket timeout waiting for flexunit report Update:10-11

    I'm having trouble setting up ant to build and test my project locally and I'm not sure what the next step is. Info: Running on XP/Cygwin. All of the files that FlexUnit4 references when used in Flash Builder are in my '${basename}/libs' folder (eg F

  • Socket timeouts while downloading huge amount of mails.................. Update:10-11

    Problem Statement: I have created a utility(using JavaMail API) which downloads mails from the Exchange Server 2003(MS Windows server 2003) using IMAP service. The utility uses 5 different threads(each creating it's own separate IMAP session) to down