Hello and good morning,

I'm trying to find out the reasons why my web application is working properly in my development system but not in my production system.

The web application allows a tutor to upload some exercise material as PDF. That document gets some text- and barcode-data stamped to the bottom of every page. Then a generic first page with some form fields is filled out by the application and the uploaded and stamped document is added to that first page, creating the wanted production result: an exercise with a generic first page, containing some delivery and handling data about a certain course (title, id number, article code etc.), with some further data added to the bottom of every page of the exercises.

That application was implemented last summer and has worked for hundreds of such processed, all without any errors so far (at least after I removed the first errors of the first release).

Yesterday one tutor reported that the web application created a erroneous result from his PDF exercise material. He send me the original documents and I repeated the process myself on the production system and my similar development installation on my own server.

Result: on the production system the original content seems to blank out (it disappears), the form fields are the only remaining elements shown, but the fonts are wrong) one field was defined to use a barcode font, now it is shown as plain text.

As the created document has he right page number and is quite big, I believe that the content is still there, but something in the original PDF and the changes done it using iText has rendered some parts useless.

There are no error message when displaying the problematic document with Acroread 8 (Linux and Windows).

The document is produced correctly when I use my development installation. So I'm searching for the responsible differences between the installations and the problematic original document and other documents.

So far, I have found the following differences:

1. The development installation runs on an SUN x86 architecture with the following Java version (output of java -version):
java version "1.5.0_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
Java HotSpot(TM) Server VM (build 1.5.0_12-b04, mixed mode)

The productions installation runs on an older SUN UltraSparc architecture wuth teh following Java version:
java version "1.5.0_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b09)
Java HotSpot(TM) Server VM (build 1.5.0_02-b09, mixed mode)

2. The typical PDF documents that I work have the document property:
Application: PScript5.dll Version 5.2.2
PDF Producer: Acrobat Distiller 8.1.0 (Windows)
PDF Version: 1.6 (Acrobat 7.x)

The PDF Producer and the PDF Version sometimes differ slighty in the version numbers.

The problematic document has the following document property:
Application: Adobe Acrobat 8.1 Combine Files
PDF Producer: Acrobat Distiller 8.1.0 (Windows)
PDF Version: 1.6 (Acrobat 7.x)

The only difference I can see so far is the application property.


Maybe someone knows about the possible reasons for that problem and can give me some hint. If you need further details, just ask.

Thank you in advance,

Oliver Schönwald


--
Oliver Schönwald, Diplom-Informatiker

FernUniversität Hagen
Zentrum für IT und Medien (ZMI) - Competence Center Anwendungsentwicklung
Universitätsstr.21/AVZ - 58084 Hagen - Deutschland
fon: +49 2331 987 1721 - email: [email protected]

begin:vcard
fn:Oliver Schoenwald
n:Schoenwald;Oliver
org;quoted-printable:FernUniversitaet Hagen;ZMI - Zentrum f=C3=BCr Medien und IT
adr:;;Universitaetsstrasse 21;Hagen;NRW;58300;Deutschland
email;internet:[email protected]
tel;work:02331 987 1721
x-mozilla-html:FALSE
url:http://www.fernuni-hagen.de
version:2.1
end:vcard

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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