cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stuart Roebuck <stuart.roeb...@adolos.co.uk>
Subject Re: Problems with my.roles going from 2.0.2 to 2.0.3
Date Wed, 12 Jun 2002 21:07:42 GMT
On Wednesday, June 12, 2002, at 09:50 pm, Stuart Roebuck wrote:

> In order to resolve some problems in 2.0.2 and accommodate the changes 
> in SourceResolvers between 2.0.2 and 2.0.3 I have moved my project to 
> the latest 2.0.3 CVS and I'm now having problems using one of my own 
> non-sitemap components that was working fine in 2.0.2.
>
> I've done a complete clean build of my own classes and 2.0.3.
>
> My 'my.roles' file is being found okay, if I move it I get a file not 
> found error on it.
>
> My Component is being 'composed' correctly.
>
> But the first time I use it I get:
>
>> org.apache.avalon.framework.component.ComponentException: Could not 
>> find component
>>         at 
>> org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup
>> (ExcaliburComponentManager.java:341)
>>         at org.apache.cocoon.components.CocoonComponentManager.lookup
>> (CocoonComponentManager.java:167)
>>         at 
>> org.apache.avalon.excalibur.component.DefaultComponentFactory$ComponentManagerProxy.
>> lookup(DefaultComponentFactory.java:314)
>>         at 
>> org.apache.avalon.excalibur.component.DefaultComponentFactory$ComponentManagerProxy.
>> lookup(DefaultComponentFactory.java:314)
>
> Any thoughts of anything that could have changed between 2.0.2 and 
> 2.0.3 that would require a change to my component?  Is there anything 
> more strict about registration of components or interface changes that 
> would not show up as compile errors.

I've also detected that 'configure' method of the component doesn't 
appear to being called.

Stuart.

            Public Key - 1024D/88DD65AF 2001-11-23 Stuart Roebuck (Adolos)
      Key fingerprint = 89D9 E405 F8B1 9B22 0FA2  F2C1 9E57 5AB1 88DD 65AF
-------------------------------------------------------------------------
Stuart Roebuck                                  stuart.roebuck@adolos.com
Systems Architect                             Java, XML, MacOS X, XP, 
etc.
ADOLOS                                           <http://www.adolos.com/>


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


Mime
View raw message