** problem description *****************************************
a pdf file that is dynamically generated from xml data using the fo2pdf serializer
is downloaded and viewed successfully the first few attempts.
however, after repeated attempts (about a dozen) the pdf file can no longer be viewed by
adobe acrobat which displays the following error messages:
"there was an error processing the page. wrong number of arguments for the setcolor operator"
and
"an unrecognized token 'NaN' was found."
** system configuration ***************************************
the system configuration is as follows:
cocoon 2.0.4 under jboss 3.2.0 on a linux box with java j2sdk1.4.1_02the error appears using
internet explorer
on a windows xp box
and adobe acrobat 5.the error does *not* appear using
internet explorer
on os x
and the os x native pdf viewer.** debugging **************************************************
i've tried the following to debug/solve the problem:
1. looked at the WEB-INF/logs/error.log and noted the following errors
ERROR (2003-07-10) 15:41.01:031 [core.manager.fop] (/cocoon/mywebapp/report.pdf) PoolThread-2/PageSequence: Page subsequences exhausted. Using previous subsequence.
ERROR (2003-07-10) 15:41.01:032 [core.manager.fop] (/cocoon/mywebapp/report.pdf) PoolThread-2/MessageHandler: Unknown enumerated value for property 'border-bottom-style': black
2. restarted jboss, which eliminated the errors. however, after a dozen or so downloads the error reappears.
3. saved the downloaded report.pdf before and after the error occurs, and the files are different sizes.
also, a diff text viewer indicated that the contents are different. however the os x viewer displays them identically.
4. before sending the fo xml stream to the fo2pdf serializer, i viewed the xml and it is valid, and contained no invalid data
or characters.
** questions ****************************************************
1. does anyone know of any bugs with the fop2pdf serializer (such as memory leaks ) that would corrupt or damage
a pdf file after several download/generation attempts?
2. does anyone know if upgrading to cocoon2.1 would help with this problem?
thanks in advance for any answers!
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
