I have an app running with Apache & Jakarta-Tomcat on one machine, and on a different server, I have a perl script sending a text file to the first machine at regular intervals. After running "a while" (sometimes a day, sometimes several), the server simply stops responding. There are no exceptions in the Apache or Tomcat Dos windows, but I get the following message in Tomcat's Apache_Log. Haven't had any luck finding the error on the Apache site, or anywhere else. 2002-04-30 19:40:46 [org.apache.catalina.connector.warp.WarpConnection] Exception on socket java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read at java.net.SocketInputStream.socketRead(NativeMethod) at java.net.SocketInputStream.read(SocketInputStream.java:86) . . . Does anyone have any ideas? I'm pretty new to webapps , in fact this is my first one, so any help is greatly appreciated!! Thanks!! *Gail
'the server stops responding'... Apache web server? Tomcat? the one running your perl script?
Also.. does the perl script send a file simply across FTP, or is it sending a file to your webapplication over HTTP?
I searched the Tomcat bug database. Very few entries on this error, it seems pretty "low level". Google searching came up with the general idea that someone is closing a socket that another process then attempts to read from.
When the server stops responding (assuming you mean Apache/Tomcat) does the whole thing go down? ie: you need to restart apache/tomcat to get it to start responding again? Or is it just that single webapp?
Joined: May 07, 2001
Not too clear, was I!? Ok - the server running the perl scripts is just fine. It just keeps trying to send, regardless if it's successful or not. It uses HTTP. The problem is with Apache &/or Tomcat - I'm not sure how to tell which one has the problem. When it stops responding, it requires a restart of both Apache & Tomcat, then everything behaves again. Hope that was more clear. Do you have any ideas? Many Thanks, *Gail