As far as I know, we are not trying to use any SVG elements.  
We are just taking an XML:FO file and attempting to convert it into a
PDF file.

Even if we are not using SVG, it will still try to use the
SVGElementMapping?

Thanks
Mark

-----Original Message-----
From: Glen Mazza [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 09, 2003 4:17 PM
To: [EMAIL PROTECTED]
Subject: RE: Running FOP on ColdFusion MX


I'm not sure.  This code is always run whenever FOP is activated, at
Driver initialization, and I can't find others having this issue in the
user archives.

The code in question is here:

http://cvs.apache.org/viewcvs.cgi/xml-fop/src/org/apache/fop/apps/Attic/
Driver.java?annotate=1.36.2.10

You're throwing a ClassCastException at line 464,
which is producing this error.  FOP's boilerplate for
this message ("XXXX is not an ElementMapping") might 
be masking the real problem.  Also of note is that
another mapper at line 313 presumably did load
successfully (the one at 314 failed).  So there might
be something wrong with your your Batik library (which
FOP uses for SVG).  That or your ColdFusion setup
somehow is not making the SVGElementMapping visible.  

Glen


--- "Gonzalez, Mark A" <[EMAIL PROTECTED]>
wrote:
> FOP version 0.20.5
> 
> Mark
> 
> -----Original Message-----
> From: Glen Mazza [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 09, 2003 3:48 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Running FOP on ColdFusion MX
> 
> 
> What version of FOP are you running?
> 
> --- "Gonzalez, Mark A" <[EMAIL PROTECTED]>
> wrote:
> > Hi,
> > 
> > I am running into an interesting problem when
> trying
> > to run FOP on Cold
> > Fusion MX for J2EE server. The current
> configuration
> > is WebSphere 5.0,
> > running CFMX for J2EE.
> > When we try to execute the servlet from the
> > coldfusion page (using the
> > java object commands)
> > the process starts running but then throws an
> > exception.  The stack
> > trace is as follows: 
> > 
> > Error = java.lang.IllegalArgumentException:
> > org.apache.fop.svg.SVGElementMapping is not an ElementMapping
> >         at
> >
>
org.apache.fop.apps.Driver.addElementMapping(Driver.java:464)
> >         at
> >
>
org.apache.fop.apps.Driver.setupDefaultMappings(Driver.java:314)
> >         at
> 
> 
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product
> search
> http://shopping.yahoo.com
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 



__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

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


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

Reply via email to