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.
Solved! Go to Solution.
@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.
@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.
Big thanks Abhinav. It was exactly the JAVA_TOOL_OPTIONS that was not set on catalina.bat.
Thank you again.
Glad to hear that @imane .
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.