[
https://issues.apache.org/jira/browse/SOLR-4461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13672812#comment-13672812
]
Shawn Heisey commented on SOLR-4461:
------------------------------------
[~thinkcomp] We could definitely do a lot better here. The new UI
functionality in 4.x was created by developers who really know Solr well, so
thinking about things from a novice perspective isn't easy. The previous UI
was read-only, so this really is new stuff - a complete rewrite.
You'd need to check your Solr log to be absolutely certain why the core failed
to initialize, but I'm betting it's because when you copied collection1, Solr
was up and running and the write.lock file was copied as well, so Solr was not
able to lock the directory.
> gui issue
> ---------
>
> Key: SOLR-4461
> URL: https://issues.apache.org/jira/browse/SOLR-4461
> Project: Solr
> Issue Type: Bug
> Components: web gui
> Affects Versions: 4.1
> Environment: Debian Squeeze
> Reporter: ewe
> Priority: Minor
>
> In the web gui, under "core Admin", you can create a new core. When i press "
> +add core" and i want to create the default "new_core" I will get next
> message:
> Error CREATEing SolrCore 'new_core': Unable to create core: new_core
> When i reload the screen an error pops up:
> SolrCore Initialization Failures new_core:
> org.apache.solr.common.SolrException:org.apache.solr.common.SolrException:
> Could not load config for solrconfig.xml
> and the logging provides me with the following:
> org.apache.solr.common.SolrException: Could not load config for solrconfig.xml
> at
> org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:973)
> at org.apache.solr.core.CoreContainer.create(CoreContainer.java:1033)
> at
> org.apache.solr.handler.admin.CoreAdminHandler.handleCreateAction(CoreAdminHandler.java:521)
> at
> org.apache.solr.handler.admin.CoreAdminHandler.handleRequestBody(CoreAdminHandler.java:143)
> at
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
> at
> org.apache.solr.servlet.SolrDispatchFilter.handleAdminRequest(SolrDispatchFilter.java:365)
> at
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:174)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
> at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
> at java.lang.Thread.run(Thread.java:662)
> Caused by: java.io.IOException: Can't find resource 'solrconfig.xml' in
> classpath or 'solr/new_core/conf/', cwd=/var/lib/tomcat6
> at
> org.apache.solr.core.SolrResourceLoader.openResource(SolrResourceLoader.java:316)
> at
> org.apache.solr.core.SolrResourceLoader.openConfig(SolrResourceLoader.java:281)
> at org.apache.solr.core.Config.<init>(Config.java:103)
> at org.apache.solr.core.Config.<init>(Config.java:73)
> at org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:117)
> at
> org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:971)
> ... 18 more
> Any ideas?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]