Some people instantiate the Options class each time they run FOP although once would be totally sufficient since the configuration is handled through static variables (not very beautiful, we know, but we have to live with it for another few months). Now, if the configuration is set up while FOP is running in another thread, I can imagine that nasty things might happen.
See also: http://xml.apache.org/fop/embedding.html#multithreading On 22.06.2005 01:27:24 David P. Nesbitt wrote: > J, > > Probably not. How would you suggest doing it? > > Regards, > Dave > > --- "J.Pietschmann" <[EMAIL PROTECTED]> wrote: > > > David P. Nesbitt wrote: > > > Has anyone ever seen this exception? Once we get > > this > > > exception, it seems we have to restart our > > application > > > container (JBoss) to remedy the problem. The > > issue > > > seems intermittent at this point. We get PDF > > files > > > for a while with no problem and then for no > > particular > > > reason we seem to get this exception. > > ... > > > > > > org.apache.fop.render.pdf.fonts.LazyFont.getAscender(LazyFont.java:127) > > > > It seems you have intermittent problems getting at > > the font metrics > > file, probably due to a problem with the font base > > URL. I'd suspect > > a multithreading problem. Do you set the FOP user > > configuration in > > a MT safe way? > > > > J.Pietschmann Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
