cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: C2: problems with /cocoon/status, "Namespace not supported by
Date Wed, 10 Jan 2001 20:23:56 GMT
K. Lo Shih wrote:

> I've just installed C2 and am running it for the first time using 
> xml-cocoon via cvs, tomcat-3.2.1.
> 
> All is well until Cocoon services its first request whereupon it dies 
> with the exception org.apache.cocoon.ProcessingException: "The sitemap 
> handler's sitemap is not available". The sitemap.xmap seems to be in the 
> proper place in the unjarred war directory.
> 
> Has anyone run into this one?

Hmm.  It sounds like you are trying to use a JAXP parser.  Unfortunately,
I don't think that JAXP supports SAX 2 at this time.  Cocoon requires a
SAX 2 compliant XML parser to function (which is where you get the namespace
support).

> 
> The first exception logged is a ParserConfigurationException saying: 
> "Namespace not supported by SAXParser" (thrown somewhere within 
> com.sun.xml.parser.SAXParserFactoryImpl.newSAXParser()). So, I thinking 
> that this is a problem with not having the proper SAX parser class 
> configured because of a system properties setting. Do I need to have a 
> jaxp properties file somewhere in addition to installing cocoon.war?
> 
> Stack trace:
> 
> DEBUG   2526    [cocoon  ] (Thread-24): DefaultComponentManager returned 
> instance for role org.apache.cocoon.Cocoon.
> ERROR   4030    [cocoon  ] (Thread-24): Logicsheet.setInputSource
> javax.xml.transform.TransformerConfigurationException: Namespace not 
> supported by SAXParser
>         at 
> org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFa 
> ctoryImpl.java:755)
>         at 
> org.apache.cocoon.components.language.markup.Logicsheet.setInputSource(Logic 
> sheet.java:83)
>         at 
> org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.configur 
> e(AbstractMarkupLanguage.java:143)
>         at 
> org.apache.cocoon.CocoonComponentSelector.setupComponent(CocoonComponentSele 
> ctor.java:241)
>         at 
> org.apache.cocoon.CocoonComponentSelector.select(CocoonComponentSelector.jav 
> a:160)
>         at 
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr 
> ogramGeneratorImpl.java:136)
>         at org.apache.cocoon.sitemap.Handler.run(Handler.java:162)
>         at java.lang.Thread.run(Thread.java:484)
> 
> Thanks,
> Lo.
> 
> ---------------------------------------------------------------------
> 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