<?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: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Error-creating-bean-with-name-org-springframework-security/m-p/347070#M235054</link>
    <description>&lt;P&gt;&lt;SPAN&gt;we haven't upgraded to 1.16 .. still we are using 1.15 only ....&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;But when nifi is running ... we have changed to jvm memory from 512m to 2 gb in bootstrap.conf file ...&amp;nbsp; will that corrupt the files? If yes pls help with the solution&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Thu, 07 Jul 2022 14:51:26 GMT</pubDate>
    <dc:creator>Reddy3</dc:creator>
    <dc:date>2022-07-07T14:51:26Z</dc:date>
    <item>
      <title>Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-creating-bean-with-name-org-springframework-security/m-p/346997#M235041</link>
      <description>&lt;P&gt;&lt;SPAN&gt;eating bean with name 'auditDataSource': FactoryBean threw exception on object creation; nested exception is org.h2.jdbc.JdbcSQLNonTransientConnectionException: File corrupted while reading record: null. Possible solution: use the recovery tool [90030-199]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1707)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1452)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ... 131 common frames omitted&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auditDataSource': FactoryBean threw exception on object creation; nested exception is org.h2.jdbc.JdbcSQLNonTransientConnectionException: File corrupted while reading record: null. Possible solution: use the recovery tool [90030-199]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:176)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:101)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1884)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getObjectForBeanInstance(AbstractAutowireCapableBeanFactory.java:1284)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:345)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ... 141 common frames omitted&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: org.h2.jdbc.JdbcSQLNonTransientConnectionException: File corrupted while reading record: null. Possible solution: use the recovery tool [90030-199]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.message.DbException.getJdbcSQLException(DbException.java:617)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.message.DbException.getJdbcSQLException(DbException.java:427)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.message.DbException.get(DbException.java:194)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.mvstore.db.MVTableEngine$Store.convertIllegalStateException(MVTableEngine.java:205)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:173)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:95)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.engine.Database.getPageStore(Database.java:2739)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.engine.Database.open(Database.java:769)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.engine.Database.openDatabase(Database.java:319)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.engine.Database.&amp;lt;init&amp;gt;(Database.java:313)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.engine.Engine.openSession(Engine.java:69)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.engine.Engine.openSession(Engine.java:201)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.engine.Engine.createSessionAndValidate(Engine.java:178)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.engine.Engine.createSession(Engine.java:161)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.engine.Engine.createSession(Engine.java:31)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:336)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.jdbc.JdbcConnection.&amp;lt;init&amp;gt;(JdbcConnection.java:169)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.jdbc.JdbcConnection.&amp;lt;init&amp;gt;(JdbcConnection.java:148)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.Driver.connect(Driver.java:69)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.jdbcx.JdbcDataSource.getJdbcConnection(JdbcDataSource.java:189)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.jdbcx.JdbcDataSource.getXAConnection(JdbcDataSource.java:352)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.jdbcx.JdbcDataSource.getPooledConnection(JdbcDataSource.java:384)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.jdbcx.JdbcConnectionPool.getConnectionNow(JdbcConnectionPool.java:234)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.jdbcx.JdbcConnectionPool.getConnection(JdbcConnectionPool.java:199)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.nifi.admin.AuditDataSourceFactoryBean.getObject(AuditDataSourceFactoryBean.java:148)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:169)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ... 147 common frames omitted&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: java.lang.IllegalStateException: File corrupted in chunk 5769, expected page length 4..3072, got 1920166255 [1.4.199/6]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:883)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.mvstore.MVStore.readBufferForPage(MVStore.java:1055)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.mvstore.MVStore.readPage(MVStore.java:2186)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.mvstore.MVMap.readPage(MVMap.java:554)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.mvstore.Page$NonLeaf.getChildPage(Page.java:1086)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.mvstore.Cursor.hasNext(Cursor.java:53)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.mvstore.MVStore.readStoreHeader(MVStore.java:793)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.mvstore.MVStore.&amp;lt;init&amp;gt;(MVStore.java:401)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.mvstore.MVStore$Builder.open(MVStore.java:3343)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:162)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ... 168 common frames omitted&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2022-07-06 17:45:25,497 INFO [Thread-0] org.apache.nifi.NiFi Initiating shutdown of Jetty web server...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2022-07-06 17:45:25,505 INFO [Thread-0] o.eclipse.jetty.server.AbstractConnector Stopped ServerConnector@5458c71e{SSL, (ssl, http/1.1)}{fdsahl66cea29b.fda.gov:8443}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2022-07-06 17:45:25,505 INFO [Thread-0] org.eclipse.jetty.server.session node0 Stopped scavenging&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;el8_6.x86_64/bin/java -classpath /u01/nifi/nifi-1.15.0/./conf:/u01/nifi/nifi-1.15.0/./lib/javax.servlet-api-3.1.0.jar:/u01/nifi/nifi-1.15.0/./lib/jetty-schemas-3.1.jar:/u01/nifi/nifi-1.15.0/./lib/logback-classic-1.2.6.jar:/u01/nifi/nifi-1.15.0/./lib/logback-core-1.2.6.jar:/u01/nifi/nifi-1.15.0/./lib/jcl-over-slf4j-1.7.32.jar:/u01/nifi/nifi-1.15.0/./lib/jul-to-slf4j-1.7.32.jar:/u01/nifi/nifi-1.15.0/./lib/log4j-over-slf4j-1.7.32.jar:/u01/nifi/nifi-1.15.0/./lib/slf4j-api-1.7.32.jar:/u01/nifi/nifi-1.15.0/./lib/nifi-api-1.15.0.jar:/u01/nifi/nifi-1.15.0/./lib/nifi-framework-api-1.15.0.jar:/u01/nifi/nifi-1.15.0/./lib/nifi-server-api-1.15.0.jar:/u01/nifi/nifi-1.15.0/./lib/nifi-runtime-1.15.0.jar:/u01/nifi/nifi-1.15.0/./lib/nifi-nar-utils-1.15.0.jar:/u01/nifi/nifi-1.15.0/./lib/nifi-properties-1.15.0.jar:/u01/nifi/nifi-1.15.0/./lib/nifi-property-utils-1.15.0.jar:/u01/nifi/nifi-1.15.0/./lib/nifi-stateless-bootstrap-1.15.0.jar:/u01/nifi/nifi-1.15.0/./lib/nifi-stateless-api-1.15.0.jar:/u01/nifi/nifi-1.15.0/./lib/ojdbc8.jar:/u01/nifi/nifi-1.15.0/./lib/postgresql-42.3.6.jar:/u01/nifi/nifi-1.15.0/./lib/java11/jakarta.xml.bind-api-2.3.3.jar:/u01/nifi/nifi-1.15.0/./lib/java11/jakarta.activation-api-1.2.2.jar:/u01/nifi/nifi-1.15.0/./lib/java11/jaxb-runtime-2.3.5.jar:/u01/nifi/nifi-1.15.0/./lib/java11/txw2-2.3.5.jar:/u01/nifi/nifi-1.15.0/./lib/java11/istack-commons-runtime-3.0.12.jar:/u01/nifi/nifi-1.15.0/./lib/java11/jakarta.activation-1.2.2.jar:/u01/nifi/nifi-1.15.0/./lib/java11/javax.annotation-api-1.3.2.jar -Dorg.apache.jasper.compiler.disablejsr199=true -Xmx4g -Xms2g -Dcurator-log-only-first-connection-issue-as-error-level=true -Djavax.security.auth.useSubjectCredsOnly=true -Djava.security.egd=file:/dev/urandom -Dzookeeper.admin.enableServer=false -Dsun.net.http.allowRestrictedHeaders=true -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Djava.protocol.handler.pkgs=sun.net.&lt;A title="https://www.protocol/" href="https://www.protocol/" target="_blank" rel="noopener noreferrer"&gt;www.protocol&lt;/A&gt;&amp;nbsp;-Dnifi.properties.file.path=/u01/nifi/nifi-1.15.0/./conf/nifi.properties -Dnifi.bootstrap.listen.port=34317 -Dapp=NiFi -Dorg.apache.nifi.bootstrap.config.log.dir=/u01/nifi/nifi-1.15.0/logs org.apache.nifi.NiFi&lt;BR /&gt;2022-07-06 21:40:02,622 INFO [main] org.apache.nifi.bootstrap.Command Launched Apache NiFi with Process ID 34951&lt;BR /&gt;2022-07-06 21:40:03,166 INFO [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi Apache NiFi now running and listening for Bootstrap requests on port 38099&lt;BR /&gt;2022-07-06 21:40:13,745 INFO [main] o.a.n.b.NotificationServiceManager Successfully loaded the following 0 services: []&lt;BR /&gt;2022-07-06 21:40:13,747 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_STARTED&lt;BR /&gt;2022-07-06 21:40:13,748 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_STOPPED&lt;BR /&gt;2022-07-06 21:40:13,748 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_DIED&lt;BR /&gt;2022-07-06 21:40:13,758 INFO [main] org.apache.nifi.bootstrap.Command Apache NiFi is currently running, listening to Bootstrap on port 38099, PID=34951&lt;BR /&gt;2022-07-06 21:40:14,818 ERROR [NiFi logging handler] org.apache.nifi.StdErr Failed to start web server: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration': Unsatisfied dependency expressed through method 'setFilterChainProxySecurityConfigurer' parameter 1; nested exception is org.springframework.beans.factory.BeanExpressionException: Expression parsing failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.apache.nifi.web.NiFiWebApiSecurityConfiguration': Unsatisfied dependency expressed through method 'setJwtAuthenticationProvider' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.apache.nifi.web.security.configuration.JwtAuthenticationSecurityConfiguration': Unsatisfied dependency expressed through constructor parameter 3; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowController' defined in class path resource [nifi-context.xml]: Cannot resolve reference to bean 'auditService' while setting bean property 'auditService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auditService' defined in class path resource [nifi-administration-context.xml]: Cannot resolve reference to bean 'auditTransactionBuilder' while setting bean property 'transactionBuilder'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auditTransactionBuilder' defined in class path resource [nifi-administration-context.xml]: Cannot resolve reference to bean 'auditDataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auditDataSource': FactoryBean threw exception on object creation; nested exception is org.h2.jdbc.JdbcSQLNonTransientConnectionException: File corrupted while reading record: null. Possible solution: use the recovery tool [90030-199]&lt;BR /&gt;2022-07-06 21:40:14,819 ERROR [NiFi logging handler] org.apache.nifi.StdErr Shutting down...&lt;BR /&gt;2022-07-06 21:40:15,626 INFO [main] org.apache.nifi.bootstrap.RunNiFi NiFi never started. Will not restart NiFi&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 22:16:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-creating-bean-with-name-org-springframework-security/m-p/346997#M235041</guid>
      <dc:creator>Reddy3</dc:creator>
      <dc:date>2022-07-06T22:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-creating-bean-with-name-org-springframework-security/m-p/347067#M235052</link>
      <description>&lt;P&gt;I can only assume that at one point you upgraded to 1.16?&lt;/P&gt;&lt;P&gt;If so you should:&lt;BR /&gt;Do the below commands from within your databse_repository directory&lt;/P&gt;&lt;PRE&gt;mv nifi-identity-providers.trace.db.migration_backup nifi-identity-providers.trace.db
mv nifi-identity-providers.mv.db.migration_backup nifi-identity-providers.mv.db
mv nifi-flow-audit.trace.db.migration_backup nifi-flow-audit.trace.db
mv nifi-flow-audit.mv.db.migration_backup nifi-flow-audit.mv.db&lt;/PRE&gt;&lt;P&gt;And remove flow.json.gz in the same place you have your flow.xml.gz&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 13:51:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-creating-bean-with-name-org-springframework-security/m-p/347067#M235052</guid>
      <dc:creator>DigitalPlumber</dc:creator>
      <dc:date>2022-07-07T13:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-creating-bean-with-name-org-springframework-security/m-p/347070#M235054</link>
      <description>&lt;P&gt;&lt;SPAN&gt;we haven't upgraded to 1.16 .. still we are using 1.15 only ....&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;But when nifi is running ... we have changed to jvm memory from 512m to 2 gb in bootstrap.conf file ...&amp;nbsp; will that corrupt the files? If yes pls help with the solution&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 07 Jul 2022 14:51:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-creating-bean-with-name-org-springframework-security/m-p/347070#M235054</guid>
      <dc:creator>Reddy3</dc:creator>
      <dc:date>2022-07-07T14:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-creating-bean-with-name-org-springframework-security/m-p/347071#M235055</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/97177"&gt;@Reddy3&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;There is not enough history or detail to understand what lead to the corruption of your NiFi HD DBs.&lt;BR /&gt;However, the NiFi H2 DBs are used to hold flow configuration history (what user did what on the canvas) and authenticated user server side tokens.&lt;BR /&gt;&lt;BR /&gt;These DBs can be removed/renamed and on startup NiFi will created new DBs.&amp;nbsp; Removing these will have no impact on your flow.xml, content, etc...&lt;BR /&gt;You will simply lose your flow configuration history (will start over from this point forward tracking changes) and your users will be forced to login again.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Matt&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 15:07:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-creating-bean-with-name-org-springframework-security/m-p/347071#M235055</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2022-07-07T15:07:15Z</dc:date>
    </item>
  </channel>
</rss>

