You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ray Allis <ra...@comcast.net> on 2004/02/07 07:18:08 UTC

Tonight's cocoon didn't work.

  Initialization Problem

Message: Could not find component (key 
[org.apache.cocoon.woody.CacheManager]) 
(Key='org.apache.cocoon.woody.CacheManager')

Description: org.apache.avalon.framework.service.ServiceException: Could 
not find component (key [org.apache.cocoon.woody.CacheManager]) 
(Key='org.apache.cocoon.woody.CacheManager')

Sender: org.apache.cocoon.servlet.CocoonServlet

Source: Cocoon Servlet

cause

org.apache.avalon.framework.component.ComponentException: Could not find component (key [org.apache.cocoon.woody.CacheManager])

request-uri

/cocoon/

full exception chain stacktrace

Original Exception: org.apache.avalon.framework.component.ComponentException: Could not find component (key [org.apache.cocoon.woody.CacheManager])
	at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:299)
	at org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java:324)
	at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:106)
	at org.apache.cocoon.woody.binding.JXPathBindingManager.service(JXPathBindingManager.java:93)
	at org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.java:181)
	at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:291)
	at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:143)
	at org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:558)
	at org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.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:1369)
	at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:514)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1044)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:887) ...
---
38M Feb  6 18:54 cocoon-2.1_20040206231255.tar.gz

The build was successful.

Temporarily missing piece?

Ray Allis


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Tonight's cocoon didn't work.

Posted by Tim Larson <ti...@keow.org>.
On Fri, Feb 06, 2004 at 10:18:08PM -0800, Ray Allis wrote:
>
>  Initialization Problem
>
> Message: Could not find component (key
> [org.apache.cocoon.woody.CacheManager])
> (Key='org.apache.cocoon.woody.CacheManager')
>
<snip error log>
> ---
> 38M Feb  6 18:54 cocoon-2.1_20040206231255.tar.gz
>
> The build was successful.
>
> Temporarily missing piece?
>
> Ray Allis

This works on the two computers I tried it on.
Looks like your cocoon.roles file was not updated or the
updated cocoon-2.1.4-dev.jar file (I think this is the
right file) was not copied to your deployed cocoon dir.

Check cocoon-2.1/build/cocoon-2.1.4-dev/classes/org/apache/cocoon/cocoon.roles
to see if the CacheManager role was patched into it.
You might need to do a "build clean" before building if
you do not see this (without the line breaks):

  <role default-class="org.apache.cocoon.woody.DefaultCacheManager"
        name="org.apache.cocoon.woody.CacheManager"
        shorthand="woody-cachemanager"/>

Please let me know how this goes for you.
--Tim Larson

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org