[xwiki-users] can't find descriptor
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
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 <[email protected]> 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 [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
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]
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 <[email protected]> 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 [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
On Tue, Mar 13, 2012 at 12:00 PM, Paul Libbrecht <[email protected]> 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 <[email protected]> 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 [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Le 13 mars 2012 à 12:16, Thomas Mortagne a écrit :
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. [...]
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".
Be my guest! ;-) been eating these since a while... Interesting how these stack-traces are becoming more informative every day! (now with the jar origin). paul 2012-03-13 12:45:57,760 [http://hoplahup.homeip.net/xwiki/bin/admin/XWiki/XWikiPreferences?editor=glo...] 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] at org.xwiki.component.internal.DefaultComponentManager.lookup(DefaultComponentManager.java:72) ~[xwiki-commons-component-default-3.5.jar:na] at com.xpn.xwiki.internal.query.ConfiguredQueryExecutorProvider.init(ConfiguredQueryExecutorProvider.java:87) [xwiki-platform-legacy-oldcore-3.5.jar:na] at com.xpn.xwiki.internal.query.ConfiguredQueryExecutorProvider.get(ConfiguredQueryExecutorProvider.java:101) [xwiki-platform-legacy-oldcore-3.5.jar:na] at com.xpn.xwiki.internal.query.ConfiguredQueryExecutorProvider.get(ConfiguredQueryExecutorProvider.java:42) [xwiki-platform-legacy-oldcore-3.5.jar:na] at org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:70) [xwiki-platform-query-manager-3.5.jar:na] at org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:236) [xwiki-platform-query-manager-3.5.jar:na] at com.xpn.xwiki.plugin.watchlist.WatchListStore.init(WatchListStore.java:313) [xwiki-platform-watchlist-api-3.5.jar:na] at com.xpn.xwiki.plugin.watchlist.WatchListPlugin.init(WatchListPlugin.java:123) [xwiki-platform-watchlist-api-3.5.jar:na] at com.xpn.xwiki.plugin.XWikiPluginManager.initPlugin(XWikiPluginManager.java:152) [xwiki-platform-legacy-oldcore-3.5.jar:na] at com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.java:88) [xwiki-platform-legacy-oldcore-3.5.jar:na] at com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.java:116) [xwiki-platform-legacy-oldcore-3.5.jar:na] at com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:1111) [xwiki-platform-legacy-oldcore-3.5.jar:na] at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:792) [xwiki-platform-legacy-oldcore-3.5.jar:na] at com.xpn.xwiki.XWiki.<init>(XWiki.java:739) [xwiki-platform-legacy-oldcore-3.5.jar:na] at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:401) [xwiki-platform-legacy-oldcore-3.5.jar:na] at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:487) [xwiki-platform-legacy-oldcore-3.5.jar:na] at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136) [xwiki-platform-legacy-oldcore-3.5.jar:na] at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) [xwiki-platform-legacy-oldcore-3.5.jar:na] at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) [struts-1.2.9.jar:1.2.9] at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) [struts-1.2.9.jar:1.2.9] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) [struts-1.2.9.jar:1.2.9] at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) [struts-1.2.9.jar:1.2.9] at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) [servlet-api.jar:na] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) [servlet-api.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) [catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na] at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128) [xwiki-platform-legacy-oldcore-3.5.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na] at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) [xwiki-platform-wysiwyg-server-3.5.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na] at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) [xwiki-platform-webdav-server-3.5.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na] at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217) [xwiki-platform-container-servlet-3.5.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na] at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) [xwiki-platform-container-servlet-3.5.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [catalina.jar:na] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [catalina.jar:na] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) [catalina.jar:na] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina.jar:na] at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567) [catalina.jar:na] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [catalina.jar:na] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) [catalina.jar:na] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) [tomcat.jar:na] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) [tomcat.jar:na] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) [tomcat.jar:na] at java.lang.Thread.run(Thread.java:680) [na:1.6.0_29]
Hi Paul, On Mar 13, 2012, at 12:26 AM, Paul Libbrecht 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]]
You need the full stack trace. Without more data I'd say you're simply missing the XWiki Logging JAR in the webapp classloader. Thanks -Vincent
It seems to prevent startup of my XWiki.
thanks in advance
Paul _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
(resending since it didn't make it to the list) On Mar 13, 2012, at 6:59 AM, Vincent Massol wrote:
Hi Paul,
On Mar 13, 2012, at 12:26 AM, Paul Libbrecht 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]]
You need the full stack trace.
Without more data I'd say you're simply missing the XWiki Logging JAR in the webapp classloader.
Thanks -Vincent
It seems to prevent startup of my XWiki.
thanks in advance
Paul
Le 13 mars 2012 à 15:02, Vincent Massol a écrit :
You need the full stack trace.
Thanks Vincent, Thomas requested it and that was sent. http://lists.xwiki.org/pipermail/users/2012-March/022250.html
Without more data I'd say you're simply missing the XWiki Logging JAR in the webapp classloader.
I suppose that means xwiki-commons-logging-api-3.5.jar and xwiki-commons-logging-logback-3.5.jar. Both are there. Among the helpers, I found that comparing to a working 3.3 was useful (and using help:effective-pom on a checkout). I see no difference (except s/3.3/3.5). As a complement I list the content of WEB-INF/lib. paul activation-1.1.jar aether-api-1.13.1.jar aether-connector-asynchttpclient-1.13.1.jar aether-connector-file-1.13.1.jar aether-connector-wagon-1.13.1.jar aether-impl-1.13.1.jar aether-spi-1.13.1.jar aether-util-1.13.1.jar ant-1.7.0.jar ant-launcher-1.7.0.jar antlr-2.7.6.jar aspectjrt-1.6.7.jar async-http-client-1.6.5.jar avalon-framework-api-4.3.1.jar avalon-framework-impl-4.3.1.jar axis-1.4.jar batik-anim-1.7.jar batik-awt-util-1.7.jar batik-bridge-1.7.jar batik-codec-1.7.jar batik-css-1.7.jar batik-dom-1.7.jar batik-ext-1.7.jar batik-extension-1.7.jar batik-gvt-1.7.jar batik-js-1.7.jar batik-parser-1.7.jar batik-rasterizer-1.7.jar batik-script-1.7.jar batik-svg-dom-1.7.jar batik-svggen-1.7.jar batik-transcoder-1.7.jar batik-util-1.7.jar batik-xml-1.7.jar bcmail-jdk14-138.jar bcmail-jdk15-1.45.jar bcprov-jdk14-138.jar bcprov-jdk15-1.45.jar c3p0-0.9.1.jar com.noelios.restlet-1.1.4.jar com.noelios.restlet.ext.servlet-1.1.4.jar commons-beanutils-1.8.0.jar commons-codec-1.4.jar commons-collections-3.2.1.jar commons-configuration-1.7.jar commons-dbcp-1.2.1.jar commons-digester-1.6.jar commons-fileupload-1.2.1.jar commons-httpclient-3.1.jar commons-io-2.1.jar commons-lang-2.4.jar commons-lang3-3.1.jar commons-logging-1.1.1.jar commons-logging-api-1.0.4.jar commons-net-1.4.1.jar commons-pool-1.2.jar commons-validator-1.1.4.jar css4j-0.13.jar cssparser-0.9.5.jar curriki-plugin-activitystream-1.11-SNAPSHOT.jar curriki-plugin-asset-1.11-SNAPSHOT.jar curriki-plugin-curriki-1.11-SNAPSHOT.jar curriki-plugin-framework-1.11-SNAPSHOT.jar curriki-plugin-licence-1.11-SNAPSHOT.jar curriki-plugin-lucene-1.11-SNAPSHOT.jar curriki-plugin-mimetype-1.11-SNAPSHOT.jar curriki-plugin-servlet-1.11-SNAPSHOT.jar curriki-plugin-spacemanager-1.11-SNAPSHOT.jar dom4j-1.6.1.jar doxia-core-1.2.jar doxia-logging-api-1.2.jar doxia-module-docbook-simple-1.2.jar doxia-module-twiki-1.2.jar doxia-sink-api-1.2.jar ecs-1.4.2.jar emory-util-classloader-2.1.jar emory-util-io-2.1.jar emory-util-security-2.1.jar ezmorph-1.0.6.jar filters-2.0.235.jar fop-1.0.jar googleapi-UNKNOWN-xwiki.jar graffito-jcr-mapping-1.0-a1-amelentev-dev.jar groovy-all-1.8.6.jar guava-10.0.jar gwt-servlet-2.4.0.jar hibernate-c3p0-3.6.9.Final.jar hibernate-commons-annotations-3.2.0.Final.jar hibernate-core-3.6.9.Final.jar hibernate-jpa-2.0-api-1.0.1.Final.jar hibernate-validator-4.1.0.Final.jar htmlcleaner-2.2.jar httpclient-4.1.2.jar httpcore-4.1.2.jar infinispan-core-5.0.1.FINAL.jar itext-2.1.5.jar ivy-2.2.0.jar jackrabbit-core-1.1-xwiki.jar jackrabbit-jcr-commons-1.4.jar jackrabbit-jcr-server-1.4.jar jackrabbit-webdav-1.4.jar java-diff-1.1.0.jar javacc-5.0.jar javassist-3.9.0.GA.jar javax.inject-1.jar jaxb-impl-2.1.12.jar jaxb2-fluent-api-3.0.jar jaxrpc-api-1.1.jar jboss-logging-3.0.0.GA.jar jboss-marshalling-1.3.0.GA.jar jboss-marshalling-river-1.3.0.GA.jar jboss-transaction-api-1.0.1.GA.jar jcaptcha-2.0-alpha-1-SNAPSHOT-500.jar jcaptcha-api-2.0-alpha-1-SNAPSHOT-500.jar jcaptcha-extension-sound-freetts-2.0-alpha-1-SNAPSHOT-500.jar jcl-over-slf4j-1.6.1.jar jclf-2.3.0.jar jcommon-1.0.17.jar jcr-1.0.jar jdom-1.1.jar jeuclid-core-3.1.5.jar jfreechart-1.0.14.jar jgroups-2.12.2.Final.jar jldap-4.3.jar joda-time-1.6.jar jodconverter-core-3.0-beta-4-xwiki-20110822.jar jrcs.diff-0.4.2.jar jrcs.rcs-0.4.2.jar json-lib-2.3-jdk15.jar jsr305-1.3.9.jar jsr311-api-1.0.jar jta-1.0.1B.jar jtidy-8.0-20060801.131059-3-dev.jar juh-3.2.1.jar jurt-3.2.1.jar jython-standalone-2.5.2-xwiki.jar log4j-1.2.13.jar log4j-over-slf4j-1.6.1.jar logback-classic-0.9.29.jar logback-core-0.9.29.jar lucene-core-2.9.4.jar mail-1.4.jar markdownpapers-core-1.2.5.jar markdownpapers-doxia-module-1.2.5.jar maven-aether-provider-3.0.4.jar maven-model-3.0.4.jar maven-model-builder-3.0.4.jar maven-repository-metadata-3.0.4.jar mockito-all-1.8.0.jar mysql-connector-java-5.1.6.jar netty-3.2.5.Final.jar org.json-2.0.jar org.osgi.core-4.0.0.jar org.restlet-1.1.4.jar org.restlet-2.0.11.jar org.restlet.ext.jaxrs-2.0.11.jar org.restlet.ext.json-1.1.4.jar org.restlet.ext.servlet-2.0.11.jar org.restlet.lib.org.json-2.0.jar org.wikimodel.wem-2.0.7-20110531.jar oro-2.0.8.jar pdfbox-0.7.1.jar picocontainer-1.2.jar plexus-classworlds-2.4.jar plexus-component-annotations-1.5.5.jar plexus-interpolation-1.14.jar plexus-utils-2.0.7.jar poi-3.0-FINAL.jar portlet-api-1.0.jar pygments-1.4-xwiki.jar quartz-1.6.5.jar radeox-1.0-b2.jar reflections-0.9.6.jar rhq-pluginAnnotations-3.0.1.jar ridl-3.2.1.jar rome-1.0.0.jar rome-1.0.jar rome-fetcher-1.0.0.jar sac-1.3.jar securityfilter-2.0.jar sisu-guice-3.0.3-no_aop.jar sisu-inject-bean-2.2.3.jar sisu-inject-plexus-2.2.3.jar slf4j-api-1.6.1.jar snuggletex-core-1.1.0.jar snuggletex-jeuclid-1.1.0.jar socialauth-1.2-beta1.jar stax-api-1.0-2.jar struts-1.2.9.jar swizzle-confluence-1.2-20080419-xwiki.jar tika-core-0.9.jar unoil-3.2.1.jar validation-api-1.0.0.GA.jar velocity-1.7.jar velocity-tools-1.4.jar wagon-provider-api-1.0-beta-6.jar ws-commons-util-1.0.2.jar xalan-2.5.1.jar xercesImpl-2.8.1.jar xml-apis-1.3.04.jar xml-apis-ext-1.3.04.jar xmlParserAPIs-2.0.2.jar xmlgraphics-commons-1.4.jar xmlrpc-client-3.1.jar xmlrpc-common-3.1.jar xmlrpc-server-3.1.jar xpp3-1.1.3.4-RC8.jar xwiki-commons-component-api-3.5.jar xwiki-commons-component-default-3.5.jar xwiki-commons-component-observation-3.5.jar xwiki-commons-configuration-api-3.5.jar xwiki-commons-context-3.5.jar xwiki-commons-environment-api-3.5.jar xwiki-commons-environment-common-3.5.jar xwiki-commons-environment-servlet-3.5.jar xwiki-commons-logging-api-3.5.jar xwiki-commons-logging-logback-3.5.jar xwiki-commons-management-3.5.jar xwiki-commons-observation-api-3.5.jar xwiki-commons-observation-local-3.5.jar xwiki-commons-properties-3.5.jar xwiki-commons-script-3.5.jar xwiki-commons-velocity-3.5.jar xwiki-commons-xml-3.5.jar xwiki-platform-action-3.5.jar xwiki-platform-activitystream-3.5.jar xwiki-platform-annotation-core-3.5.jar xwiki-platform-annotation-io-3.5.jar xwiki-platform-annotation-maintainer-3.5.jar xwiki-platform-annotation-reference-3.5.jar xwiki-platform-annotation-rest-3.5.jar xwiki-platform-annotation-scripting-3.5.jar xwiki-platform-bridge-3.5.jar xwiki-platform-cache-api-3.5.jar xwiki-platform-cache-infinispan-3.5.jar xwiki-platform-captcha-3.5.jar xwiki-platform-chart-macro-3.5.jar xwiki-platform-chart-renderer-3.5.jar xwiki-platform-classloader-api-3.5.jar xwiki-platform-classloader-protocol-attachmentjar-3.5.jar xwiki-platform-classloader-protocol-jar-3.5.jar xwiki-platform-component-multi-3.5.jar xwiki-platform-configuration-default-3.5.jar xwiki-platform-container-api-3.5.jar xwiki-platform-container-portlet-3.5.jar xwiki-platform-container-servlet-3.5.jar xwiki-platform-crypto-3.5.jar xwiki-platform-csrf-3.5.jar xwiki-platform-dashboard-macro-3.5.jar xwiki-platform-display-api-3.5.jar xwiki-platform-display-macro-3.5.jar xwiki-platform-eventstream-3.5.jar xwiki-platform-extension-api-3.5.jar xwiki-platform-extension-cluster-3.5.jar xwiki-platform-extension-handler-jar-3.5.jar xwiki-platform-extension-handler-xar-3.5.jar xwiki-platform-extension-repository-aether-3.5.jar xwiki-platform-extension-repository-xwiki-api-3.5.jar xwiki-platform-extension-repository-xwiki-handler-3.5.jar xwiki-platform-extension-repository-xwiki-model-3.5.jar xwiki-platform-extension-repository-xwiki-server-api-3.5.jar xwiki-platform-extension-script-3.5.jar xwiki-platform-formula-macro-3.5.jar xwiki-platform-formula-renderer-3.5.jar xwiki-platform-gwt-api-3.5.jar xwiki-platform-jodatime-3.5.jar xwiki-platform-legacy-annotation-3.5.jar xwiki-platform-legacy-bridge-3.5.jar xwiki-platform-legacy-observation-3.5.jar xwiki-platform-legacy-oldcore-3.5.jar xwiki-platform-linkchecker-refresher-3.5.jar xwiki-platform-mailsender-3.5.jar xwiki-platform-messagestream-3.5.jar xwiki-platform-model-3.5.jar xwiki-platform-observation-remote-3.5.jar xwiki-platform-office-importer-3.5.jar xwiki-platform-office-macro-3.5.jar xwiki-platform-office-viewer-3.5.jar xwiki-platform-oldcore-3.5.jar xwiki-platform-query-jpql-parser-3.5.jar xwiki-platform-query-manager-3.5.jar xwiki-platform-query-xwql-3.5.jar xwiki-platform-refactoring-3.5.jar xwiki-platform-rendering-macro-cache-3.5.jar xwiki-platform-rendering-macro-code-3.5.jar xwiki-platform-rendering-macro-container-3.5.jar xwiki-platform-rendering-macro-context-3.5.jar xwiki-platform-rendering-macro-gallery-3.5.jar xwiki-platform-rendering-macro-groovy-3.5.jar xwiki-platform-rendering-macro-include-3.5.jar xwiki-platform-rendering-macro-python-3.5.jar xwiki-platform-rendering-macro-rss-3.5.jar xwiki-platform-rendering-macro-script-3.5.jar xwiki-platform-rendering-macro-useravatar-3.5.jar xwiki-platform-rendering-macro-velocity-3.5.jar xwiki-platform-rendering-wikimacro-api-3.5.jar xwiki-platform-rendering-xwiki-3.5.jar xwiki-platform-rest-model-3.5.jar xwiki-platform-rest-server-3.5.jar xwiki-platform-scheduler-api-3.5.jar xwiki-platform-sheet-api-3.5.jar xwiki-platform-skin-api-3.5.jar xwiki-platform-skin-skinx-3.5.jar xwiki-platform-store-api-3.5.jar xwiki-platform-store-filesystem-3.5.jar xwiki-platform-store-filesystem-attachments-3.5.jar xwiki-platform-store-locks-3.5.jar xwiki-platform-store-serialization-3.5.jar xwiki-platform-store-transaction-3.5.jar xwiki-platform-tag-api-3.5.jar xwiki-platform-url-api-3.5.jar xwiki-platform-url-container-3.5.jar xwiki-platform-url-default-3.5.jar xwiki-platform-velocity-webapp-3.5.jar xwiki-platform-watchlist-api-3.5.jar xwiki-platform-webdav-server-3.5.jar xwiki-platform-wysiwyg-client-3.5-shared.jar xwiki-platform-wysiwyg-server-3.5.jar xwiki-platform-xml-script-3.5.jar xwiki-platform-xmlrpc-model-3.5.jar xwiki-platform-zipexplorer-3.5.jar xwiki-plugin-invitationmanager-1.0.1.jar xwiki-plugin-spacemanager-1.1.1-3.1.jar xwiki-rendering-api-3.5.jar xwiki-rendering-macro-box-3.5.jar xwiki-rendering-macro-comment-3.5.jar xwiki-rendering-macro-footnotes-3.5.jar xwiki-rendering-macro-html-3.5.jar xwiki-rendering-macro-id-3.5.jar xwiki-rendering-macro-message-3.5.jar xwiki-rendering-macro-toc-3.5.jar xwiki-rendering-syntax-doxia-3.5.jar xwiki-rendering-syntax-wikimodel-3.5.jar xwiki-rendering-syntax-xhtml-3.5.jar xwiki-rendering-syntax-xwiki10-3.5.jar xwiki-rendering-syntax-xwiki2-3.5.jar xwiki-rendering-transformation-icon-3.5.jar xwiki-rendering-transformation-linkchecker-3.5.jar xwiki-rendering-transformation-macro-3.5.jar xwiki-rendering-transformation-wikiword-3.5.jar yuicompressor-2.4.2-xwiki.jar
I traced this error to the following: In xwiki/WEB-INF/lib/, the class HqlQueryExecutor (which is probably the one I want), is found in two places: - xwiki-platform-legacy-oldcore-3.5.jar - xwiki-platform-oldcore-3.5.jar is there any one I should not use?? Thus far I believe I needed the legacy one to compile our modules... I guess this can be changed one day. paul Le 13 mars 2012 à 12:16, Thomas Mortagne a écrit :
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".
Hi Paul, On Mar 23, 2012, at 11:12 PM, Paul Libbrecht wrote:
I traced this error to the following: In xwiki/WEB-INF/lib/, the class HqlQueryExecutor (which is probably the one I want), is found in two places:
- xwiki-platform-legacy-oldcore-3.5.jar - xwiki-platform-oldcore-3.5.jar
is there any one I should not use?? Thus far I believe I needed the legacy one to compile our modules... I guess this can be changed one day.
The oldcore legacy module wraps the oldcore (ie includes it). You need to use one or the other. Thanks -Vincent
paul
Le 13 mars 2012 à 12:16, Thomas Mortagne a écrit :
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".
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (3)
-
Paul Libbrecht -
Thomas Mortagne -
Vincent Massol