Paulo Soares wrote:
It's difficult to say where the problem is. It may be a compilation problem,
you compiled with one iText version and ran with another. It may also be a
problem with the JBoss classloader or some glitch with the JVM. You may try
with the version 1.4.2_02 to see if it still happens.
I made a sligt error. I am in fact using iText 0.96 (the binary
distribution) and my code is compiled against this version. I am in fact
using J2SDK 1.4.2_01 and I don't see that the _02 version has been
released by Sun.
Best regards
Jan Normann Nielsen
I'm using iText-1.00 to generate PDF documentation from a Java 1.4.2_01
application running in a JBoss 3.0.8 application server, but after it
has run for a while, I get this strange exception:
java.lang.IllegalAccessError: tried to access class
com.lowagie.text.pdf.PdfLiteral from class com.lowagie.text.pdf.PdfReader
at com.lowagie.text.pdf.PdfReader.readPRObject(Unknown Source)
at com.lowagie.text.pdf.PdfReader.readArray(Unknown Source)
at com.lowagie.text.pdf.PdfReader.readPRObject(Unknown Source)
at com.lowagie.text.pdf.PdfReader.readDictionary(Unknown Source)
at com.lowagie.text.pdf.PdfReader.readPRObject(Unknown Source)
at com.lowagie.text.pdf.PdfReader.readDocObj(Unknown Source)
at com.lowagie.text.pdf.PdfReader.readPdf(Unknown Source)
at com.lowagie.text.pdf.PdfReader.<init>(Unknown Source)
at
dk.test.projects.simpleadmin.j2ee.webapp.struts.pdfmultiinvoice.action.uti
l.PDFMerger.mergePDFFiles(PDFMerger.java:36)
at
dk.test.projects.simpleadmin.j2ee.webapp.struts.pdfmultiinvoice.action.PDF
MultiInvoiceAction.doPerform(PDFMultiInvoiceAction.java:102)
at dk.test.util.struts.base.BaseAction.perform(BaseAction.java:58)
at
org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.
java:1787)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHan
dler.java:294)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1714)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationConte
xt.java:507)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1664)
at org.mortbay.http.HttpServer.service(HttpServer.java:863)
at org.jboss.jetty.Jetty.service(Jetty.java:460)
at
org.mortbay.http.HttpConnection.service(HttpConnection.java:775)
at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)
Does anyone have any clue whether this is an iText or a JBoss problem?
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions