cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amon <argenst...@hotmail.com>
Subject Error
Date Mon, 07 May 2007 12:49:52 GMT
Best Cocoon users,
 
I have two question:
 
What is the most preferable clean installation of cocoon? Which building blocks are really
important 
 
I have version 2.1.10 of cocoon and i only activate this rule in the local.build.properties
file:
exclude.webapp.samples=true, then i build the war file and put it in the webapss directory
of tomcat. I get this error below:
Why?
 
 
 
Message: Could not find component (key [org.apache.cocoon.portal.impl.PageLabelManager])
Description: org.apache.avalon.framework.configuration.ConfigurationException: Could not load
class org.apache.cocoon.portal.event.aspect.impl.PageLabelEventAspect for component named
&apos;page-label&apos; at jndi:/localhost/cocoon/WEB-INF/cocoon.xconf:1979:120
Sender: org.apache.cocoon.servlet.CocoonServlet
Source: Cocoon Servlet
causeorg.apache.avalon.framework.component.ComponentException: Could not find component (key
[org.apache.cocoon.portal.impl.PageLabelManager])

request-uri/cocoon/

full exception chain stacktraceorg.apache.avalon.framework.configuration.ConfigurationException:
Could not load class org.apache.cocoon.portal.event.aspect.impl.PageLabelEventAspect for component
named &apos;page-label&apos; at jndi:/localhost/cocoon/WEB-INF/cocoon.xconf:1979:120
	at org.apache.cocoon.components.ExtendedComponentSelector.configure(ExtendedComponentSelector.java:236)
	at org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:201)
	at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:289)
	at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108)
	at org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:524)
	at org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:583)
	at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
	at org.apache.cocoon.Cocoon.initialize(Cocoon.java:345)
	at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
	at org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1429)
	at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:499)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3857)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4118)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:788)
	at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:677)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:473)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
	at org.apache.catalina.core.StandardService.start(StandardService.java:450)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
	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:585)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Caused by: org.apache.avalon.framework.component.ComponentException: Could not set up Component
for hint [ page-label] (key [page-label])
	at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponent(ExcaliburComponentSelector.java:723)
	at org.apache.cocoon.components.ExtendedComponentSelector.configure(ExtendedComponentSelector.java:229)
	... 36 more
Caused by: org.apache.avalon.framework.service.ServiceException: Could not find component
(key [org.apache.cocoon.portal.impl.PageLabelManager]) (Key=&apos;org.apache.cocoon.portal.impl.PageLabelManager&apos;)
	at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:80)
	at org.apache.cocoon.portal.event.aspect.impl.PageLabelEventAspect.service(PageLabelEventAspect.java:58)
	at org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.java:143)
	at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:271)
	at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108)
	at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponent(ExcaliburComponentSelector.java:705)
	... 37 more
Caused by: org.apache.avalon.framework.component.ComponentException: Could not find component
(key [org.apache.cocoon.portal.impl.PageLabelManager])
	at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:265)
	at org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java:354)
	at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:68)
	... 42 more


stacktraceorg.apache.avalon.framework.component.ComponentException: Could not find component
(key [org.apache.cocoon.portal.impl.PageLabelManager])
	at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:265)
	at org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java:354)
	at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:68)
	at org.apache.cocoon.portal.event.aspect.impl.PageLabelEventAspect.service(PageLabelEventAspect.java:58)
	at org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.java:143)
	at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:271)
	at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108)
	at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponent(ExcaliburComponentSelector.java:705)
	at org.apache.cocoon.components.ExtendedComponentSelector.configure(ExtendedComponentSelector.java:229)
	at org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:201)
	at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:289)
	at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108)
	at org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:524)
	at org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:583)
	at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
	at org.apache.cocoon.Cocoon.initialize(Cocoon.java:345)
	at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
	at org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1429)
	at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:499)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3857)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4118)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:788)
	at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:677)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:473)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
	at org.apache.catalina.core.StandardService.start(StandardService.java:450)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
	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:585)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409) Thanks in 
advance,Amon
 
 
_________________________________________________________________
Check out some new online services at Windows Live Ideas—so new they haven’t even been
officially released yet.
http://ideas.live.com
Mime
View raw message