Jeremias,

Thanks for your help.

It turns out this is a JBoss 3.2.6 issue.  There seems
to be no way to isolate the classloaders for two
different applications (ear files) on this version of
JBoss.  Since each application uses and initializes
FOP, the last one to initialize clobbers the first
one's initialization (even though the FOP jar is
contained in each ear file).  So it is not an FOP
issue at all.

I do thank you and J. for your assistance in tracking
down this issue.

Regards,
Dave


--- Jeremias Maerki <[EMAIL PROTECTED]> wrote:

> 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]
> 
> 



                
____________________________________________________ 
Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football 
http://football.fantasysports.yahoo.com

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

Reply via email to