cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joakim Lundberg <joakim.lundb...@laidbacksolutions.se>
Subject Re: Install problems with Cocoon2
Date Wed, 27 Feb 2002 10:21:14 GMT
Hi,

I had the exact problem... make sure to copy the following jar files
from cocoon lib to tomcat lib
batik-libs.jar
xerxes-xxx.jar
xml-apis.jar

/ Joakim

Cathie Hagen wrote:

>
>
> I am trying to run Cocoon 2.0.1 on Tomcat 4.0 on Windows 2000.
>
> I have installed and can run Tomcat fine.  I am getting the following
> error when starting Cocoon:
> The sitemap handler's sitemap is not available. Please check logs for
> the exact error.
>
> The following comes from my log file:
> DEBUG   (2002-02-27) 15:22.31:570   [sitemap.serializer.fo2pcl]
> (/cocoon/) HttpProcessor[8080][4]/FOPSerializer: FOPSerializer
> mime-type:application/vnd.hp-PCL
>
> DEBUG   (2002-02-27) 15:22.31:580   [sitemap.serializer.fo2pcl]
> (/cocoon/) HttpProcessor[8080][4]/FOPSerializer: Using default config
> file
>
> DEBUG   (2002-02-27) 15:22.31:580   [sitemap.serializer.fo2pcl]
> (/cocoon/) HttpProcessor[8080][4]/FOPSerializer: FOPSerializer
> mime-type:application/vnd.hp-PCL
>
> ERROR   (2002-02-27) 15:22.34:665   [sitemap] (/cocoon/)
> HttpProcessor[8080][4]/Handler: Error compiling sitemap
> java.lang.NoClassDefFoundError: org/w3c/dom/svg/SVGPaint
>         at java.lang.ClassLoader.defineClass0(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
>         at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
>
>         at
> org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1631)
>
>         at
> org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:926)
>
>         at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
>
>         at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1243)
>
>         at
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
>         at org.apache.batik.css.svg.SVGValueFactoryMap.<init>(Unknown
> Source)
>         at org.apache.batik.css.svg.SVGValueFactoryMap.<init>(Unknown
> Source)
>         at
> org.apache.batik.dom.svg.SVGDOMImplementation.<init>(Unknown Source)
>         at
> org.apache.batik.dom.svg.SVGDOMImplementation.<clinit>(Unknown Source)
>
>         at
> org.apache.batik.dom.svg.SAXSVGDocumentFactory.<init>(Unknown Source)
>         at
> org.apache.cocoon.xml.dom.SVGBuilder.<init>(SVGBuilder.java:44)
>         at
> org.apache.cocoon.serialization.SVGSerializer.<init>(SVGSerializer.java:53)
>
>         at
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>
>         at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>
>         at
> java.lang.reflect.Constructor.newInstance(Constructor.java:274)
>         at java.lang.Class.newInstance0(Class.java:296)
>         at java.lang.Class.newInstance(Class.java:249)
>         at
> org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:98)
>
>         at
> org.apache.avalon.excalibur.pool.AbstractPool.newPoolable(AbstractPool.java:82)
>
>         at
> org.apache.avalon.excalibur.pool.AbstractPool.internalGrow(AbstractPool.java:126)
>
>         at
> org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.grow(SoftResourceLimitingPool.java:91)
>
>         at
> org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.initialize(SoftResourceLimitingPool.java:80)
>
>         at
> org.apache.avalon.excalibur.component.PoolableComponentHandler.initialize(PoolableComponentHandler.java:88)
>
>         at
> org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponent(ExcaliburComponentSelector.java:467)
>
>         at
> org.apache.cocoon.sitemap.SitemapComponentSelector.addSitemapComponent(SitemapComponentSelector.java:94)
>
>         at
> org.apache.cocoon.sitemap.AbstractSitemap.load_component(AbstractSitemap.java:233)
>
>         at
> org.apache.cocoon.www.sitemap_xmap$Configurer.configSerializers(sitemap_xmap.java:1015)
>
>         at
> org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:390)
>         at
> org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:172)
>
>         at
> org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:84)
>
>         at
> org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(GeneratorSelector.java:135)
>
>         at
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.addCompiledComponent(ProgramGeneratorImpl.java:356)
>
>         at
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:187)
>
>         at org.apache.cocoon.sitemap.Handler.run(Handler.java:228)
>         at java.lang.Thread.run(Thread.java:536)
>
> How do I fix the SVG problem?
>
> Regards,
>
> Cathie Hagen
> Software Developer
> ZAPTECH
> Better Business Information Mean Better Business
> www.zaptechnology.com <http://www.zaptechnology.com>
> Phone:  +61 7 3211 8450
> Fax:    +61 7 3211 8451
> "This email and any files attached are confidential and intended
> solely for the use of the individual or entity to whom they are
> addressed. If you are not the intended recipient you are hereby
> notified that any use, printing, copying or disclosure is strictly
> prohibited: please notify the sender immediately by reply e-mail, or
> call (07) 3211 8450, and then delete the e-mail.
>
> The views and opinions expressed in this e-mail are those of the
> sender and do not necessarily reflect the views of the organisation
> for whom they are employed, except where the sender expressly and with
> authority states them to be so. Responsibility for virus checking
> rests entirely with the recipient."

--
******************************
Joakim Lundberg
Laidback Solutions AB
http://www.laidbacksolutions.se
Hamngatan 4
S-602 24 Norrköping
Tel: 011-12 75 80
Mob.0706-365636


Mime
View raw message