• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How can I resolve this Exception ?

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I use form instead of getURLUsePrototype() ,then this Exception disappeared.
 
I found a beautiful pie. And a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic