[ 
https://issues.apache.org/jira/browse/SOLR-4461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13672680#comment-13672680
 ] 

Aaron Greenspan commented on SOLR-4461:
---------------------------------------

So I created a new folder with the name of the core I wanted in the same place 
that I found the collection1 folder. That didn't work. I got the same error. 
Then I looked at the README.txt file for the collection1 folder and saw that 
you are actually supposed to duplicate the collection1 folder for your new 
core. (In that case, the web UI, which really doesn't want you to delete 
collection1 anyway, should just treat collection1 as some kind of default 
template that you are encouraged to duplicate to create a new core.)

So with the folder duplicated, I tried adding my new core again. It kind of 
worked. I got a new listing on the left-hand side, but I also got this new 
error:


SolrCore Initialization Failures

    new_core: 
org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: 
Could not load config for solrconfig.xml 

Please check your logs for more information


So far, I'm 0 for 3 with things-I've-tried-to-do-in-the-Solr-web-UI...
                
> 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]

Reply via email to