Robert Hunter wrote: > I'm getting the " File does not begin with '%pdf'-" message when I try > to export the eclipse BIRT report to PDF. My guess is that I need to do > something different with iText on our production Tomcat and Birt-Viewer. > > I've installed the iText 1.3 and iTextAsian JAR's in the required BIRT > folder as directed by Eclipse. > > Have also looked thru the FAQ's and archives, but haven't found any > posting about the same problem. Any suggestions on what I can try or > what the probem may be?
I'm lurking on the news.eclipse.org eclipse.birt newsgroup, and I think I already have seen this kind of error. It could be a mismatch between versions. The most recent BIRT version uses iText 1.4.8, not iText 1.3. Also, you could have more than 1 iText version in your classpath in production. But rather than "the File does not begin with '%pdf'", you should: - get the bytes that are sent by the server, and have a look at them. Maybe the server is sending you an error message in HTML. If so, what does it say? - search the serverside errorlogs (generated by your web application) and see if an error is thrown. If you want us to look at this problem, you'll have to provide us with that information (otherwise we're as much in the dark as you are). br, Bruno ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/