cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: [C2] Bug in Cocoon.java?
Date Thu, 07 Jun 2001 12:41:40 GMT
Leo Sutic wrote:
> 
> Line 112:
> ----------------
>     public void initialize() throws Exception {
>         this.componentManager = new DefaultComponentManager();
>         this.componentManager.setLogger(getLogger());
>         this.componentManager.contextualize(this.context);
> ----------------
> 
> this.componentManager.initialize is not called, with the result that the
> component manager throws a
> 
> java.lang.IllegalStateException: You cannot lookup components on an
> uninitialized ComponentManager
>         at
> org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(Excal
> iburComponentManager.java:180)
>         at org.apache.cocoon.Cocoon.configure(Cocoon.java:154)
>         at org.apache.cocoon.Cocoon.initialize(Cocoon.java:144)
>         at
> org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:583)
> 
> when I try to start Cocoon.
> 
> I'm still trying to figure out whether I have the latest CVS version - does
> anyone else have this problem?

You do not have the latest CVS update.  I can tell because the ComponentManager
instantiated should be ExcaliburComponentManager.

It looks like you updated the Avalon jars without updating your Cocoon.

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


Mime
View raw message