<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: NiFi failing startup -  nested exception is org.h2.jdbc.JdbcSQLException: Error while creating file &amp;quot;/data/1/nifi/database_repository in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-failing-startup-nested-exception-is-org-h2-jdbc/m-p/218440#M64026</link>
    <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/11088/mliem.html"&gt;mliem&lt;/A&gt; Did you copy the flow.xml.gz from your old installation to this one after you wiped everything 2.x related and installed 3. All the sensitive properties inside the flow.xml.gz file are encrypted using the sensitive property defined in the nifi.properties file (If blank, NiFi uses an internal default value). If you move your flow.xml.gz file to another NiFi, the sensitive property value used must be the same or NiFi will fail to start because it cannot decrypt the sensitive properties in the file.&lt;/P&gt;</description>
    <pubDate>Fri, 30 Jun 2017 12:18:29 GMT</pubDate>
    <dc:creator>Schandhok</dc:creator>
    <dc:date>2017-06-30T12:18:29Z</dc:date>
    <item>
      <title>NiFi failing startup -  nested exception is org.h2.jdbc.JdbcSQLException: Error while creating file "/data/1/nifi/database_repository</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-failing-startup-nested-exception-is-org-h2-jdbc/m-p/218439#M64025</link>
      <description>&lt;P&gt;Hi - upgraded from HDF 2.x -&amp;gt; 3.0 (ran into issue with upgrade so wiped everything 2.x related and installed 3). Getting the below error in app log during startup. Everything done through Ambari&lt;/P&gt;&lt;P&gt;2017-06-29 20:11:31,391 ERROR [NiFi logging handler] &lt;A href="http://org.apache.nifi/"&gt;org.apache.nifi&lt;/A&gt;.StdErr Failed to start web server: Error creating bean with name 'niFiWebApiSecurityConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void &lt;A href="http://org.apache.nifi/"&gt;org.apache.nifi&lt;/A&gt;.web.NiFiWebApiSecurityConfiguration.setJwtAuthenticationProvider(org.apache.nifi.web.security.jwt.JwtAuthenticationProvider); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jwtAuthenticationProvider' defined in class path resource [nifi-web-security-context.xml]: Cannot resolve reference to bean 'jwtService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jwtService' defined in class path resource [nifi-web-security-context.xml]: Cannot resolve reference to bean 'keyService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'keyService' defined in class path resource [nifi-administration-context.xml]: Cannot resolve reference to bean 'keyTransactionBuilder' while setting bean property 'transactionBuilder'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'keyTransactionBuilder' defined in class path resource [nifi-administration-context.xml]: Cannot resolve reference to bean 'keyDataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'keyDataSource': FactoryBean threw exception on object creation; nested exception is org.h2.jdbc.JdbcSQLException: Error while creating file "/data/1/nifi/database_repository_rock" [90062-176]&lt;/P&gt;&lt;P&gt;I do see:&lt;/P&gt;&lt;P&gt;2017-06-29 20:11:10,586 - Creating directory Directory['/data/1/nifi/database_repository'] since it doesn't exist.
2017-06-29 20:11:10,586 - Changing owner for /data/1/nifi/database_repository_rock from 0 to nifi&lt;/P&gt;&lt;P&gt;2017-06-29 20:11:10,586 - Changing group for /data/1/nifi/database_repository_rock from 0 to nifi&lt;/P&gt;&lt;P&gt;Permissions and everything looks to be set correctly.  Have tried completely removing /data/1/* and clearing other remnants of previous install.  any ideas or places I should look? Only happens &lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 11:59:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-failing-startup-nested-exception-is-org-h2-jdbc/m-p/218439#M64025</guid>
      <dc:creator>mliem</dc:creator>
      <dc:date>2017-06-30T11:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi failing startup -  nested exception is org.h2.jdbc.JdbcSQLException: Error while creating file "/data/1/nifi/database_repository</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-failing-startup-nested-exception-is-org-h2-jdbc/m-p/218440#M64026</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/11088/mliem.html"&gt;mliem&lt;/A&gt; Did you copy the flow.xml.gz from your old installation to this one after you wiped everything 2.x related and installed 3. All the sensitive properties inside the flow.xml.gz file are encrypted using the sensitive property defined in the nifi.properties file (If blank, NiFi uses an internal default value). If you move your flow.xml.gz file to another NiFi, the sensitive property value used must be the same or NiFi will fail to start because it cannot decrypt the sensitive properties in the file.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 12:18:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-failing-startup-nested-exception-is-org-h2-jdbc/m-p/218440#M64026</guid>
      <dc:creator>Schandhok</dc:creator>
      <dc:date>2017-06-30T12:18:29Z</dc:date>
    </item>
  </channel>
</rss>

