cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SÚrgio Carvalho <sergio.carva...@acm.org>
Subject Re: C2 needs X11???
Date Sun, 27 May 2001 23:12:32 GMT

It's definitely too late for writing e-mails... Forgot to describe my environment:
  -> SuSE Linux 7
  -> SUN Java 2
  -> Today's CVS Tomcat 
  -> Today's CVS C2

and that, after setting the DISPLAY variable, C2 starts ok and the sitemap compiles.

On Mon, 28 May 2001 01:04:40 +0200
Sirgio Carvalho <sergio.carvalho@acm.org> wrote:

> 
> Just checked out C2's last CVS, built and installed it on Tomcat 4. It won't start, because
batik needs an X server to start! This is downright unusable in most server environments.
I never deploy X servers on server machines. Besides imposing unneeded load, X raises security
issues better left away from server machines.
> 
> Comments on this?
> 
> This is the exception I got in cocoon.log:
> 
> ERROR   41463   [cocoon  ] (Thread-6): 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:58)
> 	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:498)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:489)
> 	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:88)
> 	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:59)
> 	at org.apache.cocoon.serialization.SVGSerializer.<init>(SVGSerializer.java:47)
> 	at java.lang.Class.newInstance0(Native Method)
> 	at java.lang.Class.newInstance(Class.java:237)
> 	at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:83)
> 	at org.apache.avalon.excalibur.pool.AbstractPool.newPoolable(AbstractPool.java:70)
> 	at org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.grow(SoftResourceLimitingPool.java:82)
> 	at org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.initialize(SoftResourceLimitingPool.java:67)
> 	at org.apache.avalon.excalibur.component.PoolableComponentHandler.initialize(PoolableComponentHandler.java:75)
> 	at org.apache.avalon.excalibur.component.DefaultComponentSelector.addComponent(DefaultComponentSelector.java:306)
> 	at org.apache.cocoon.sitemap.SitemapComponentSelector.addSitemapComponent(SitemapComponentSelector.java:42)
> 	at org.apache.cocoon.sitemap.AbstractSitemap.load_component(AbstractSitemap.java:150)
> 	at org.apache.cocoon.www.sitemap_xmap$Configurer.configSerializers(sitemap_xmap.java:943)
> 	at org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:493)
> 	at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:110)
> 	at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:78)
> 	at org.apache.avalon.excalibur.component.DefaultComponentSelector.addComponent(DefaultComponentSelector.java:306)
> 	at org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(GeneratorSelector.java:75)
> 	at org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(GeneratorSelector.java:71)
> 	at org.apache.cocoon.components.language.generator.GeneratorSelector.select(GeneratorSelector.java:57)
> 	at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.select(ProgramGeneratorImpl.java:261)
> 	at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:145)
> 	at org.apache.cocoon.sitemap.Handler.run(Handler.java:221)
> 	at java.lang.Thread.run(Thread.java:484)
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message