I'v got a problem with the implementation of the TypeRoutingStore:
Using the configuration written in the .md I had the following error:
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
I'v created the type, using the Alfresco Share, before the restart with this configuration sm:tipo1 and the folder in the docker container for both the content stores.
the standardFileStore "myCustomFileStore" alone goes fine.
Hi, thank you for the plug in, very usefull.
I'v got a problem with the implementation of the TypeRoutingStore:
Using the configuration written in the .md I had the following error:
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
The configuration is:
`simpleContentStores.enabled=true
simpleContentStores.customStores=myCustomFileStore,archiveFileStore,myTypeRoutingStore,defaultTenantFileContentStore simpleContentStores.rootStore=myTypeRoutingStore
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.sm\:tipo1=archiveFileStore`
I'v created the type, using the Alfresco Share, before the restart with this configuration sm:tipo1 and the folder in the docker container for both the content stores.
the standardFileStore "myCustomFileStore" alone goes fine.
thank you Alessandro