wood burning stoves 2.0*
The moose likes JSP and the fly likes How can I resolve this Exception ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "How can I resolve this Exception ?" Watch "How can I resolve this Exception ?" New topic
Author

How can I resolve this Exception ?

rake cart
Greenhorn

Joined: Dec 09, 2007
Posts: 3
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

Joined: Mar 22, 2000
Posts: 12835
    
    5
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

Joined: Dec 09, 2007
Posts: 3
I didn't press the stop of browser,should I change some place in my system?
rake cart
Greenhorn

Joined: Dec 09, 2007
Posts: 3
I use form instead of getURLUsePrototype() ,then this Exception disappeared.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can I resolve this Exception ?