Our configuration is:
Linux redhat 6.2
Apache 1.3.20
jakarta-tomcat-3.2.3
Cocoon 2
When we try to start cocoon2 for the first time the
browser shows this message
"the sitemap handler's sitemap is not available". Looking for the reason in the cocoon.log.000.. file I can find these two errors (and errors stacks):
--------------------------------------------------------------------------------------------------------------1> ERROR (2001-10-19) 15:23.02:110 [cocoon ] (/cocoon/) Thread-17/Handler: Error compiling sitemap java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:59) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:120) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58) at sun.awt.motif.MToolkit.<clinit>(MToolkit.java:57) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:120) at java.awt.Toolkit$2.run(Toolkit.java:512) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:503) at java.awt.SystemColor.updateSystemColors(SystemColor.java:342) at java.awt.SystemColor.<clinit>(SystemColor.java:335) at org.apache.batik.css.value.DefaultSystemColorResolver.activeBorder(DefaultSystemColorResolver.java:27) at org.apache.batik.css.value.ColorFactory.<init>(ColorFactory.java:75) at org.apache.batik.css.value.CommonValueFactoryMap.<init>(CommonValueFactoryMap.java:39) at org.apache.batik.css.svg.SVGValueFactoryMap.<init>(SVGValueFactoryMap.java:39) at org.apache.batik.css.svg.SVGValueFactoryMap.<init>(SVGValueFactoryMap.java:32) at org.apache.batik.dom.svg.SVGDOMImplementation.<init>(SVGDOMImplementation.java:79) at org.apache.batik.dom.svg.SVGDOMImplementation.<clinit>(SVGDOMImplementation.java:59) at org.apache.batik.dom.svg.SAXSVGDocumentFactory.<init>(SAXSVGDocumentFactory.java:59) at org.apache.cocoon.xml.dom.SVGBuilder.<init>(SVGBuilder.java:44) at org.apache.cocoon.serialization.SVGSerializer.<init>(SVGSerializer.java:46) at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:237) at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(Unknown Source) at org.apache.avalon.excalibur.pool.AbstractPool.newPoolable(Unknown Source) at org.apache.avalon.excalibur.pool.AbstractPool.internalGrow(Unknown Source) at org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.grow(Unknown Source) at org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.initialize(Unknown Source) at org.apache.avalon.excalibur.component.PoolableComponentHandler.initialize(Unknown Source) at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponent(Unknown Source) at org.apache.cocoon.sitemap.SitemapComponentSelector.addSitemapComponent(SitemapComponentSelector.java:91) at org.apache.cocoon.sitemap.AbstractSitemap.load_component(AbstractSitemap.java:231) at org.apache.cocoon.www.sitemap_xmap$Configurer.configSerializers(sitemap_xmap.java:1412) at org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:829) at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(Unknown Source) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(Unknown Source) at org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(GeneratorSelector.java:143) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.addCompiledComponent(ProgramGeneratorImpl.java:348) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:183) at org.apache.cocoon.sitemap.Handler.run(Handler.java:208) at java.lang.Thread.run(Thread.java:484) --------------------------------------------------------------------------------------------------------------2> ERROR (2001-10-19) 15:51.46:397 [cocoon ] (/cocoon/) Thread-17/Handler: Error compiling sitemap java.lang.NoClassDefFoundError at org.apache.batik.dom.svg.SAXSVGDocumentFactory.<init>(SAXSVGDocumentFactory.java:59) at org.apache.cocoon.xml.dom.SVGBuilder.<init>(SVGBuilder.java:44) at org.apache.cocoon.serialization.SVGSerializer.<init>(SVGSerializer.java:46) at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:237) at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(Unknown Source) at org.apache.avalon.excalibur.pool.AbstractPool.newPoolable(Unknown Source) at org.apache.avalon.excalibur.pool.AbstractPool.internalGrow(Unknown Source) at org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.grow(Unknown Source) at org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.initialize(Unknown Source) at org.apache.avalon.excalibur.component.PoolableComponentHandler.initialize(Unknown Source) at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponent(Unknown Source) at org.apache.cocoon.sitemap.SitemapComponentSelector.addSitemapComponent(SitemapComponentSelector.java:91) at org.apache.cocoon.sitemap.AbstractSitemap.load_component(AbstractSitemap.java:231) at org.apache.cocoon.www.sitemap_xmap$Configurer.configSerializers(sitemap_xmap.java:1412) at org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:829) at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(Unknown Source) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(Unknown Source) at org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(GeneratorSelector.java:143) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.addCompiledComponent(ProgramGeneratorImpl.java:348) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:183) at org.apache.cocoon.sitemap.Handler.run(Handler.java:208) at java.lang.Thread.run(Thread.java:484) thanx
Alessandra Donnini
Smarten Software Spa |