You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by David Leangen <dl...@canada.com> on 2004/03/12 11:10:13 UTC
Initialization problem with 2.1.4
Hi!
I'm upgrading to 2.1.4. However, when I turn on validation, I get the
following initialization error when I try to run Cocoon.
Any help would be very welcome.
Thanks!!!
Dave
**********
Initialization Problem
Message: Document is invalid: no grammar found.
Description: org.apache.avalon.framework.component.ComponentException: Could
not find component (key [org.apache.excalibur.source.SourceResolver])
Sender: org.apache.cocoon.servlet.CocoonServlet
Source: Cocoon Servlet
column
7
line
2
cause
org.xml.sax.SAXParseException: Document is invalid: no grammar found.
location
null
request-uri
/
full exception chain stacktrace
Original Exception: org.apache.avalon.framework.service.ServiceException:
Could not access the Component (key
[org.apache.excalibur.source.SourceFactorySelector])
(Key='org.apache.excalibur.source.SourceFactorySelector')
at
org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServ
iceManager.java:118)
at
org.apache.excalibur.source.impl.SourceResolverImpl.service(SourceResolverIm
pl.java:171)
at
org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.ja
va:181)
at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(De
faultComponentFactory.java:291)
at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(
ThreadSafeComponentHandler.java:143)
at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(Excal
iburComponentManager.java:270)
at
org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentMa
nager.java:302)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.compose(TreeProcess
or.java:229)
at
org.apache.avalon.framework.container.ContainerUtil.compose(ContainerUtil.ja
va:211)
at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(De
faultComponentFactory.java:286)
at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(
ThreadSafeComponentHandler.java:143)
at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(E
xcaliburComponentManager.java:558)
at
org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonCompone
ntManager.java:547)
at
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil
.java:282)
at org.apache.cocoon.Cocoon.initialize(Cocoon.java:340)
at
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil
.java:282)
at
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1371
)
at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:514)
at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:219)
at
org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.j
ava:445)
at
org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplic
ationHandler.java:150)
at
org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.
java:449)
at org.mortbay.http.HttpServer.start(HttpServer.java:663)
at org.mortbay.jetty.Server.main(Server.java:429)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at Loader.invokeMain(Unknown Source)
at Loader.run(Unknown Source)
at Loader.main(Unknown Source)
Caused by: org.apache.avalon.framework.component.ComponentException: Could
not access the Component (key
[org.apache.excalibur.source.SourceFactorySelector])
at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(Excal
iburComponentManager.java:328)
at
org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentMa
nager.java:324)
at
org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServ
iceManager.java:106)
... 30 more
Caused by: org.apache.avalon.framework.configuration.ConfigurationException:
Could not load class
org.apache.cocoon.components.source.impl.SlideSourceFactory for component
named 'slide' at
file:/Z:/apps/cocoon/build/webapp/WEB-INF/cocoon.xconf:380:129
at
org.apache.cocoon.components.ExtendedComponentSelector.configure(ExtendedCom
ponentSelector.java:276)
at
org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.
java:239)
at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(De
faultComponentFactory.java:305)
at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(
ThreadSafeComponentHandler.java:143)
at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(Excal
iburComponentManager.java:312)
... 32 more
Caused by: org.apache.avalon.framework.component.ComponentException: Could
not set up Component for hint [ slide] (key [slide])
at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponen
t(ExcaliburComponentSelector.java:756)
at
org.apache.cocoon.components.ExtendedComponentSelector.configure(ExtendedCom
ponentSelector.java:268)
... 36 more
Caused by: org.apache.avalon.framework.service.ServiceException: Could not
access the Component (key
[org.apache.cocoon.components.slide.SlideRepository])
(Key='org.apache.cocoon.components.slide.SlideRepository')
at
org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServ
iceManager.java:118)
at
org.apache.cocoon.components.source.impl.SlideSourceFactory.service(SlideSou
rceFactory.java:113)
at
org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.ja
va:181)
at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(De
faultComponentFactory.java:291)
at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(
ThreadSafeComponentHandler.java:143)
at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponen
t(ExcaliburComponentSelector.java:738)
... 37 more
Caused by: org.apache.avalon.framework.component.ComponentException: Could
not access the Component (key
[org.apache.cocoon.components.slide.SlideRepository])
at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(Excal
iburComponentManager.java:328)
at
org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentMa
nager.java:324)
at
org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServ
iceManager.java:106)
... 42 more
Caused by: org.xml.sax.SAXParseException: Document is invalid: no grammar
found.
at org.apache.excalibur.xml.impl.JaxpParser.error(JaxpParser.java:447)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRoot
ElementHook(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:318)
at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:337)
at
org.apache.cocoon.components.slide.impl.SlideRepositoryImpl.initialize(Slide
RepositoryImpl.java:147)
at
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil
.java:282)
at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(De
faultComponentFactory.java:313)
at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(
ThreadSafeComponentHandler.java:143)
at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(Excal
iburComponentManager.java:312)
... 44 more
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org