01-18-2022 04:54 AM
Hello Community,
I am trying to install Alfresco Content Services 7.0 on Windows 10 by following this link: https://javaworld-abhinav.blogspot.com/2021/06/setup-acs70-ass201-and-transformation-service.html , and adapting the steps to Windows 10.
In the end I get the following error: Cannot find Alfresco Repository on this server. (Does this application have access to alfresco-global.properties? Does this application have cross-context permissions?).
My alfresco.log :
What could be the reason please?
Thank you in advance.
01-18-2022 10:27 PM
@imane Based on your details there could be two issues you need to fix:
1- Make sure you have configured "shared.loader" correctly so that repository can start and read the alfresco-global.properties and other configs correctly.
/tomcat/conf/catalina.properties file:
shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar
Refer this: https://github.com/abhinavmishra14/alfresco7-solr-localtransform-dist-setup/blob/main/windows-platfo...
2- Fix the JAVA_TOOL_OPTIONS config in tomcat/bin/catalina.bat so that keystore can be read. Make sure you copy the keystore files here: C:/alfresco-community70/tomcat/shared/classes/alfresco/extension/keystore/metadata-keystore
set "JAVA_TOOL_OPTIONS=-Dencryption.keystore.type=JCEKS -Dencryption.cipherAlgorithm=DESede/CBC/PKCS5Padding -Dencryption.keyAlgorithm=DESede -Dencryption.keystore.location=C:/alfresco-community70/tomcat/shared/classes/alfresco/extension/keystore/metadata-keystore/keystore -Dmetadata-keystore.password=mp6yc0UD9e -Dmetadata-keystore.aliases=metadata -Dmetadata-keystore.metadata.password=oKIWzVdEdA -Dmetadata-keystore.metadata.algorithm=DESede"
See example here: https://github.com/abhinavmishra14/alfresco7-solr-localtransform-dist-setup/blob/main/windows-platfo...
Review all the configs once again and see if you missed anything. Reachout again, if you still see any issues. Do share full start logs (not just errors), including alfresco.log, catalina.out.
Good luck.
01-18-2022 10:27 PM
@imane Based on your details there could be two issues you need to fix:
1- Make sure you have configured "shared.loader" correctly so that repository can start and read the alfresco-global.properties and other configs correctly.
/tomcat/conf/catalina.properties file:
shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar
Refer this: https://github.com/abhinavmishra14/alfresco7-solr-localtransform-dist-setup/blob/main/windows-platfo...
2- Fix the JAVA_TOOL_OPTIONS config in tomcat/bin/catalina.bat so that keystore can be read. Make sure you copy the keystore files here: C:/alfresco-community70/tomcat/shared/classes/alfresco/extension/keystore/metadata-keystore
set "JAVA_TOOL_OPTIONS=-Dencryption.keystore.type=JCEKS -Dencryption.cipherAlgorithm=DESede/CBC/PKCS5Padding -Dencryption.keyAlgorithm=DESede -Dencryption.keystore.location=C:/alfresco-community70/tomcat/shared/classes/alfresco/extension/keystore/metadata-keystore/keystore -Dmetadata-keystore.password=mp6yc0UD9e -Dmetadata-keystore.aliases=metadata -Dmetadata-keystore.metadata.password=oKIWzVdEdA -Dmetadata-keystore.metadata.algorithm=DESede"
See example here: https://github.com/abhinavmishra14/alfresco7-solr-localtransform-dist-setup/blob/main/windows-platfo...
Review all the configs once again and see if you missed anything. Reachout again, if you still see any issues. Do share full start logs (not just errors), including alfresco.log, catalina.out.
Good luck.
01-19-2022 05:16 AM
Big thanks Abhinav. It was exactly the JAVA_TOOL_OPTIONS that was not set on catalina.bat.
Thank you again.
01-19-2022 10:50 AM
Glad to hear that @imane .
Explore our Alfresco products with the links below. Use labels to filter content by product module.