• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

a servlet running error and how to get rid of it

 
david hu
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic