Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

iText Acro Form SocketException

 
Jelle Victoor
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm generating an pdf from a servlet. So when you go to the url, i generate the pdf.
When I close my pdfstamper, i get this stacktrace:


The code i'm excecuting is not that special, so I'm going to show you the basics.










I know it is allot of code but it comse from the multiple tiers in the application, i hope it is clear. We are using tomcat to run the application.
 
Jelle Victoor
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This was a very stupid mistake. I had set the response.setstatus and my code continued. It did not matter where i go the error, i would get it every time because the set status was causing the abort.

sorry for this post.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic