title: data-config.xml lost when solrconfig.xml edited
body: <p>With solr set up for multicore (which may or may not be relevant), I had a working test system. <code>solrconfig.xml</code> lived in <code>/solr-4.4.0/example/multicore/expertise/conf</code> and looked essentially like the example solrconfig file for multicore, except for the following lines:</p>
  
  <pre><code>&lt;dataDir&gt;/data/website_data/solr_cores/expertise&lt;/dataDir&gt;
  
  &lt;requestHandler name="/dataimport" class="org.apache.solr.handler.dataimport.DataImportHandler"&gt;
    &lt;lst name="defaults"&gt;
      &lt;str name="config"&gt;/data/website_data/solr_cores/expertise/data-config.xml&lt;/str&gt;
    &lt;/lst&gt;
  &lt;/requestHandler&gt;
  </code></pre>
  
  <p>Since I wanted a language-aware solr, I updated solrconfig.xml with some select handlers (previously <code>handleSelect</code> had been <code>true</code>) and a new <code>updateRequestProcessorChain</code>. The changes to solrconf.xml look like this:</p>
  
  <pre><code>&lt;lib dir="${user.dir}/../contrib/analysis-extras/lucene-libs/" /&gt;&lt;!-- relative to solrs 'example' directory --&gt;
  &lt;lib dir="${user.dir}/../contrib/analysis-extras/lib/" /&gt;
  &lt;lib dir="${user.dir}/../dist/" regex="solr-langid-.*\.jar" /&gt;
  &lt;lib dir="${user.dir}/../contrib/langid/lib/" /&gt;    
  
  &lt;!-- required for language detection of input records --&gt;
  &lt;updateRequestProcessorChain name="languages"&gt;
      &lt;processor class="solr.LangDetectLanguageIdentifierUpdateProcessorFactory"&gt;
          &lt;lst name="invariants"&gt;
              &lt;str name="langid.fl"&gt;focus, expertise, platforms, partners, participation, additional&lt;/str&gt;
              &lt;str name="langid.whitelist"&gt;en,fr&lt;/str&gt;
              &lt;str name="langid.fallback"&gt;en&lt;/str&gt;
              &lt;str name="langid.langField"&gt;detectedlang&lt;/str&gt;
              &lt;bool name="langid.map"&gt;true&lt;/bool&gt;
              &lt;bool name="langid.map.keepOrig"&gt;false&lt;/bool&gt;
          &lt;/lst&gt;
      &lt;/processor&gt;
      &lt;processor class="solr.RunUpdateProcessorFactory" /&gt;
  &lt;/updateRequestProcessorChain&gt;
  
  &lt;!-- uses language-detecting update.chain --&gt;
  &lt;requestHandler name="/update" class="solr.UpdateRequestHandler"&gt;
      &lt;lst name="invariants"&gt;
          &lt;str name="update.chain"&gt;languages&lt;/str&gt;
      &lt;/lst&gt;
  &lt;/requestHandler&gt;
  
  &lt;requestDispatcher handleSelect="false"&gt; &lt;!-- ORIGINALLY FALSE --&gt;
      &lt;requestParsers enableRemoteStreaming="false" multipartUploadLimitInKB="2048" formdataUploadLimitInKB="2048" /&gt;
      &lt;httpCaching never304="true" /&gt;
  &lt;/requestDispatcher&gt;
  
  &lt;requestHandler name="/select" class="solr.SearchHandler"&gt;
      &lt;lst name="defaults"&gt;
          &lt;str name="defType"&gt;edismax&lt;/str&gt;
          &lt;str name="qf"&gt;focus^2, expertise^2, platforms, partners, participation, additional&lt;/str&gt;&lt;!-- default query looks in these fields, with these boosts --&gt;
          &lt;str name="f.focus.qf"&gt;focus_en focus_fr&lt;/str&gt;&lt;!-- field alias 'focus' means en AND fr versions of focus --&gt;
          &lt;str name="f.expertise.qf"&gt;expertise_en expertise_fr&lt;/str&gt;
          &lt;str name="f.platforms.qf"&gt;platforms_en platforms_fr&lt;/str&gt;
          &lt;str name="f.partners.qf"&gt;partners_en partners_fr&lt;/str&gt;
          &lt;str name="f.participation.qf"&gt;participation_en participation_fr&lt;/str&gt;
          &lt;str name="f.additional.qf"&gt;additional_en additional_fr&lt;/str&gt;
      &lt;/lst&gt;
  &lt;/requestHandler&gt;
  &lt;requestHandler name="/selectEN" class="solr.SearchHandler"&gt;
      &lt;lst name="defaults"&gt;
          &lt;str name="defType"&gt;edismax&lt;/str&gt;
          &lt;str name="qf"&gt;focus^2, expertise^2, platforms, partners, participation, additional&lt;/str&gt;
      &lt;/lst&gt;
      &lt;lst name="invariants"&gt;
          &lt;str name="fq"&gt;detectedlang:en&lt;/str&gt;
          &lt;str name="f.focus.qf"&gt;focus_en&lt;/str&gt;
          &lt;str name="f.expertise.qf"&gt;expertise_en&lt;/str&gt;
          &lt;str name="f.platforms.qf"&gt;platforms_en&lt;/str&gt;
          &lt;str name="f.partners.qf"&gt;partners_en&lt;/str&gt;
          &lt;str name="f.participation.qf"&gt;participation_en&lt;/str&gt;
          &lt;str name="f.additional.qf"&gt;additional_en&lt;/str&gt;
          &lt;str name="uf"&gt;* -focus_* -expertise_* -platforms_* -partners_* -participation_* -additional_*&lt;/str&gt;&lt;!-- direct query any field except language-defined ones --&gt;
          &lt;str name="fl"&gt;*,focus:focus_en, expertise:expertise_en, platforms:platforms_en, partners:partners_en,
              participation:participation_en, additional:additional_en&lt;/str&gt;&lt;!-- return lang-defined field when asked for generic field --&gt;
      &lt;/lst&gt;
  &lt;/requestHandler&gt;
  &lt;requestHandler name="/selectFR" class="solr.SearchHandler"&gt;
      &lt;lst name="defaults"&gt;
          &lt;str name="defType"&gt;edismax&lt;/str&gt;
          &lt;str name="qf"&gt;focus^2, expertise^2, platforms, partners, participation, additional&lt;/str&gt;
      &lt;/lst&gt;
      &lt;lst name="invariants"&gt;
          &lt;str name="fq"&gt;detectedlang:fr&lt;/str&gt;
          &lt;str name="f.focus.qf"&gt;focus_fr&lt;/str&gt;
          &lt;str name="f.expertise.qf"&gt;expertise_fr&lt;/str&gt;
          &lt;str name="f.platforms.qf"&gt;platforms_fr&lt;/str&gt;
          &lt;str name="f.partners.qf"&gt;partners_fr&lt;/str&gt;
          &lt;str name="f.participation.qf"&gt;participation_fr&lt;/str&gt;
          &lt;str name="f.additional.qf"&gt;additional_fr&lt;/str&gt;
          &lt;str name="uf"&gt;* -focus_* -expertise_* -platforms_* -partners_* -participation_* -additional_*&lt;/str&gt;&lt;!-- direct query any field except language-defined ones --&gt;
          &lt;str name="fl"&gt;*,focus:focus_fr, expertise:expertise_fr, platforms:platforms_fr, partners:partners_fr,
              participation:participation_fr, additional:additional_fr&lt;/str&gt;&lt;!-- return lang-defined field when asked for generic field --&gt;
      &lt;/lst&gt;
  &lt;/requestHandler&gt;
  </code></pre>
  
  <p>Now I get the error: 
  <code>Can't find resource '/data-config.xml' in classpath or 'multicore/expertise/conf/', cwd=/solr-4.4.0/example&lt;/str&gt;</code></p>
  
  <p>The datapath didn't change. The data-config.xml file exists where it is supposed to be and its permissions are correct. Why can my original solrconf.xml find data-config.xml and my new one can't?</p>