Hi All,
I am trying to convert fo document to PCL using fop and getting
following error while instantiating FOPFactory :
java.lang.NoClassDefFoundError:
org.apache.batik.dom.svg.SVGDOMImplementation (initialization failure)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:134)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:130)
at
org.apache.fop.image.loader.batik.BatikUtil.isBatikAvailable(BatikUtil.java:33)
at
org.apache.fop.image.loader.batik.ImageLoaderFactorySVG.isAvailable(ImageLoaderFactorySVG.java:60)
at
org.apache.xmlgraphics.image.loader.spi.ImageImplRegistry.registerLoaderFactory(ImageImplRegistry.java:163)
at
org.apache.xmlgraphics.image.loader.spi.ImageImplRegistry.discoverClasspathImplementations(ImageImplRegistry.java:97)
at
org.apache.xmlgraphics.image.loader.spi.ImageImplRegistry.<init>(ImageImplRegistry.java:70)
at
org.apache.xmlgraphics.image.loader.spi.ImageImplRegistry.getDefaultInstance(ImageImplRegistry.java:79)
at
org.apache.xmlgraphics.image.loader.ImageManager.<init>(ImageManager.java:48)
at org.apache.fop.apps.FopFactory.<init>(FopFactory.java:154)
at org.apache.fop.apps.FopFactory.newInstance(FopFactory.java:166)
I am running code on Weblogic 9.2 and all the required libraries
(fop.jar, batik-all.jar and xmlgraphics-commons-1.3.1.jar) are in
class path.
I am using FOP version 0.95
This error does not comes when i run this as a stand-alone program.
And in Weblogic, it appears on a random basis not always.
Any help in this regard will be much appreciated.
Thanks!
Sanjeev
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]