The result is the same. I generated the fop output and saved it to an xml file, then, using a static fop version, at first there was an error:

[INFO] JAI support was not installed (read: not present at build time). Trying to use Jimi instead
[ERROR] Error while creating area : Error creating FopImage object (file:/c:/programs/tomcat50/webapps/webapp/root/resource/img/jpg/framerelay1.png) : Jimi image library not available
[INFO] Parsing of document complete, stopping renderer


Then I copied the jimi-1.0.jar to fop-0.20.5 dir and the pdf generated successfully! Finally I saw a .png image!:)

[INFO] JAI support was not installed (read: not present at build time). Trying to use Jimi instead
[INFO] [2]
[INFO] Parsing of document complete, stopping renderer


Can't be better!:) So maybe there is another way how to implement the jimi-1.0.jar in cocoon?

Thanks,
Roberts

J.Pietschmann wrote:

Roberts Pakalns wrote:

I copied the file into cocoon/web-inf/lib and renamed it from jimi1_0.zip to jimi1_0.jar. Then I restarted Tomcat. Was that right?


Oops, probably not quite, sorry. Check
 http://xml.apache.org/fop/graphics.html#jimi
There should be a JimiProClasses.zip inthe ZIP file you downloaded.

J.Pietschmann

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to