Quoting José Luis Puchi Alvarez <[EMAIL PROTECTED]>: > Bruno, I did it before I did write you, but the problem is with the > generation if a pdf file, when I execute the Chap0105.class this program > work if i generate a HTML page, but when i try to generate a pdf file the > browser said: > > Internal Server Error > The server encountered an internal error or misconfiguration and was unable > > to complete your request. > Please contact the server administrator, [EMAIL PROTECTED] and inform them of > > the time the error occurred, and anything you might have done that may have > > caused the error. > > More information about this error may be available in the server error log. > -------------------------------------------------------------------------------- > > Apache/1.3.12 Server at infoserv Port 80 > > Then i read the error_log file of apache and said this: > A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: Conditional' has > occurred in : > 'com/lowagie/text/pdf/BaseFont.createFont > (Ljava/lang/String;Ljava/lang/String;ZZ[B[B)Lcom/lowagie/text/pdf/BaseFont;': > > Interpreting method. > Please report this error in detail to > http://java.sun.com/cgi-bin/bugreport.cgi > > java.lang.ExceptionInInitializerError: > java.lang.IllegalMonitorStateException: current thread not owner > at com.lowagie.text.pdf.PdfEncodings.<clinit>(Unknown Source) > at com.lowagie.text.pdf.Type1Font.<init>(Unknown Source) > at com.lowagie.text.pdf.BaseFont.createFont(Unknown Source) > at com.lowagie.text.pdf.BaseFont.createFont(Unknown Source) > at com.lowagie.text.Font.getCalculatedBaseFont(Unknown Source) > at com.lowagie.text.pdf.PdfChunk.<init>(Unknown Source) > at com.lowagie.text.pdf.PdfDocument.add(Unknown Source) > at com.lowagie.text.Phrase.process(Unknown Source) > at com.lowagie.text.pdf.PdfDocument.add(Unknown Source) > at com.lowagie.text.Document.add(Unknown Source) > at PruebaPDF.doGet(PruebaPDF.java:19) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:499) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:588) > at org.apache.jserv.JServConnection.processRequest(JServConnection.java) > at org.apache.jserv.JServConnection.run(JServConnection.java) > at java.lang.Thread.run(Thread.java:479) > > That is so stranger for me, If you can help me.
On what OS are you deploying this? > Can you send me a tutorial with the steps to generate a pdf file with apache > and jserv?, only if you can. Unfortunately, we don't have that kind of tutorial. I forward the question to the mailinglist. I hope somebody there can help you. It seems as the data for the type1 fonts can't be loaded. > Thanks for your time... > > Atte. José Luis Puchi Alvarez > http://www.infoserv.cl > 63-296807 > 9-9040488 br, Bruno ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions