jQuery in Action, 3rd edition
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
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

a servlet running error and how to get rid of it

david hu
Ranch Hand

Joined: Jul 20, 2001
Posts: 143
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?
------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
at javax.servlet.ServletInputStream.readLine(ServletInputStream.java:100
at com.sun.web.server.ServletInputStreamImpl.readLine(ServletInputStream
at com.sun.web.server.ServerRequest.readNextRequest(ServerRequest.java:5
at com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:68)
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13018
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.
author of:
I agree. Here's the link: http://aspose.com/file-tools
subject: a servlet running error and how to get rid of it
It's not a secret anymore!