Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can I resolve this Exception ?

 
rake cart
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can see the right information in browser, but this exception appears in console.After I came true the pagination function by query.setFirstResult() and query.setMaxResult() .
In .jsp I use getURLUsePrototype()
Jboss3.2.7 struts hibernate oracle

16:16:24,140 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from class

path resource [vote-ejb-client.xml]
16:19:36,265 ERROR [Engine] org.apache.catalina.core.StandardHostValve@174098f:

Exception Processing ErrorPage[errorCode=404, location=/error/c404.jsp]
ClientAbortException: java.net.SocketException: Connection reset by peer: socket write

error
at org.apache.coyote.tomcat5.OutputBuffer.doFlush(OutputBuffer.java:332)
at org.apache.coyote.tomcat5.OutputBuffer.flush(OutputBuffer.java:298)
at org.apache.coyote.tomcat5.CoyoteResponse.flushBuffer

(CoyoteResponse.java:538)
at org.apache.coyote.tomcat5.CoyoteResponseFacade.flushBuffer

(CoyoteResponseFacade.java:239)
at org.apache.catalina.core.StandardHostValve.status

(StandardHostValve.java:303)
at org.apache.catalina.core.StandardHostValve.invoke

(StandardHostValve.java:147)
at org.apache.catalina.core.StandardValveContext.invokeNext

(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke

(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext

(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke

(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke

(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext

(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke

(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process

(Http11Processor.java:799)
at

org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection

(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt

(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run

(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13064
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Exception Processing ErrorPage[errorCode=404, location=/error/c404.jsp]
ClientAbortException: java.net.SocketException: Connection reset by peer: socket write


That simply says that the client side closed the connection before all of the response output could be written.

Bill
 
rake cart
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I didn't press the stop of browser,should I change some place in my system?
 
rake cart
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use form instead of getURLUsePrototype() ,then this Exception disappeared.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic