xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Niemaz <Michael.Nie...@xrce.xerox.com>
Subject Re: Fop in embedded app
Date Tue, 15 Nov 2005 15:15:34 GMT
I somehow managed to make it work finally.
Don't know exactly what was the problem really. Probably related to 
libraries versions conflict.
All I did was updating my maven dependencies (xerces, xalan, crimson, ...)


Jeremias Maerki wrote:

>FOP works nicely with both Crimson and Xerces, or any other
>JAXP-conforming XML parser for that matter. The problem is that you
>probably have both in your setup. Remember that JDKs >= 1.4 already come
>with an XML parser so it's not necessary to include another in either
>Tomcat's shared/lib or the webapps's lib directory. All assuming you
>don't still work with JDK 1.3.x, of course.
>I can't tell why you might run into conflicts there. So, just reduce to
>the minimum by relying on what the JDK gives you. If you continue to
>have problems after following the advice above, please state the JDK and
>Tomcat versions you use and list all the crimson and xerces libraries
>you have in your environment (shared/lib, common/lib, webapp's lib
>directory etc. etc.).
>Good luck!
>On 14.11.2005 18:11:43 Michael Niemaz wrote:
>>Hi all,
>>    I can't make my fop application work when deployed in tomcat as a 
>>web service. It looks like there's a conflict between xerces and crimson 
>>so taht crimson is never loaded and when it gets to constructing the 
>>pdf, it says that there is no more crmison sax parser available. I can't 
>>removed xerces from the shared/lib dir of tomcat. Apparently, Fop does 
>>not wotk with xerces (could you confirm?) so I think I'm kinda stuck 
>>here ;-(
>>Any ideas?
>Jeremias Maerki

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

View raw message