Hello there,
I am trying to install Alfresco Content Services 6.2 for development purposes
I used the distribution zip (alfresco-content-services-community-distribution-6.2.0-ga.zip) with Tomcat 8.5.46 on a local Windows Server 2016.
I followed the instructions in https://docs.alfresco.com/6.2/concepts/ch-install.html and its various subsections, at least to a certain point because a lot of it is apparently intended for Linux (so the paths in my config files are those I got to after many many attempts...). Anyway, I have not gotten to the point where both Tomcat and Solr start up and apparently talk to each other, but then the alfresco webapp fails with "Context initialization failed" and throws errors 05170000 Failed to create store root: "C:\Tomcat\alf_data\contentstore.deleted":
2020-06-17 19:21:30,511 WARN [org.springframework.web.context.support.XmlWebApplicationContext] [vm-alfresco6-startStop-1] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authorityBridgeTableCache' defined in class path resource [alfresco/cache-context.xml]: Cannot resolve reference to bean 'authorityBridgeDAO' while setting bean property 'authorityBridgeDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authorityBridgeDAO' defined in class path resource [alfresco/authority-services-context.xml]: Cannot resolve reference to bean 'nodeDAO' while setting bean property 'nodeDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'nodeDAO': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'nodeDAO.org.alfresco.repo.domain.dialect.Dialect' defined in class path resource [alfresco/dao/dao-context.xml]: Cannot resolve reference to bean 'contentDataDAO' while setting bean property 'contentDataDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentDataDAO' defined in class path resource [alfresco/dao/dao-context.xml]: Cannot resolve reference to bean 'eagerContentStoreCleaner' while setting bean property 'contentStoreCleaner'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eagerContentStoreCleaner' defined in class path resource [alfresco/content-services-context.xml]: Cannot resolve reference to bean 'deletedContentBackupListeners' while setting bean property 'listeners'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'deletedContentBackupListeners' defined in class path resource [alfresco/content-services-context.xml]: Cannot resolve reference to bean 'deletedContentBackupListener' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'deletedContentBackupListener' defined in class path resource [alfresco/content-services-context.xml]: Cannot resolve reference to bean 'deletedContentStore' while setting bean property 'store'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'deletedContentStore' defined in class path resource [alfresco/content-services-context.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.alfresco.repo.content.filestore.FileContentStore]: Constructor threw exception; nested exception is org.alfresco.service.cmr.repository.ContentIOException: 05170000 Failed to create store root: "C:\Tomcat\alf_data\contentstore.deleted"
2020-06-17 19:21:30,526 ERROR [org.springframework.web.context.ContextLoader] [vm-alfresco6-startStop-1] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authorityBridgeTableCache' defined in class path resource [alfresco/cache-context.xml]: Cannot resolve reference to bean 'authorityBridgeDAO' while setting bean property 'authorityBridgeDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authorityBridgeDAO' defined in class path resource [alfresco/authority-services-context.xml]: Cannot resolve reference to bean 'nodeDAO' while setting bean property 'nodeDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'nodeDAO': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'nodeDAO.org.alfresco.repo.domain.dialect.Dialect' defined in class path resource [alfresco/dao/dao-context.xml]: Cannot resolve reference to bean 'contentDataDAO' while setting bean property 'contentDataDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentDataDAO' defined in class path resource [alfresco/dao/dao-context.xml]: Cannot resolve reference to bean 'eagerContentStoreCleaner' while setting bean property 'contentStoreCleaner'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eagerContentStoreCleaner' defined in class path resource [alfresco/content-services-context.xml]: Cannot resolve reference to bean 'deletedContentBackupListeners' while setting bean property 'listeners'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'deletedContentBackupListeners' defined in class path resource [alfresco/content-services-context.xml]: Cannot resolve reference to bean 'deletedContentBackupListener' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'deletedContentBackupListener' defined in class path resource [alfresco/content-services-context.xml]: Cannot resolve reference to bean 'deletedContentStore' while setting bean property 'store'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'deletedContentStore' defined in class path resource [alfresco/content-services-context.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.alfresco.repo.content.filestore.FileContentStore]: Constructor threw exception; nested exception is org.alfresco.service.cmr.repository.ContentIOException: 05170000 Failed to create store root: "C:\Tomcat\alf_data\contentstore.deleted"
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:314)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)
(...)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authorityBridgeDAO' defined in class path resource [alfresco/authority-services-context.xml]: Cannot resolve reference to bean 'nodeDAO' while setting bean property 'nodeDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'nodeDAO': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'nodeDAO.org.alfresco.repo.domain.dialect.Dialect' defined in class path resource [alfresco/dao/dao-context.xml]: Cannot resolve reference to bean 'contentDataDAO' while setting bean property 'contentDataDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentDataDAO' defined in class path resource [alfresco/dao/dao-context.xml]: Cannot resolve reference to bean 'eagerContentStoreCleaner' while setting bean property 'contentStoreCleaner'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eagerContentStoreCleaner' defined in class path resource [alfresco/content-services-context.xml]: Cannot resolve reference to bean 'deletedContentBackupListeners' while setting bean property 'listeners'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'deletedContentBackupListeners' defined in class path resource [alfresco/content-services-context.xml]: Cannot resolve reference to bean 'deletedContentBackupListener' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'deletedContentBackupListener' defined in class path resource [alfresco/content-services-context.xml]: Cannot resolve reference to bean 'deletedContentStore' while setting bean property 'store'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'deletedContentStore' defined in class path resource [alfresco/content-services-context.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.alfresco.repo.content.filestore.FileContentStore]: Constructor threw exception; nested exception is org.alfresco.service.cmr.repository.ContentIOException: 05170000 Failed to create store root: "C:\Tomcat\alf_data\contentstore.deleted"
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:314)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)
(...)
... 29 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'nodeDAO': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'nodeDAO.org.alfresco.repo.domain.dialect.Dialect' defined in class path resource [alfresco/dao/dao-context.xml]: Cannot resolve reference to bean 'contentDataDAO' while setting bean property 'contentDataDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentDataDAO' defined in class path resource [alfresco/dao/dao-context.xml]: Cannot resolve reference to bean 'eagerContentStoreCleaner' while setting bean property 'contentStoreCleaner'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eagerContentStoreCleaner' defined in class path resource [alfresco/content-services-context.xml]: Cannot resolve reference to bean 'deletedContentBackupListeners' while setting bean property 'listeners'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'deletedContentBackupListeners' defined in class path resource [alfresco/content-services-context.xml]: Cannot resolve reference to bean 'deletedContentBackupListener' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'deletedContentBackupListener' defined in class path resource [alfresco/content-services-context.xml]: Cannot resolve reference to bean 'deletedContentStore' while setting bean property 'store'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'deletedContentStore' defined in class path resource [alfresco/content-services-context.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.alfresco.repo.content.filestore.FileContentStore]: Constructor threw exception; nested exception is org.alfresco.service.cmr.repository.ContentIOException: 05170000 Failed to create store root: "C:\Tomcat\alf_data\contentstore.deleted"
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:178)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:101)
(...)
... 39 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'nodeDAO.org.alfresco.repo.domain.dialect.Dialect' defined in class path resource [alfresco/dao/dao-context.xml]: Cannot resolve reference to bean 'contentDataDAO' while setting bean property 'contentDataDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentDataDAO' defined in class path resource [alfresco/dao/dao-context.xml]: Cannot resolve reference to bean 'eagerContentStoreCleaner' while setting bean property 'contentStoreCleaner'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eagerContentStoreCleaner' defined in class path resource [alfresco/content-services-context.xml]: Cannot resolve reference to bean 'deletedContentBackupListeners' while setting bean property 'listeners'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'deletedContentBackupListeners' defined in class path resource [alfresco/content-services-context.xml]: Cannot resolve reference to bean 'deletedContentBackupListener' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'deletedContentBackupListener' defined in class path resource [alfresco/content-services-context.xml]: Cannot resolve reference to bean 'deletedContentStore' while setting bean property 'store'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'deletedContentStore' defined in class path resource [alfresco/content-services-context.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.alfresco.repo.content.filestore.FileContentStore]: Constructor threw exception; nested exception is org.alfresco.service.cmr.repository.ContentIOException: 05170000 Failed to create store root: "C:\Tomcat\alf_data\contentstore.deleted"
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:314)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)
(...)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'deletedContentStore' defined in class path resource [alfresco/content-services-context.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.alfresco.repo.content.filestore.FileContentStore]: Constructor threw exception; nested exception is org.alfresco.service.cmr.repository.ContentIOException: 05170000 Failed to create store root: "C:\Tomcat\alf_data\contentstore.deleted"
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:304)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:285)
(...)
... 101 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.alfresco.repo.content.filestore.FileContentStore]: Constructor threw exception; nested exception is org.alfresco.service.cmr.repository.ContentIOException: 05170000 Failed to create store root: "C:\Tomcat\alf_data\contentstore.deleted"
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:184)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:117)
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:300)
... 111 more
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 05170000 Failed to create store root: "C:\Tomcat\alf_data\contentstore.deleted"
at org.alfresco.repo.content.filestore.FileContentStore.<init>(FileContentStore.java:117)
at org.alfresco.repo.content.filestore.FileContentStore.<init>(FileContentStore.java:102)
(...)
... 113 more
(I had to truncate the log at the "(...)" marks because it exceeds the 20K characters limit for a post)
The contents of C:\Tomcat\shared\classes\alfresco-global.properties are as follows:
solr.secureComms=https
dir.root="C:/Tomcat/alf_data/"
dir.keystore=${ALF_DATA_DIR}/keystore
dir.contentstore="C:/Tomcat/alf_data/contentstore"
dir.contentstore.deleted="C:/Tomcat/alf_data/contentstore.deleted"
db.username=alfresco
db.password=alfresco
db.driver=org.postgresql.Driver
db.url=jdbc:postgresql://localhost:5432/alfresco
alfresco.context=alfresco
alfresco.host=vm-Alfresco6
alfresco.port=8080
alfresco.protocol=http
share.context=share
share.host=vm-Alfresco6
share.port=8080
share.protocol=http
index.subsystem.name=solr6
solr.secureComms=https
solr.port=8983
solr.host=vm-Alfresco6
solr.base.url=/solr
encryption.ssl.keystore.location=${dir.keystore}
encryption.ssl.keystore.type=JCEKS
encryption.ssl.keystore.keyMetaData.location=${dir.keystore}/ssl-keystore-passwords.properties
encryption.ssl.truststore.location=${dir.keystore}
encryption.ssl.truststore.type=JCEKS
encryption.ssl.truststore.keyMetaData.location=${dir.keystore}/ssl-truststore-passwords.properties
encryption.keystore.location=${dir.keystore}/keystore
encryption.keystore.keyMetaData.location=${dir.keystore}/keystore-passwords.properties
encryption.keystore.type=JCEKS
solr.host=localhost
solr.port.ssl=8983and I did add the line
shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jarto C:\Tomcat\conf\catalina.properties.
Tomcat is running as the LOCAL SERVICE account (which has full control over the C:\Tomcat directory), restarting it makes no difference.
The error also remains if I create the contentstore.deleted manually inside C:\Tomcat\alf_data (at which point it inherits the permissions from its parent directories).
I have tried many variations in the syntax of the paths, tried restarting the app server as wel las the host OS, tried granting permissions beyond reasonable... Nothing seems to help.
I am completely new to Alfresco, am I missing something obvious? I would greatly appreciate any help sorting this out 
Thanks!
Fancois