It's probably the change that made the default example use the new solr.xml 
stuff - that change was done to force just these kind of fails so that they 
would be discovered and fixed.

Ideally, this stuff would have been slowly found on 5x before this was pushed 
back to 4x without full tests or the example changed and tested, and I brought 
that up long ago, but at this point, the path of least resistance was to force 
this change as the default on 4x and trunk so that we can fix this stuff.

- Mark

On May 7, 2013, at 2:05 PM, Robert Muir <[email protected]> wrote:

> Thanks for confirming Hoss. I hit this today too when trying to test some 
> changes to the build system.
> 
> Is anyone looking at this? the build/packaging has been broken now for like 
> 10+ days. 
> 
> I'll give it a few days before i go down the path of binary-searching for the 
> offending svn revision and reverting it.
> 
> On Sat, Apr 27, 2013 at 12:39 AM, Chris Hostetter <[email protected]> 
> wrote:
> 
> :      [exec]     test solr example w/ Java 6...
> :      [exec]       start Solr instance 
> (log=/usr/home/hudson/hudson-slave/workspace/Lucene-Solr-SmokeRelease-4.x/lucene/build/fakeReleaseTmp/unpack/solr-4.4.0-java6/solr-example.log)...
> :      [exec]       startup done
> :      [exec]       test utf8...
> :      [exec]
> :      [exec] command "sh ./exampledocs/test_utf8.sh" failed:
> :      [exec] ERROR: Could not curl to Solr - is curl installed? Is Solr not 
> running?
> 
> This is not a fluke -- the Solr example configs are broken on both trunk &
> 4x branch (appears to be because of the changes to how core discovery
> works?) ...
> 
> hossman@frisbee:~/lucene/4x_dev/solr/example$ java -jar start.jar
> ...
> 636  [main] INFO  org.apache.solr.core.SolrResourceLoader  – solr home 
> defaulted to 'solr/' (could not find system property or JNDI)
> 642  [main] INFO  org.apache.solr.core.CoreContainer  – looking for solr 
> config file: /home/hossman/lucene/4x_dev/solr/example/solr/solr.xml
> ...
> 647  [main] INFO  org.apache.solr.core.CoreContainer  – Loading CoreContainer 
> using Solr Home: 'solr/'
> 648  [main] INFO  org.apache.solr.core.SolrResourceLoader  – new 
> SolrResourceLoader for directory: 'solr/'
> 782  [main] INFO  org.apache.solr.core.SolrCoreDiscoverer  – Looking for 
> cores in /home/hossman/lucene/4x_dev/solr/example/solr
> 783  [main] INFO  org.apache.solr.core.SolrCoreDiscoverer  – Discovered 
> properties file 
> /home/hossman/lucene/4x_dev/solr/example/solr/collection1/core.properties, 
> adding to cores
> ...
> 953  [coreLoadExecutor-3-thread-1] INFO  org.apache.solr.core.CoreContainer  
> – Creating SolrCore 'collection1' using instanceDir: solr/solr/collection1
> 954  [coreLoadExecutor-3-thread-1] INFO  
> org.apache.solr.core.SolrResourceLoader  – new SolrResourceLoader for 
> directory: 'solr/solr/collection1/'
> 959  [coreLoadExecutor-3-thread-1] ERROR org.apache.solr.core.CoreContainer  
> – Failed to load file 
> /home/hossman/lucene/4x_dev/solr/example/solr/solr/collection1/solrconfig.xml
> 960  [coreLoadExecutor-3-thread-1] ERROR org.apache.solr.core.CoreContainer  
> – Unable to create core: collection1
> org.apache.solr.common.SolrException: Could not load config for solrconfig.xml
> ...
> 
> 
> -Hoss
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to