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

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

As a new Solr user I just ran into this same problem. What is the point in 
having a web-based interface if it just requires you to go to the command line 
to do what is probably the most basic and necessary task once the software is 
running?

Also, why doesn't the web-based error instruct you to create the folder at the 
command line? And where is the folder supposed to be created? The default Solr 
tarball has a pretty complex folder hierarchy as it is, with everything being 
run out of the "example" folder which is counterintuitive enough to begin 
with...
                
> 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