Fop instance keeping handle on font file

2008-07-28 Thread Matthieu Siggen
Hello, I have a problem where Fop sometimes keeps an open handle on the fonts given to the FOUserAgent object. The fonts are defined through the FOUserAgent.setFontBaseURL method. My code looks like this: OutputStream out = //this is some output stream try{ Source source= message.getInputA

Re: Fop instance keeping handle on font file

2008-07-28 Thread Matthieu Siggen
#x27;ve looked briefly through the font-related source code that deals with > files and I don't see any obvious bug, except maybe for the loading of > XML font metric files in LazyFont. > > On 28.07.2008 15:36:56 Matthieu Siggen wrote: >> >> Hello, >> >>

Re: Fop instance keeping handle on font file

2008-07-29 Thread Matthieu Siggen
Thanks for all your answers. Unfortunately, I won't be able to use the GC to free the open handle as: - we will have loads of concurrent fop transformation running in services deployed on a same app server instance, - the open handle makes undeploying a service tricky and manually calling the GC