title: Indexing failed. Rolled back all changes. (Solr DataImport)
body: <p>When I try to run <code>domain.com:8080/solr/dataimport?command=full-import</code>, I get the error <code>Indexing failed. Rolled back all changes.</code></p>
  
  <p>There's no additional error message to inform me what when wrong? Any suggestions?</p>
  
  <p><strong>data-config.xml</strong></p>
  
  <pre><code> &lt;dataConfig&gt;
  
      &lt;dataSource 
          name="mysql"
          driver="com.mysql.jdbc.Driver" 
          url="jdbc:mysql://localhost/databasename" 
          user="myusername" 
          password="mypassword" /&gt;
  
      &lt;document&gt;
  
          &lt;entity 
              name="posts" 
              datasource="mysql"
              query="select id, title, description from posts"
              deltaQuery="select id, title, description from posts where updated_at &gt; '${dataimporter.last_index_time}'"&gt;\
          &lt;/entity&gt;
          &lt;field column="id" name="id" indexed="true" stored="true" /&gt;
          &lt;field column="title" name="title" indexed="true" stored="true" /&gt;
          &lt;field column="description" name="description" indexed="true" stored="true" /&gt;
  
      &lt;/document&gt;
  
  &lt;/dataConfig&gt;
  </code></pre>
  
  <p><strong>Output</strong></p>
  
  <pre><code>&lt;response&gt;
    &lt;lst name="responseHeader"&gt;
      &lt;int name="status"&gt;0&lt;/int&gt;
      &lt;int name="QTime"&gt;0&lt;/int&gt;
    &lt;/lst&gt;
      &lt;lst name="initArgs"&gt;
      &lt;lst name="defaults"&gt;
      &lt;str name="config"&gt;/usr/local/solr/conf/data-config.xml&lt;/str&gt;
    &lt;/lst&gt;
  &lt;/lst&gt;
  &lt;str name="command"&gt;full-import&lt;/str&gt;
  &lt;str name="status"&gt;idle&lt;/str&gt;
  &lt;str name="importResponse"/&gt;
  &lt;lst name="statusMessages"&gt;
    &lt;str name="Time Elapsed"&gt;0:0:12.227&lt;/str&gt;
    &lt;str name="Total Requests made to DataSource"&gt;0&lt;/str&gt;
    &lt;str name="Total Rows Fetched"&gt;0&lt;/str&gt;
    &lt;str name="Total Documents Processed"&gt;0&lt;/str&gt;
    &lt;str name="Total Documents Skipped"&gt;0&lt;/str&gt;
    &lt;str name="Full Dump Started"&gt;2012-08-16 14:50:07&lt;/str&gt;
    &lt;str name=""&gt;Indexing failed. Rolled back all changes.&lt;/str&gt;
    &lt;str name="Rolledback"&gt;2012-08-16 14:50:08&lt;/str&gt;
  &lt;/lst&gt;
  &lt;str name="WARNING"&gt;
    This response format is experimental. It is likely to change in the future.
  &lt;/str&gt;
  &lt;/response&gt;
  </code></pre>
  
  <p><strong>Log</strong></p>
  
  <pre><code>Aug 16, 2012 3:15:28 PM org.apache.solr.common.SolrException log
    SEVERE: Full Import failed:java.lang.RuntimeException: java.lang.RuntimeException: org.apache.solr.handler.dataimport.DataImportHandlerException: Could not load driver: com.mysql.jdbc.Driver Processing Document # 1
      at org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:264)
      at org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:375)
      at org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:445)
      at org.apache.solr.handler.dataimport.DataImporter$1.run(DataImporter.java:426)
    Caused by: java.lang.RuntimeException: org.apache.solr.handler.dataimport.DataImportHandlerException: Could not load driver: com.mysql.jdbc.Driver Processing Document # 1
      at org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:621)
      at org.apache.solr.handler.dataimport.DocBuilder.doFullDump(DocBuilder.java:327)
      at org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:225)
      ... 3 more
  </code></pre>