Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Apache/Tomcat error:JVM_recv in socket input stream read

 
Gail Schlentz
Ranch Hand
Posts: 634
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
'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?
 
Gail Schlentz
Ranch Hand
Posts: 634
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There was a bug report on nagoya.apache.org about a web connector that would throw this error, crash, and it required a restart of apache and tomcat to get going again.

Can you try to upgrade to a more recent version?

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3509
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic