You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by rufio <ru...@op.pl> on 2003/08/21 18:05:14 UTC
C2.1 and own root sitemp /Internal Server Error [sending second
time]
Hi all!
I wrote own (root) sitemap.xmap and copied some needed components from
the original one.
Trying to get any url I get this error:
-------------------
Internal Server Error
Message: UnnamedSelector: ComponentSelector Attempted to retrieve
component with null hint.
Description: org.apache.avalon.framework.component.ComponentException:
UnnamedSelector: ComponentSelector Attempted to retrieve component with
null hint.
org.apache.avalon.framework.component.ComponentException:
UnnamedSelector: ComponentSelector Attempted to retrieve component with
null hint.
-------------------
I don't send whole sitemap so I don't expect more then some hints.
Messages suggests problems with selectors but I don't define nor use
any.
What's "null hint"?
Regards, Rufio
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: C2.1 and own root sitemp /Internal Server Error [sending second time]
Posted by Geoff Howard <co...@leverageweb.com>.
Quoting rufio <ru...@op.pl>:
> on Thu, 21 Aug 2003 12:26:46 -0400 Geoff Howard <co...@leverageweb.com>
> wrote:
>
> > the ComponentSelector has nothing to do with the map:selector and
> > family. Probably this error means that you forgot to define a default
> > generator, etc. and have pipelines which depend on the definition of a
> > default.
>
> Thanx for the hint I asked for.
> I copied whole <map:components/> from the original sitemap.xmap so it
> won't cause problems.
>
> Does having unused components have impact on performance? or maybe just
> compile time of sitemap?
I have not tested this but my understanding is that having unused components
can needlessly increase startup time and will take more memory. This is based
ont the pool-min attribute. At startup, this should cause the container to
create exactly pool-min instances of each of those components, even ones you
never reference. I may be wrong, so if you feel like putting together a test
I'd be grateful for the confirmation/correction.
Your problem though was probably only related to one component. You can still
disable all the ones you don't use, you just need to make sure you account for
it everywhere you need to. Feel free to ask for specific help doing this, but
you'll need to provide more specific details.
Geoff
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: C2.1 and own root sitemp /Internal Server Error [sending second
time]
Posted by rufio <ru...@op.pl>.
on Thu, 21 Aug 2003 12:26:46 -0400 Geoff Howard <co...@leverageweb.com>
wrote:
> the ComponentSelector has nothing to do with the map:selector and
> family. Probably this error means that you forgot to define a default
> generator, etc. and have pipelines which depend on the definition of a
> default.
Thanx for the hint I asked for.
I copied whole <map:components/> from the original sitemap.xmap so it
won't cause problems.
Does having unused components have impact on performance? or maybe just
compile time of sitemap?
Regards, Rufio
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: C2.1 and own root sitemp /Internal Server Error [sending second
time]
Posted by Geoff Howard <co...@leverageweb.com>.
rufio wrote:
> Hi all!
> I wrote own (root) sitemap.xmap and copied some needed components from
> the original one.
> Trying to get any url I get this error:
>
> -------------------
> Internal Server Error
>
> Message: UnnamedSelector: ComponentSelector Attempted to retrieve
> component with null hint.
>
> Description: org.apache.avalon.framework.component.ComponentException:
> UnnamedSelector: ComponentSelector Attempted to retrieve component with
> null hint.
>
> org.apache.avalon.framework.component.ComponentException:
> UnnamedSelector: ComponentSelector Attempted to retrieve component with
> null hint.
> -------------------
>
> I don't send whole sitemap so I don't expect more then some hints.
> Messages suggests problems with selectors but I don't define nor use
> any.
>
> What's "null hint"?
the ComponentSelector has nothing to do with the map:selector and
family. Probably this error means that you forgot to define a default
generator, etc. and have pipelines which depend on the definition of a
default.
Send your sitemap to the list and someone can spot it if you can't.
Geoff
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org