xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fournier,Danny [NCR]" <Danny.Fourn...@ec.gc.ca>
Subject RE: Using FOP in sandbox environment
Date Fri, 09 Jan 2009 11:54:39 GMT
Fixed.

The way permissions were given for the sanboxes was the reason this
wasn't working. 

Thanks to all for the suggestions.

> -----Original Message-----
> From: Fournier,Danny [NCR] [mailto:Danny.Fournier@ec.gc.ca] 
> Sent: January 7, 2009 6:16 AM
> To: fop-users@xmlgraphics.apache.org
> Subject: RE: Using FOP in sandbox environment
> 
>  
> 
> > -----Original Message-----
> > From: Chris Bowditch [mailto:bowditch_chris@hotmail.com]
> > Sent: January 6, 2009 4:07 AM
> > To: fop-users@xmlgraphics.apache.org
> > Subject: Re: Using FOP in sandbox environment
> > 
> > Fournier,Danny [NCR] wrote:
> > 
> > > I'm currently trying to use FOP 0.95 on Coldfusion 8 (on Windows) 
> > > using sandbox security. The only way to generate my PDFs 
> is to give 
> > > the Coldfusion service full access to the entire drive. I'm
> > using the
> > > embedding example.
> > > 
> > > I'm wondering if someone on this list could help me 
> narrow down the 
> > > list of folders that could potentially be opened in order
> > for FOP to work?
> > > 
> > > Obviously, the first one would be the folder where my classes are 
> > > situated (which is specified in the classpath) Then, the
> > fonts folder
> > > maybe? How about JVM cache folders (if there are any)? I'm
> > really at a
> > > loss here.
> > 
> > When it fails do you see any sort of error message? Can you try 
> > running from the command line to reproduce the error there?
> > 
> > Perhaps the problem is that you've added the <auto-detect/> 
> element to 
> > fop.xconf file, which tells FOP to search your hard disk for Fonts.
> > 
> 
> I do see an error, but it goes away when we get rid of 
> sandbox security.
> I haven't modified the fop.xconf file as this is the first 
> time I've read about it :)
> 
> Error:
> java.lang.UnsupportedOperationException: Don't know how to 
> handle "application/pdf" as an output format. Neither an 
> FOEventHandler, nor a Renderer could be found for this output format.
> 
> All the classes are at the same spot in a folder specified in 
> the classpath.
> 
> Dan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message