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

OutputStream encountered error during write

 
naga eswar
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi we are generating PDF file using FOP ad using the websphere 6.1

the generated PDF is in for byte bsPDF[]

Later setting in DVO as oNonHTMLDVO.setPdf(bsPDF);

Below is the code to open file,





I am geting below exception at line outStream.write(readBytes) .... cany body help me please

com.ibm.wsspi.webcontainer.ClosedConnectionException: OutputStream encountered error during write

 
Paul Clapham
Sheriff
Posts: 21126
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Probably the user cancelled the request (by clicking on the "Stop" button or navigating to another page or closing the browser or something like that). This is normal behaviour.
 
naga eswar
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply paul


Paul Clapham wrote:Probably the user cancelled the request (by clicking on the "Stop" button or navigating to another page or closing the browser or something like that). This is normal behaviour.


But here user means who. can you elaborate regarding this.
If it is normal behaviour. How can I resolve this. this problem i am facing from 5 days.... can you help me please...
 
naga eswar
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Excellent paul.... I observe that at the client side that we are closing the window usinf win close.
Now I am not facing that exception.

But still the file is not opening. Can any body help me please.....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic