cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From java guru <javacoc...@yahoo.co.in>
Subject Re: C2 using X11
Date Fri, 27 Jul 2001 13:47:29 GMT
Hi.,
  In short, use xvfb..look for more info in the
mailing list archives...


 --- Dave Smith <dave.smith@candata.com> wrote: > Well
I got c2 ruuning with jetty (rm
> javax.xml.jaxp.jar and 
> org.apache.crimson.jar from the lib directory and
> add xerces_1_4_1.jar)
> but now I am having another problem.
> 
> I guess in the default config it uses
> svgxml,svg2jpeg .. etc and it must 
> use the native java awt libraries that need to
> connect to an X11 
> display. Is there any way to get around this? The
> machine running 
> jetty/cocoon will not have one.
> 
> 
> 
> 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:81)
>          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:85)
>          at 
>
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponent(ExcaliburComponentSelector.java:383)
>          at 
>
org.apache.cocoon.sitemap.SitemapComponentSelector.addSitemapComponent(SitemapComponentSelector.java:78)
>          at 
>
org.apache.cocoon.sitemap.AbstractSitemap.load_component(AbstractSitemap.java:225)
>          at 
>
org.apache.cocoon.www.sitemap_xmap$Configurer.configSerializers(sitemap_xmap.java:1309)
>          at 
>
org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:744)
>          at 
>
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:108)
>          at 
>
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:81)
>          at 
>
org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(GeneratorSelector.java:118)
>          at 
>
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.addCompiledComponent(ProgramGeneratorImpl.java:292)
>          at 
>
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.java:273)
>          at 
>
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:179)
>          at
>
org.apache.cocoon.sitemap.Handler.run(Handler.java:204)
>          at java.lang.Thread.run(Thread.java:484)
> 
> 
>
---------------------------------------------------------------------
> 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>
>  

=====
Thanks and have great day
srini

____________________________________________________________
Do You Yahoo!?
For regular News updates go to http://in.news.yahoo.com

---------------------------------------------------------------------
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