cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bert Van Kets <b...@vankets.com>
Subject Re: Cocoon 2 Problem
Date Tue, 21 May 2002 12:30:07 GMT
Read the cocoon docs!
You need an X11 screen to be able to use Batic.  Another solution is JDK 
1.4, but then you must compile Cocoon yourself in JDK 1.4 and you must use 
at least Cocoon 2.0.3.
Bert

At 08:17 21/05/2002 -0400, you wrote:

>yes i checked the logs and i see these 2 errors
>
>ERROR   (2002-05-21) 08:14.26:588   [cocoon  ] (/cocoon/)
>HttpProcessor[8080][4]/Handler: Error compiling sitemap
>java.lang.InternalError: Can't connect to X11 window server using
>'localhost:10.0' as the value of the DISPLAY variable.
>         at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
>         at
>sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:63)
>         at java.lang.Class.forName1(Native Method)
>         at java.lang.Class.forName(Class.java:134)
>         at
>java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:64)
>         at sun.awt.motif.MToolkit.<clinit>(MToolkit.java:61)
>         at java.lang.Class.forName1(Native Method)
>         at java.lang.Class.forName(Class.java:134)
>         at java.awt.Toolkit$2.run(Toolkit.java:509)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:500)
>         at java.awt.SystemColor.updateSystemColors(SystemColor.java:348)
>         at java.awt.SystemColor.<clinit>(SystemColor.java:341)
>         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:53)
>         at java.lang.Class.newInstance0(Native Method)
>         at java.lang.Class.newInstance(Class.java(Compiled Code))
>         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:232)
>         at
>org.apache.cocoon.www.sitemap_xmap$Configurer.configSerializers(sitemap_xmap.java:950)
>         at
>org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:365)
>         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:135)
>         at
>org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.addCompiledComponent(ProgramGeneratorImpl.java:345)
>         at
>org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:179)
>         at org.apache.cocoon.sitemap.Handler.run(Handler.java:208)
>         at java.lang.Thread.run(Thread.java:498)
>
>
>
>
>
>then if i reload cocoon in the browser the error in the logs reprots this
>
>
>
>
>ERROR   (2002-05-21) 08:16.11:329   [cocoon  ] (/cocoon/)
>HttpProcessor[8080][4]/Handler: Error compiling sitemap
>java.lang.NoClassDefFoundError:
>org/apache/batik/dom/svg/SVGDOMImplementation
>         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:53)
>         at java.lang.Class.newInstance0(Native Method)
>         at java.lang.Class.newInstance(Class.java(Compiled Code))
>         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:232)
>         at
>org.apache.cocoon.www.sitemap_xmap$Configurer.configSerializers(sitemap_xmap.java:950)
>         at
>org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:365)
>         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:135)
>         at
>org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.addCompiledComponent(ProgramGeneratorImpl.java:345)
>         at
>org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:179)
>         at org.apache.cocoon.sitemap.Handler.run(Handler.java:208)
>         at java.lang.Thread.run(Thread.java:498)
>
>
>------------------------------------------------------------------------
>//////|  Dwayne A. Kemp     ////////                                   |
>////////| wick26d@netscape.net ////   "if the gospel be hid it is hid  |
>//////////| 732 932 3938 x 2938 //       to those that are lost"       |
>////////////| Programmer  ///////                                      |
>_______________________________________________________________________|
>
>On Tue, 21 May 2002, Tom Klaasen wrote:
>
> > Dwayne Kemp wrote:
> >
> > >Hi, I have this installed
> > >
> > >Tomcat 4.1
> > >Cocoon 2
> > >Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
> > >Classic VM (build 1.3.0, J2RE 1.3.0 IBM
> > >
> > >any suggestions on fixing this error:
> > >
> > >thanks!...
> > >
> > >type internal-server-error
> > >
> > >message The sitemap handler's sitemap is not available. Please check logs
> > >for the exact error.
> > >[...]
> > >
> >
> > Did you check the logs for the exact error? :-P
> > They can be found in [cocoon]/WEB-INF/logs
> >
> > hth,
> > tomK
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > Please check that your question has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> >
> > To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> > For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> >
> >
>
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
>For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message