Ross, thanks for the instructions. please read on bellow
> > Another thing: I'm using 'jpg' and 'gif' images... is this correct ? > > Yes, Forrest will handle both of these by default. > ok > > By the way, my version: > > *=======================================================* > > | Forrest Site Builder | > > | 0.5.1 | > > | $Date: 2003/10/05 14:42:56 $ | > > *=======================================================* > > This is a very old version of Forrest, it would make sense for you to > upgrade to the most recent version as, of course, it is more stable and > you will find it much easier to get complete support here on the user > lists. Most of us can't remember issues from 2-3 years ago (and may devs > weren't here then). I'll do that... can I trust that new versions of Forrest are compatible with my v0.5.1//document-v12.dtd documents ??? > > However... > > Do the following: > > - cd $PROJECT_HOME > - forrest run > - http://localhost:8888/path/to/file/with/broken/image.pdf I get something similar to the command-line error, but in HTML. Here goes (copy, paste from browser): ------------------------------------------------ Internal Server Error Message: null Description: No details available. Sender: org.apache.cocoon.servlet.CocoonServlet Source: Cocoon Servlet Request URI samples/sample.pdf cause org.apache.fop.apps.FOPException: No meaningful layout in block after many attempts. Infinite loop is assumed. Processing halted. request-uri /samples/sample.pdf Apache Cocoon 2.1.2 --------------------------------------------- > > Now, inspect the logs that have been recorded in > $PROJECT_HOME/build/webapp/WEB-INF/logs/ > > In particular you are interested in error.log an core.log > > Post any parts that look like they may be relevant to the generation of > your image in the PDF file. ok, I found them... dispite I know somethings about Java the info in those files for me is Chinese !! Sorry. There are references to the same problem (as reported on the command line) like this: ---------------------------------------------------- org.apache.fop.apps.FOPException: No meaningful layout in block after many attempts. Infinite loop is assumed. Processing halted. at org.apache.fop.fo.flow.Block.layout(Block.java:140) at org.apache.fop.fo.flow.Block.layout(Block.java:257) at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:154) at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:110) at org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java:400) at org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:338) at org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:262) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:223) at org.apache.cocoon.xml.AbstractXMLPipe.endElement(AbstractXMLPipe.java:147) -------------------------------------------------- and this: ----------------------------------------------------- WARN (2006-02-01) 14:28.11:961 [core.manager] (/samples/sample.pdf) PoolThread-4/ExcaliburComponentManager: Attempted to release a org.apache.cocoon.components.treeprocessor.sitemap.ComponentsSelector but its handler could not be located. WARN (2006-02-01) 14:28.11:961 [core.manager] (/samples/sample.pdf) PoolThread-4/ExcaliburComponentManager: Attempted to release a org.apache.cocoon.components.treeprocessor.sitemap.ComponentsSelector but its handler could not be located. ----------------------------------------- should I attach the two files ?? > > Also, please answer these questions: > > - where is the image located? I put all my images in $PROJECT_HOME/src/documentation/resources/images/ > - what is the XDoc source that you are using Do you mean the DTD ? I don't understand this one ? > thx jmf > Ross