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
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply 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: 12271
    
    1
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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: a servlet running error and how to get rid of it
 
Similar Threads
Read time out error
SocketException
Apache/Tomcat error:JVM_recv in socket input stream read
what does this Exception mean???thanx!@!!!
socket not accepting data 2nd time