Strange SocketTimeoutException

S

sven abels

Hi everybody,
I got a strange SocketTimedoutException with a JSP-Application I wrote.

This application wants to grep some contentes from a server and throws an
exception:
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.net.SocketInputStream.read(SocketInputStream.java:182)
[...]


The sourcecode works with other addresses so I tought it might be a problem
with the http-address but this address can be reached when using wget or
lynx
on the same server.
Furthermore, the Webapplication works fine with the address on my own
machine
and the code itself worked some days before even on this server (I just
changed a
completely different file) .
I already restarted my servlet-container for a couple of times, but that
didn't change
thing.


Can someone give me a tip?



thanks,

Sven
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,262
Messages
2,571,049
Members
48,769
Latest member
Clifft

Latest Threads

Top