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

Stefan Matheis (steffkes) commented on SOLR-4461:
-------------------------------------------------

[~ewe] you have to create the folder manually, the same goes for putting your 
schema.xml and solrconfig.xml in there - after having that done, you can create 
a new core. please try that and reply to this issue.
                
> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to