On Tue, Mar 13, 2012 at 12:00 PM, Paul Libbrecht <paul(a)hoplahup.net> wrote:
Thank you Thomas,
after a morning of maven fun.... I did get a lot further with my upgrade of curriki's
core (from 3.1 to 3.5).
I have to say that this is much of a guess work ("à tâtons" in french):
- from missing dependencies, I could infer using nexus search, that they were
reformulated to something else
- from missing classes, I can easily find a missing jar (with nexus, my own knowledge, or
google)
- from extra jars (we still had plexus-container alpha-30), I could guess to get rid of
them by seeing odd exceptions
I am stuck with the below:
2012-03-13 11:54:15,269
[
http://hoplahup.homeip.net/xwiki/bin/view/Main/] WARN onfiguredQueryExecutorProvider -
Could not find a QueryExecutor with hint hibernate which is the hint for the storage
engine. the default QueryExecutor will not be used instead.
org.xwiki.component.manager.ComponentLookupException: Can't find descriptor for the
component [role = [org.xwiki.query.QueryExecutor] hint = [hibernate]]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:335)
~[xwiki-commons-component-default-3.5.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.lookup(EmbeddableComponentManager.java:147)
~[xwiki-commons-component-default-3.5.jar:na]
Would be nice to have a bit more of the stack trace to see what is
trying to lookup this component. I don't know any QueryExecutor with
this hint, there is only "hql" and "xwql" which are the supported
query languages. "hibernate" does not make much sense at this level.
Probably some code which wrongly use "hibernate" instead of "hql".
a hint here would be cute. I do not know where to
search anymore.
One thing that could help is that each release provides a list of
"implementors" for each component's contract and hint. I'm sure maven
can do that, I think it should be published.
I am not sure how i should know that I should ignore some jars...
paul
Le 13 mars 2012 à 08:35, Thomas Mortagne a écrit :
It depends what's your situation.
This error generally mean that you don't have
xwiki-commons-logging-logback jar in your classpath.
On Tue, Mar 13, 2012 at 12:26 AM, Paul Libbrecht <paul(a)hoplahup.net> wrote:
Hello XWiki experts,
how do you debug:
org.xwiki.component.manager.ComponentLookupException: Can't find descriptor
for the component [role = [org.xwiki.logging.LoggerManager] hint = [default]]
It seems to prevent startup of my XWiki.
thanks in advance
Paul
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne