Announcement Announcement Module
Collapse
No announcement yet.
java.net.SocketException: Software caused connection abort: socket write error Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • java.net.SocketException: Software caused connection abort: socket write error

    Hi,

    I am extending 'AbstractExcelView' to export my report to Excel. When I click on the export link in UI, I am getting the dialogue box to save/open the exel. But I am getting 'java.net.SocketException: Software caused connection abort: socket write error' exception in the console. In my ExcelView class I have a private method which will have the common functionality for two excel sheets. One contains sigle object and the second one contains List of objects.

    If I click on the single object link, it is displaying the correct data. but, for the list of objects - if I click for the first time, it is displaying the single object data and from the second time onwards, it is displaying correctly.

    I m not getting why it is behaving like this.

    Below is the stacktrace of the Exception.

    java.net.SocketException: Software caused connection abort: socket write error
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(SocketOutp utStream.java:92)
    at java.net.SocketOutputStream.write(SocketOutputStre am.java:136)
    at weblogic.servlet.internal.ChunkOutput.writeChunkTr ansfer(ChunkOutput.java:507)
    at weblogic.servlet.internal.ChunkOutput.writeChunks( ChunkOutput.java:486)
    at weblogic.servlet.internal.ChunkOutput.flush(ChunkO utput.java:382)
    at weblogic.servlet.internal.ChunkOutputWrapper.flush (ChunkOutputWrapper.java:174)
    at weblogic.servlet.internal.ServletOutputStreamImpl. flush(ServletOutputStreamImpl.java:111)
    at org.springframework.web.servlet.view.document.Abst ractExcelView.renderMergedOutputModel(AbstractExce lView.java:154)
    at org.springframework.web.servlet.view.AbstractView. render(AbstractView.java:257)
    at org.springframework.web.servlet.DispatcherServlet. render(DispatcherServlet.java:1183)
    at org.springframework.web.servlet.DispatcherServlet. doDispatch(DispatcherServlet.java:902)
    at org.springframework.web.servlet.DispatcherServlet. doService(DispatcherServlet.java:807)
    at org.springframework.web.servlet.FrameworkServlet.p rocessRequest(FrameworkServlet.java:571)
    at org.springframework.web.servlet.FrameworkServlet.d oGet(FrameworkServlet.java:501)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:820)
    at weblogic.servlet.internal.StubSecurityHelper$Servl etServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invok eServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute( ServletStubImpl.java:292)
    at weblogic.servlet.internal.ServletStubImpl.execute( ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$Ser vletInvocationAction.run(WebAppServletContext.java :3594)
    at weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Se curityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.sec uredExecute(WebAppServletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.exe cute(WebAppServletContext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(S ervletRequestImpl.java:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread. java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java :173)
Working...
X