I am getting deadlocks when multiple users are using iText to generate pdf
documents on the web. I am using the g2D method to generate the pdf, and
noticed the following using:
g2D.drawImage(Layout.IMAGE_FALSE, x, y, this);
Log shows the following error:
"http-build.xxxxxxx.org%2F-80-138" daemon prio=10 tid=0x69065400 nid=0x6c34
in Object.wait() [0x661f9000..0x661fa030]
   3708    java.lang.Thread.State: WAITING (on object monitor)
   3709         at java.lang.Object.wait(Native Method)
   3710         - waiting on <0xa8a7bab8> (a java.awt.image.PixelGrabber)
   3711         at
java.awt.image.PixelGrabber.grabPixels(PixelGrabber.java:254)
   3712         - locked <0xa8a7bab8> (a java.awt.image.PixelGrabber)
   3713         at
java.awt.image.PixelGrabber.grabPixels(PixelGrabber.java:209)
   3714         at com.lowagie.text.Image.getInstance(Unknown Source)
   3715         at com.lowagie.text.Image.getInstance(Unknown Source)
   3716         at com.lowagie.text.pdf.PdfGraphics2D.drawImage(Unknown
Source)
   3717         at com.lowagie.text.pdf.PdfGraphics2D.drawImage(Unknown
Source)
   3718         at com.lowagie.text.pdf.PdfGraphics2D.drawImage(Unknown
Source)
   3719         at com.lowagie.text.pdf.PdfGraphics2D.drawImage(Unknown
Source)


-- 
View this message in context: 
http://www.nabble.com/Concurrency-issue-generating-pdf-using-iText-tp21861843p21861843.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to