You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Stuart Roebuck <st...@adolos.co.uk> on 2002/06/12 22:50:43 UTC

Problems with my.roles going from 2.0.2 to 2.0.3

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.

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


RE: Problems with my.roles going from 2.0.2 to 2.0.3

Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Stephan Michels [mailto:stephan@vern.chem.tu-berlin.de]
> 
> 
> On Wed, 12 Jun 2002, 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.
> 
> Cocoon uses now the SourceResolver from Excalibur:
> org.apache.excalibur.source.SourceResolver.
> 
> Is that our Problem?

Not in 2.0.3

Vadim


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


Re: Problems with my.roles going from 2.0.2 to 2.0.3

Posted by Stephan Michels <st...@vern.chem.tu-berlin.de>.

On Wed, 12 Jun 2002, 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.

Cocoon uses now the SourceResolver from Excalibur:
org.apache.excalibur.source.SourceResolver.

Is that our Problem?

Stephan Michels.


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


Re: Problems with my.roles going from 2.0.2 to 2.0.3

Posted by Stuart Roebuck <st...@adolos.co.uk>.
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