Title: Problem with Tomcat as Service closing a Document

Hi,

I use iText to create pdf-documents on a webserver (Tomcat 5 with Axis on WinXP). If I run the Tomcat as application everything is working fine. But I have to run the Tomcat as a service and I become the following stack by closing the document:

java.lang.IllegalAccessError: tried to access method java.lang.Object.clone()Ljava/lang/Object; from class com.lowagie.text.pdf.PdfString

at com.lowagie.text.pdf.PdfString.toPdf(PdfString.java:145)
at com.lowagie.text.pdf.PdfDictionary.toPdf(PdfDictionary.java:149)
at com.lowagie.text.pdf.PdfIndirectObject.writeTo(PdfIndirectObject.java:164)
at com.lowagie.text.pdf.PdfWriter$PdfBody.add(PdfWriter.java:200)
at com.lowagie.text.pdf.PdfWriter.close(PdfWriter.java:859)
at com.lowagie.text.pdf.PdfDocument.close(PdfDocument.java:1043)

I can�t solve this problem and have no idea. Does anyone know about it? Please help me.

Best regards
Alexander

Reply via email to