cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dwayne Kemp <dak...@rci.rutgers.edu>
Subject Re: Cocoon 2 Problem
Date Tue, 21 May 2002 13:15:45 GMT

Yes Ive read the faq and ive also read the info on setting the
Headless Batik for linux.

I would not have posted previous questions, if this was a perfect world.

anyway thanks for the info... really appreciated :)

------------------------------------------------------------------------
//////|  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, Konstantin Piroumian wrote:

> Here goes the answer:
>  http://xml.apache.org/cocoon/faq.html#faq-24
>
> Konstantin
>
> P.S. Have you ever read the few lines that are appended to the bottom of
> every email?
>
> ----- Original Message -----
> From: "Dwayne Kemp" <dakemp@rci.rutgers.edu>
> To: <cocoon-users@xml.apache.org>
> Sent: Tuesday, May 21, 2002 4:17 PM
> Subject: Re: Cocoon 2 Problem
>
>
> >
> > 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(DefaultSy
> stemColorResolver.java:27)
> >         at
> > org.apache.batik.css.value.ColorFactory.<init>(ColorFactory.java:75)
> >         at
> >
> org.apache.batik.css.value.CommonValueFactoryMap.<init>(CommonValueFactoryMa
> p.java:39)
> >         at
> >
> org.apache.batik.css.svg.SVGValueFactoryMap.<init>(SVGValueFactoryMap.java:3
> 9)
> >         at
> >
> org.apache.batik.css.svg.SVGValueFactoryMap.<init>(SVGValueFactoryMap.java:3
> 2)
> >         at
> >
> org.apache.batik.dom.svg.SVGDOMImplementation.<init>(SVGDOMImplementation.ja
> va: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(Un
> known
> > 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(Un
> known
> > Source)
> >         at
> >
> org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponen
> t(Unknown
> > Source)
> >         at
> >
> org.apache.cocoon.sitemap.SitemapComponentSelector.addSitemapComponent(Sitem
> apComponentSelector.java:91)
> >         at
> >
> org.apache.cocoon.sitemap.AbstractSitemap.load_component(AbstractSitemap.jav
> a: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(Un
> known
> > Source)
> >         at
> >
> org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(
> Unknown
> > Source)
> >         at
> >
> org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerat
> or(GeneratorSelector.java:135)
> >         at
> >
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.addComp
> iledComponent(ProgramGeneratorImpl.java:345)
> >         at
> >
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
> ogramGeneratorImpl.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(Un
> known
> > 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(Un
> known
> > Source)
> >         at
> >
> org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponen
> t(Unknown
> > Source)
> >         at
> >
> org.apache.cocoon.sitemap.SitemapComponentSelector.addSitemapComponent(Sitem
> apComponentSelector.java:91)
> >         at
> >
> org.apache.cocoon.sitemap.AbstractSitemap.load_component(AbstractSitemap.jav
> a: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(Un
> known
> > Source)
> >         at
> >
> org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(
> Unknown
> > Source)
> >         at
> >
> org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerat
> or(GeneratorSelector.java:135)
> >         at
> >
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.addComp
> iledComponent(ProgramGeneratorImpl.java:345)
> >         at
> >
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
> ogramGeneratorImpl.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>
>
>


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