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]
[...]
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
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users