File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Sockets and Internet Protocols and the fly likes iText Acro Form SocketException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "iText Acro Form SocketException" Watch "iText Acro Form SocketException" New topic

iText Acro Form SocketException

Jelle Victoor

Joined: Feb 13, 2009
Posts: 5
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

Joined: Feb 13, 2009
Posts: 5
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.
I agree. Here's the link:
subject: iText Acro Form SocketException
It's not a secret anymore!