aspose file tools*
The moose likes Servlets and the fly likes a servlet running error and how to get rid of it Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "a servlet running error and how to get rid of it" Watch "a servlet running error and how to get rid of it" New topic
Author

a servlet running error and how to get rid of it

david hu
Ranch Hand

Joined: Jul 20, 2001
Posts: 143
Hi,
When I use jsdk2.1 httpserver by using the command startserver to start my servlet server, if I click the refresh button on the browse frequently and quickly (that will cause my servlet doget method run again and again very quickly), there's following error.But my servlet can still function well, I mean if I click button or hyperlincks in the html pages to run another funtion of my servlet, it could also respond me by generating other html pages well. But why there's the following errors? If there a way to get rid of it from the server side command window?
Thanx!
------error on my computer
com.sun.web.core.DefaultServlet: init
HANDLER THREAD PROBLEM: java.net.SocketException: Connection reset by peer: JVM_
recv in socket input stream read
java.net.SocketException: Connection reset by peer: JVM_recv in socket input str
eam read
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:86)
at java.net.SocketInputStream.read(SocketInputStream.java:102)
at com.sun.web.server.ServletInputStreamImpl.read(ServletInputStreamImpl
.java:60)
at javax.servlet.ServletInputStream.readLine(ServletInputStream.java:100
)
at com.sun.web.server.ServletInputStreamImpl.readLine(ServletInputStream
Impl.java:94)
at com.sun.web.server.ServerRequest.readNextRequest(ServerRequest.java:5
6)
at com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:68)
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12682
    
    5
That is not a serious error, it has nothing to do with your code, don't worry about it.
Why are you using JSDK?? it is years out of date with the current servlet/JSP APIs and is no longer supported by Sun as far as I know.
Bill
------------------
author of:


Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: a servlet running error and how to get rid of it
 
Similar Threads
socket not accepting data 2nd time
what does this Exception mean???thanx!@!!!
SocketException
Apache/Tomcat error:JVM_recv in socket input stream read
Read time out error