Does whatever user running jetty have enough right to create a
/var/local/xwiki/solr folder ?
On Tue, Feb 3, 2015 at 10:48 AM, Marc AUDEFROY <audefroy.marc(a)gmail.com> wrote:
Oh, sorry :p I deleted /var/local/xwiki/solr
2015-02-03 10:35:08.925:INFO:oejs.Server:main: jetty-9.2.1.v20140609
2015-02-03 10:35:08.948:INFO:oejdp.ScanningAppProvider:main: Deployment monitor
[file:/opt/web/mybase/webapps/] at interval 1
2015-02-03 10:35:10.980:INFO:oejw.StandardDescriptorProcessor:main: NO JSP Support for /,
did not find org.apache.jasper.servlet.JspServlet
2015-02-03 10:35:19,584 [main] INFO o.x.s.s.i.EmbeddedSolrInstance - Starting embedded
Solr server...
2015-02-03 10:35:19,591 [main] INFO o.x.s.s.i.EmbeddedSolrInstance - Using Solr home
directory: [/var/local/xwiki/solr]
2015-02-03 10:35:20,162 [main] ERROR o.x.s.s.i.SolrInstanceProvider -
org.xwiki.component.manager.ComponentLookupException: Failed to lookup component
[org.xwiki.search.solr.internal.EmbeddedSolrInstance] identified by [role = [interface
org.xwiki.search.solr.internal.api.SolrInstance] hint = [embedded]]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:380)
[xwiki-commons-legacy-component-default-6.4.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
[xwiki-commons-legacy-component-default-6.4.jar:na]
at
org.xwiki.search.solr.internal.SolrInstanceProvider.initialize(SolrInstanceProvider.java:71)
~[xwiki-platform-search-solr-api-6.4.jar:na]
at
org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)
[xwiki-commons-legacy-component-default-6.4.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:355)
[xwiki-commons-legacy-component-default-6.4.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:410)
[xwiki-commons-legacy-component-default-6.4.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:378)
[xwiki-commons-legacy-component-default-6.4.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
[xwiki-commons-legacy-component-default-6.4.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:334)
[xwiki-commons-legacy-component-default-6.4.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:410)
[xwiki-commons-legacy-component-default-6.4.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:214)
[xwiki-commons-legacy-component-default-6.4.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstanceList(EmbeddableComponentManager.java:198)
[xwiki-commons-legacy-component-default-6.4.jar:na]
at
org.xwiki.observation.internal.DefaultObservationManager.initializeListeners(DefaultObservationManager.java:164)
[xwiki-commons-observation-local-6.4.jar:na]
at
org.xwiki.observation.internal.DefaultObservationManager.getListenersByEvent(DefaultObservationManager.java:131)
[xwiki-commons-observation-local-6.4.jar:na]
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:267)
[xwiki-commons-observation-local-6.4.jar:na]
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:321)
[xwiki-commons-observation-local-6.4.jar:na]
at
org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized(XWikiServletContextListener.java:118)
[xwiki-platform-container-servlet-6.4.jar:na]
at
org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800)
[jetty-server-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:446)
[jetty-servlet-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:792)
[jetty-server-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:296)
[jetty-servlet-9.2.1.v20140609.jar:9.2.1.v20140609]
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1341)
[jetty-webapp-9.2.1.v20140609.jar:9.2.1.v20140609]
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1334)
[jetty-webapp-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:744)
[jetty-server-9.2.1.v20140609.jar:9.2.1.v20140609]
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:497)
[jetty-webapp-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
[jetty-util-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:41)
[jetty-deploy-9.2.1.v20140609.jar:9.2.1.v20140609]
at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:186)
[jetty-deploy-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:498)
[jetty-deploy-9.2.1.v20140609.jar:9.2.1.v20140609]
at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:146)
[jetty-deploy-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:180)
[jetty-deploy-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:64)
[jetty-deploy-9.2.1.v20140609.jar:9.2.1.v20140609]
at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:605)
[jetty-util-9.2.1.v20140609.jar:9.2.1.v20140609]
at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:528)
[jetty-util-9.2.1.v20140609.jar:9.2.1.v20140609]
at org.eclipse.jetty.util.Scanner.scan(Scanner.java:391)
[jetty-util-9.2.1.v20140609.jar:9.2.1.v20140609]
at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:313)
[jetty-util-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
[jetty-util-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:150)
[jetty-deploy-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
[jetty-util-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:560)
[jetty-deploy-9.2.1.v20140609.jar:9.2.1.v20140609]
at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:235)
[jetty-deploy-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
[jetty-util-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
[jetty-util-9.2.1.v20140609.jar:9.2.1.v20140609]
at org.eclipse.jetty.server.Server.start(Server.java:357)
[jetty-server-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
[jetty-util-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:60)
[jetty-server-9.2.1.v20140609.jar:9.2.1.v20140609]
at org.eclipse.jetty.server.Server.doStart(Server.java:324)
[jetty-server-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
[jetty-util-9.2.1.v20140609.jar:9.2.1.v20140609]
at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1255)
[jetty-xml-9.2.1.v20140609.jar:9.2.1.v20140609]
at java.security.AccessController.doPrivileged(Native Method) [na:1.7.0_65]
at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1174)
[jetty-xml-9.2.1.v20140609.jar:9.2.1.v20140609]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_65]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
~[na:1.7.0_65]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[na:1.7.0_65]
at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_65]
at org.eclipse.jetty.start.Main.invokeMain(Main.java:306)
[start.jar:9.2.1.v20140609]
at org.eclipse.jetty.start.Main.start(Main.java:755) [start.jar:9.2.1.v20140609]
at org.eclipse.jetty.start.Main.main(Main.java:108) [start.jar:9.2.1.v20140609]
Caused by: org.xwiki.component.phase.InitializationException: Failed to initialize the
Solr embedded server with home directory set to [/var/local/xwiki/solr]
at
org.xwiki.search.solr.internal.EmbeddedSolrInstance.initialize(EmbeddedSolrInstance.java:103)
~[xwiki-platform-search-solr-api-6.4.jar:na]
at
org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)
[xwiki-commons-legacy-component-default-6.4.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:355)
[xwiki-commons-legacy-component-default-6.4.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:410)
[xwiki-commons-legacy-component-default-6.4.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:378)
[xwiki-commons-legacy-component-default-6.4.jar:na]
... 57 common frames omitted
Caused by: org.apache.solr.client.solrj.SolrServerException: Failed to initialize the
Solr core. Please check the configuration and log messages.
at
org.xwiki.search.solr.internal.EmbeddedSolrInstance.createCoreContainer(EmbeddedSolrInstance.java:113)
~[xwiki-platform-search-solr-api-6.4.jar:na]
at
org.xwiki.search.solr.internal.EmbeddedSolrInstance.initialize(EmbeddedSolrInstance.java:96)
~[xwiki-platform-search-solr-api-6.4.jar:na]
... 61 common frames omitted
2015-02-03 10:35:20,165 [main] ERROR .o.i.DefaultObservationManager - Failed to lookup
listeners
org.xwiki.component.manager.ComponentLookupException: Failed to lookup component [role =
[interface org.xwiki.observation.EventListener] hint = [solr.availablelocales]]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:216)
~[xwiki-commons-legacy-component-default-6.4.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstanceList(EmbeddableComponentManager.java:198)
~[xwiki-commons-legacy-component-default-6.4.jar:na]
at
org.xwiki.observation.internal.DefaultObservationManager.initializeListeners(DefaultObservationManager.java:164)
[xwiki-commons-observation-local-6.4.jar:na]
at
org.xwiki.observation.internal.DefaultObservationManager.getListenersByEvent(DefaultObservationManager.java:131)
[xwiki-commons-observation-local-6.4.jar:na]
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:267)
[xwiki-commons-observation-local-6.4.jar:na]
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:321)
[xwiki-commons-observation-local-6.4.jar:na]
at
org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized(XWikiServletContextListener.java:118)
[xwiki-platform-container-servlet-6.4.jar:na]
at
org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800)
[jetty-server-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:446)
[jetty-servlet-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:792)
[jetty-server-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:296)
[jetty-servlet-9.2.1.v20140609.jar:9.2.1.v20140609]
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1341)
[jetty-webapp-9.2.1.v20140609.jar:9.2.1.v20140609]
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1334)
[jetty-webapp-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:744)
[jetty-server-9.2.1.v20140609.jar:9.2.1.v20140609]
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:497)
[jetty-webapp-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
[jetty-util-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:41)
[jetty-deploy-9.2.1.v20140609.jar:9.2.1.v20140609]
at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:186)
[jetty-deploy-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:498)
[jetty-deploy-9.2.1.v20140609.jar:9.2.1.v20140609]
at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:146)
[jetty-deploy-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:180)
[jetty-deploy-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:64)
[jetty-deploy-9.2.1.v20140609.jar:9.2.1.v20140609]
at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:605)
[jetty-util-9.2.1.v20140609.jar:9.2.1.v20140609]
at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:528)
[jetty-util-9.2.1.v20140609.jar:9.2.1.v20140609]
at org.eclipse.jetty.util.Scanner.scan(Scanner.java:391)
[jetty-util-9.2.1.v20140609.jar:9.2.1.v20140609]
at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:313)
[jetty-util-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
[jetty-util-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:150)
[jetty-deploy-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
[jetty-util-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:560)
[jetty-deploy-9.2.1.v20140609.jar:9.2.1.v20140609]
at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:235)
[jetty-deploy-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
[jetty-util-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
[jetty-util-9.2.1.v20140609.jar:9.2.1.v20140609]
at org.eclipse.jetty.server.Server.start(Server.java:357)
[jetty-server-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
[jetty-util-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:60)
[jetty-server-9.2.1.v20140609.jar:9.2.1.v20140609]
at org.eclipse.jetty.server.Server.doStart(Server.java:324)
[jetty-server-9.2.1.v20140609.jar:9.2.1.v20140609]
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
[jetty-util-9.2.1.v20140609.jar:9.2.1.v20140609]
at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1255)
[jetty-xml-9.2.1.v20140609.jar:9.2.1.v20140609]
at java.security.AccessController.doPrivileged(Native Method) [na:1.7.0_65]
at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1174)
[jetty-xml-9.2.1.v20140609.jar:9.2.1.v20140609]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_65]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
~[na:1.7.0_65]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[na:1.7.0_65]
at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_65]
at org.eclipse.jetty.start.Main.invokeMain(Main.java:306)
[start.jar:9.2.1.v20140609]
at org.eclipse.jetty.start.Main.start(Main.java:755) [start.jar:9.2.1.v20140609]
at org.eclipse.jetty.start.Main.main(Main.java:108) [start.jar:9.2.1.v20140609]
Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to lookup
component [org.xwiki.search.solr.internal.SolrInstanceProvider] identified by [role =
[javax.inject.Provider<org.xwiki.search.solr.internal.api.SolrInstance>] hint =
[default]]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:380)
~[xwiki-commons-legacy-component-default-6.4.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
~[xwiki-commons-legacy-component-default-6.4.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:334)
~[xwiki-commons-legacy-component-default-6.4.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:410)
~[xwiki-commons-legacy-component-default-6.4.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:214)
~[xwiki-commons-legacy-component-default-6.4.jar:na]
... 47 common frames omitted
Caused by: org.xwiki.component.phase.InitializationException: Failed to lookup configured
Solr instance type [embedded]
at
org.xwiki.search.solr.internal.SolrInstanceProvider.initialize(SolrInstanceProvider.java:74)
~[xwiki-platform-search-solr-api-6.4.jar:na]
at
org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)
~[xwiki-commons-legacy-component-default-6.4.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:355)
~[xwiki-commons-legacy-component-default-6.4.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:410)
~[xwiki-commons-legacy-component-default-6.4.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:378)
~[xwiki-commons-legacy-component-default-6.4.jar:na]
... 51 common frames omitted
2015-02-03 10:35:20.497:INFO:oejsh.ContextHandler:main: Started
o.e.j.w.WebAppContext@12c3882d{/,[file:/opt/web/mybase/webapps/ROOT/,
jar:file:/opt/web/mybase/webapps/ROOT/WEB-INF/lib/jquery-ui-touch-punch-0.2.3-2.jar!/META-INF/resources,
jar:file:/opt/web/mybase/webapps/ROOT/WEB-INF/lib/html5shiv-3.7.2.jar!/META-INF/resources,
jar:file:/opt/web/mybase/webapps/ROOT/WEB-INF/lib/respond-1.4.2.jar!/META-INF/resources,
jar:file:/opt/web/mybase/webapps/ROOT/WEB-INF/lib/less-1.7.0.jar!/META-INF/resources,
jar:file:/opt/web/mybase/webapps/ROOT/WEB-INF/lib/xwiki-platform-tree-webjar-6.4.jar!/META-INF/resources,
jar:file:/opt/web/mybase/webapps/ROOT/WEB-INF/lib/xwiki-platform-job-webjar-6.4.jar!/META-INF/resources,
jar:file:/opt/web/mybase/webapps/ROOT/WEB-INF/lib/jquery-ui-1.11.1.jar!/META-INF/resources,
jar:file:/opt/web/mybase/webapps/ROOT/WEB-INF/lib/jquery-1.11.1.jar!/META-INF/resources,
jar:file:/opt/web/mybase/webapps/ROOT/WEB-INF/lib/bootstrap-3.3.1.jar!/META-INF/resources,
jar:file:/opt/web/mybase/webapps/ROOT/WEB-INF/lib/font-awesome-4.2.0.jar!/META-INF/resources,
jar:file:/opt/web/mybase/webapps/ROOT/WEB-INF/lib/requirejs-2.1.15.jar!/META-INF/resources,
jar:file:/opt/web/mybase/webapps/ROOT/WEB-INF/lib/jstree-3.0.8.jar!/META-INF/resources,
jar:file:/opt/web/mybase/webapps/ROOT/WEB-INF/lib/colpick-2.0.2.jar!/META-INF/resources],AVAILABLE}{/ROOT}
2015-02-03 10:35:20.513:INFO:oejs.ServerConnector:main: Started
ServerConnector@3147e478{HTTP/1.1}{0.0.0.0:80}
2015-02-03 10:35:20.514:INFO:oejs.Server:main: Started @12296ms
Marc
On 03 Feb 2015, at 10:41, Clemens
Klein-Robbenhaar <c.robbenhaar(a)espresto.com> wrote:
On 02/03/2015 10:38 AM, Marc AUDEFROY wrote:
Hi,
Thanks for your response.
I use Xwiki in Jetty and I remove dir in /var/local/xwiki/solr
Here the stack trace of error :
2015-02-03 10:35:08.925:INFO:oejs.Server:main: jetty-9.2.1.v20140609
2015-02-03 10:35:08.948:INFO:oejdp.ScanningAppProvider:main: Deployment monitor
[file:/opt/web/mybase/webapps/] at interval 1
2015-02-03 10:35:10.980:INFO:oejw.StandardDescriptorProcessor:main: NO JSP Support for /,
did not find org.apache.jasper.servlet.JspServlet
2015-02-03 10:35:19,584 [main] INFO o.x.s.s.i.EmbeddedSolrInstance - Starting embedded
Solr server...
2015-02-03 10:35:19,591 [main] INFO o.x.s.s.i.EmbeddedSolrInstance - Using Solr home
directory: [/var/local/xwiki/solr]
2015-02-03 10:35:20,162 [main] ERROR o.x.s.s.i.SolrInstanceProvider -
org.xwiki.component.manager.ComponentLookupException: Failed to lookup component
[org.xwiki.search.solr.internal.EmbeddedSolrInstance] identified by [role = [interface
org.xwiki.search.solr.internal.api.SolrInstance] hint = [embedded]]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:380)
[xwiki-commons-legacy-component-default-6.4.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
[xwiki-commons-legacy-component-default-6.4.jar:na]
at
org.xwiki.search.solr.internal.SolrInstanceProvider.initialize(SolrInstanceProvider.java:71)
~[xwiki-platform-search-solr-api-6.4.jar:na]
at
org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)
[xwiki-commons-legacy-component-default-6.4.jar:na]
[...]
Cliffhanger here ;)
Is this error message followed later down by a
"Caused by: ..."
That should be the source reason why it is not found
Clemens
Marc
> On 03 Feb 2015, at 10:20, Clemens Klein-Robbenhaar <c.robbenhaar(a)espresto.com>
wrote:
>
> On 02/03/2015 08:48 AM, Marc AUDEFROY wrote:
>> Hello all,
>>
>> I migrated Xwiki to 6.3 to 6.4 but I have this issue :
http://jira.xwiki.org/browse/XE-1463 <http://jira.xwiki.org/browse/XE-1463>
>> I try to delete data/solr but I deleted the wrong dir and I destroy the dir
containing “org.xwiki.search.solr.internal.EmbeddedSolrInstance”.
>>
>
> Which directory is the one you really removed?
> Actually it looks like the "right" directory, that is
"data/solr"
>
> If you remove (rename/move away) the data/solr directory (stopping the server before
doing so and starting it afterwards)
> then on startup the server will recreate it, including a
data/solr/lib/xwiki-platform-search-solr-server-plugin-6.4.jar
> with some necessary classes and stuff
>
> The class org.xwiki.search.solr.internal.EmbeddedSolrInstance however is in the
webapps/xwiki/WEB-INF/lib/xwiki-platform-search-solr-api-6.4.jar
> and that file should better still be there, or you would have to reinstall XWiki
6.4.
>
> However it looks like there is some other error with the setup.
> Are there any other error messages in the log, either before or immediately after the
error you posted?
> Any chance the data directory is not writeable by the user running XWiki or the like
?
>
> I can reproduce your error message by destructively doing a "chmod 000
data/solr".
> A few lines below I also get an error message saying " Caused by:
java.lang.IllegalArgumentException: The given path [data/solr] must be a readable and
writable directory" in the log.
> You might be able to find something similar that explains the root cause of the
issue.
>
>
> Cheers,
> Clemens
>
>> Obviously… When I start XWiki, I have this error :p
>>
>> 2015-02-02 17:56:39,567 [main] ERROR o.x.s.s.i.SolrInstanceProvider -
>> org.xwiki.component.manager.ComponentLookupException: Failed to lookup component
[org.xwiki.search.solr.internal.EmbeddedSolrInstance] identified by [role = [interface
org.xwiki.search.solr.internal.api.SolrInstance] hint = [embedded]]
>>
>> How do in order to desactived solr and reinstall this with extension manager? Or
another solution?
>>
>> Thanks!
>>
>> Marc
>> _______________________________________________
_______________________________________________
users mailing list
users(a)xwiki.org <mailto:users@xwiki.org>
http://lists.xwiki.org/mailman/listinfo/users
<http://lists.xwiki.org/mailman/listinfo/users>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users