<?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>topic Acosix / alfresco-simple-content-stores : TypeRoutingStore Null error with custom types in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/acosix-alfresco-simple-content-stores-typeroutingstore-null/m-p/7815#M3554</link>
    <description>&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;I'v got a problem with the implementation of the TypeRoutingStore for the add-on :&amp;nbsp;Acosix / alfresco-simple-content-stores (&lt;A href="https://github.com/Acosix/alfresco-simple-content-stores" target="_blank" rel="noopener nofollow noreferrer"&gt;GitHub - Acosix/alfresco-simple-content-stores: Addon to provide a set of common content store implementations and easy-to-use configuration (no Spring config)&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;Using this configuration,&lt;/P&gt;&lt;PRE&gt;simpleContentStores.customStores=myCustomFileStore,archiveFileStore,myTypeRoutingStore,defaultTenantFileContentStore
simpleContentStores.rootStore=myCustomFileStore

simpleContentStores.customStore.myCustomFileStore.type=standardFileStore
simpleContentStores.customStore.myCustomFileStore.value.rootAbsolutePath=/usr/local/tomcat/alf_data_1/
simpleContentStores.customStore.myCustomFileStore.value.deleteEmptyDirs=true
simpleContentStores.customStore.myCustomFileStore.value.fixedLimit=104857600

simpleContentStores.customStore.archiveFileStore.type=standardFileStore
simpleContentStores.customStore.archiveFileStore.value.rootAbsolutePath=/usr/local/tomcat/alf_data_2/
simpleContentStores.customStore.archiveFileStore.value.deleteEmptyDirs=true
simpleContentStores.customStore.archiveFileStore.value.fixedLimit=104857600

simpleContentStores.customStore.myTypeRoutingStore.type=typeRoutingStore
simpleContentStores.customStore.myTypeRoutingStore.ref.fallbackStore=defaultTenantFileContentStore
simpleContentStores.customStore.myTypeRoutingStore.map.storeByTypeName.ref.ts\:tipo1=archiveFileStore&lt;/PRE&gt;&lt;P&gt;I had the following error:&lt;/P&gt;&lt;P&gt;Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'myTypeRoutingStore': Invocation of init method failed; nested exception is java.lang.IllegalStateException: null cannot be resolved to a qualified name at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1788) ........... Caused by: java.lang.IllegalStateException: null cannot be resolved to a qualified name&lt;/P&gt;&lt;P&gt;I'v created the type, using the Alfresco Share, before the restart with this configuration ts:tipo1 and the folder in the docker container for both the content stores.&lt;/P&gt;&lt;P&gt;the ts:tipo1 extend another custom type installed with AMP file&lt;/P&gt;&lt;P&gt;the standardFileStore "myCustomFileStore" alone goes fine.&lt;/P&gt;&lt;P&gt;thank you&lt;BR /&gt;Alessandro&lt;/P&gt;</description>
    <pubDate>Fri, 29 Oct 2021 15:32:03 GMT</pubDate>
    <dc:creator>pajumbo</dc:creator>
    <dc:date>2021-10-29T15:32:03Z</dc:date>
    <item>
      <title>Acosix / alfresco-simple-content-stores : TypeRoutingStore Null error with custom types</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/acosix-alfresco-simple-content-stores-typeroutingstore-null/m-p/7815#M3554</link>
      <description>&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;I'v got a problem with the implementation of the TypeRoutingStore for the add-on :&amp;nbsp;Acosix / alfresco-simple-content-stores (&lt;A href="https://github.com/Acosix/alfresco-simple-content-stores" target="_blank" rel="noopener nofollow noreferrer"&gt;GitHub - Acosix/alfresco-simple-content-stores: Addon to provide a set of common content store implementations and easy-to-use configuration (no Spring config)&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;Using this configuration,&lt;/P&gt;&lt;PRE&gt;simpleContentStores.customStores=myCustomFileStore,archiveFileStore,myTypeRoutingStore,defaultTenantFileContentStore
simpleContentStores.rootStore=myCustomFileStore

simpleContentStores.customStore.myCustomFileStore.type=standardFileStore
simpleContentStores.customStore.myCustomFileStore.value.rootAbsolutePath=/usr/local/tomcat/alf_data_1/
simpleContentStores.customStore.myCustomFileStore.value.deleteEmptyDirs=true
simpleContentStores.customStore.myCustomFileStore.value.fixedLimit=104857600

simpleContentStores.customStore.archiveFileStore.type=standardFileStore
simpleContentStores.customStore.archiveFileStore.value.rootAbsolutePath=/usr/local/tomcat/alf_data_2/
simpleContentStores.customStore.archiveFileStore.value.deleteEmptyDirs=true
simpleContentStores.customStore.archiveFileStore.value.fixedLimit=104857600

simpleContentStores.customStore.myTypeRoutingStore.type=typeRoutingStore
simpleContentStores.customStore.myTypeRoutingStore.ref.fallbackStore=defaultTenantFileContentStore
simpleContentStores.customStore.myTypeRoutingStore.map.storeByTypeName.ref.ts\:tipo1=archiveFileStore&lt;/PRE&gt;&lt;P&gt;I had the following error:&lt;/P&gt;&lt;P&gt;Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'myTypeRoutingStore': Invocation of init method failed; nested exception is java.lang.IllegalStateException: null cannot be resolved to a qualified name at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1788) ........... Caused by: java.lang.IllegalStateException: null cannot be resolved to a qualified name&lt;/P&gt;&lt;P&gt;I'v created the type, using the Alfresco Share, before the restart with this configuration ts:tipo1 and the folder in the docker container for both the content stores.&lt;/P&gt;&lt;P&gt;the ts:tipo1 extend another custom type installed with AMP file&lt;/P&gt;&lt;P&gt;the standardFileStore "myCustomFileStore" alone goes fine.&lt;/P&gt;&lt;P&gt;thank you&lt;BR /&gt;Alessandro&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 15:32:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/acosix-alfresco-simple-content-stores-typeroutingstore-null/m-p/7815#M3554</guid>
      <dc:creator>pajumbo</dc:creator>
      <dc:date>2021-10-29T15:32:03Z</dc:date>
    </item>
  </channel>
</rss>

