<?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 Some proposals to enhance the ZIP file deployment documentation. in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/some-proposals-to-enhance-the-zip-file-deployment-documentation/m-p/138023#M37022</link>
    <description>&lt;P&gt;I'm referring to the official documentation here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.alfresco.com/content-services/community/install/zip/" target="_blank" rel="noopener nofollow noreferrer"&gt;Alfresco Docs - Install with zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;My Setup, according to the&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.alfresco.com/content-services/latest/support/" target="_blank" rel="noopener nofollow noreferrer"&gt;Alfresco Docs - Supported platforms&lt;/A&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;JAVA OpenJDK 11.0.13.8&lt;/LI&gt;&lt;LI&gt;MySQL 8.0.27&lt;/LI&gt;&lt;LI&gt;MySQL Connector/J 8.0.27&lt;/LI&gt;&lt;LI&gt;ActiveMQ 5.16.1&lt;/LI&gt;&lt;LI&gt;Tomcat 9.0.65&lt;/LI&gt;&lt;LI&gt;Alfresco Content Services 7.2.0.1&lt;/LI&gt;&lt;LI&gt;Alfresco Search Services (Solr) 2.0.3.6&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If I knew how to contribute to the documentation I would have done so, but I didn't find anything on Github, so I post it here to help others, who may run into the same quirks as I did.&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;Proposal 1 (DB Setup):&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Please add sections regarding the supported DB setups for ACS. There's only an example regarding PostgreSQL. But for MySQL 8 a specific section of the documentation could mention:&amp;nbsp;&lt;/P&gt;&lt;P&gt;That the initial root password is written into a [computername],err file (in the MySQL data folder) after the first initialisation of the DB.&lt;/P&gt;&lt;P&gt;And it would also be helpful to document the creation of the alfreso DB and an user like:&lt;/P&gt;&lt;PRE&gt;mysql&amp;gt; CREATE DATABASE alfresco CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
mysql&amp;gt; create user 'alfresco'@'localhost' IDENTIFIED BY 'alfresco';
mysql&amp;gt; GRANT ALL PRIVILEGES ON alfresco . * TO 'alfresco'@'localhost';&lt;/PRE&gt;&lt;P&gt;While this may be knowledge that any "Install without container" person should have, it would be VERY helpful to have a "alfresco-global.propeties.sample" in the distribution that mentions the correct driver name for MySQL 8 Connector/J.&lt;/P&gt;&lt;P&gt;The sample contains&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;#
# MySQL connection
#
#db.driver=org.gjt.mm.mysql.Driver&lt;/PRE&gt;&lt;P&gt;But the class name for the MySQL 8 Connector/J is&amp;nbsp;&lt;STRONG&gt;com.mysql.cj.jdbc.Driver&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;Proposal 2 (Tomcat location):&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.alfresco.com/content-services/community/install/zip/amp/" target="_blank" rel="noopener nofollow noreferrer"&gt;Alfresco Docs - Install Alfresco Module Package&lt;/A&gt;&lt;/P&gt;&lt;P&gt;should mention that if your Tomcat installation is NOT located under the Alfresco distribution installation the line in "apply_amps.bat"&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;set CATALINA_HOME=%ALF_HOME%tomcat&lt;/PRE&gt;&lt;P&gt;has to be adjusted accordingly.&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;Proposal 3 (&lt;SPAN&gt;Enable Simple JAR modules&lt;/SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The creation of the &lt;EM&gt;modules&lt;/EM&gt; folder under CATALINA_HOME is described as optional in the documentation. But at least for me the deployment failed because of the &lt;EM&gt;share&lt;/EM&gt; and &lt;EM&gt;platform&lt;/EM&gt; deployment XML descriptors that mention these folder.&lt;/P&gt;&lt;P&gt;Moreover: On my Windows OS the path in the XML files was not working until I changed the it to a windows path notation style.&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;Proposal 4 (Solr&amp;nbsp;&lt;SPAN&gt;Metadata Keystore&lt;/SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Sorry, but this is really something that has to be fixed and enhanced in the Search Services distribution and it's :&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.alfresco.com/search-services/latest/install/" target="_self" rel="nofollow noopener noreferrer"&gt;Search Services 2.0 documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The location of the distributed keystore files is wrong. Should be now:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;dir.keystore=${dir.root}/keystore/metadata-keystore&lt;/PRE&gt;&lt;P&gt;And&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;alfresco.secureComms=none&lt;/PRE&gt;&lt;P&gt;is not supported anymore. So either one has to configure "https" or "secret".&lt;/P&gt;&lt;P&gt;In the case of secret, which is the easier way for non production test systems, I had to add&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;alfresco.secureComms.secret=password&lt;/PRE&gt;&lt;P&gt;to all of the followong files&lt;/P&gt;&lt;P&gt;...\alfresco-search-services\solrhome\alfresco\conf\solrcore.properties&lt;BR /&gt;...\alfresco-search-services\solrhome\archive\conf\solrcore.properties&lt;BR /&gt;...\alfresco-search-services\solrhome\templates\noRerank\conf\solrcore.properties&lt;BR /&gt;...\alfresco-search-services\solrhome\templates\rerank\conf\solrcore.properties&lt;/P&gt;&lt;P&gt;AND I had to pass some JAVA Options, which can be done best in &lt;EM&gt;setenv.bat&lt;/EM&gt; in the Tomcat bin folder.&lt;/P&gt;&lt;PRE&gt;set "CATALINA_OPTS=%CATALINA_OPTS%  -Dencryption.keystore.type=JCEKS -Dencryption.cipherAlgorithm=DESede/CBC/PKCS5Padding -Dencryption.keyAlgorithm=DESede -Dencryption.keystore.location=C:/OpenSource/Alfresco-7.2.0.1/alf_data/keystore/metadata-keystore/keystore -Dmetadata-keystore.password=KEYSTOREPW -Dmetadata-keystore.aliases=metadata -Dmetadata-keystore.metadata.password=KEYSTOREMETADATAPW -Dmetadata-keystore.metadata.algorithm=DESede&lt;/PRE&gt;&lt;P&gt;The values of the passwords can be found in the file "keystore-passwords.properties" under the mentioned&amp;nbsp;&amp;nbsp;metadata-keystore folder.&lt;/P&gt;&lt;P&gt;That's it for now. I may have overlooked some information during the install process, but I think some of this should find its way in the official documentation.&lt;/P&gt;</description>
    <pubDate>Mon, 22 Aug 2022 11:03:20 GMT</pubDate>
    <dc:creator>akreienbring1</dc:creator>
    <dc:date>2022-08-22T11:03:20Z</dc:date>
    <item>
      <title>Some proposals to enhance the ZIP file deployment documentation.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/some-proposals-to-enhance-the-zip-file-deployment-documentation/m-p/138023#M37022</link>
      <description>&lt;P&gt;I'm referring to the official documentation here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.alfresco.com/content-services/community/install/zip/" target="_blank" rel="noopener nofollow noreferrer"&gt;Alfresco Docs - Install with zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;My Setup, according to the&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.alfresco.com/content-services/latest/support/" target="_blank" rel="noopener nofollow noreferrer"&gt;Alfresco Docs - Supported platforms&lt;/A&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;JAVA OpenJDK 11.0.13.8&lt;/LI&gt;&lt;LI&gt;MySQL 8.0.27&lt;/LI&gt;&lt;LI&gt;MySQL Connector/J 8.0.27&lt;/LI&gt;&lt;LI&gt;ActiveMQ 5.16.1&lt;/LI&gt;&lt;LI&gt;Tomcat 9.0.65&lt;/LI&gt;&lt;LI&gt;Alfresco Content Services 7.2.0.1&lt;/LI&gt;&lt;LI&gt;Alfresco Search Services (Solr) 2.0.3.6&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If I knew how to contribute to the documentation I would have done so, but I didn't find anything on Github, so I post it here to help others, who may run into the same quirks as I did.&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;Proposal 1 (DB Setup):&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Please add sections regarding the supported DB setups for ACS. There's only an example regarding PostgreSQL. But for MySQL 8 a specific section of the documentation could mention:&amp;nbsp;&lt;/P&gt;&lt;P&gt;That the initial root password is written into a [computername],err file (in the MySQL data folder) after the first initialisation of the DB.&lt;/P&gt;&lt;P&gt;And it would also be helpful to document the creation of the alfreso DB and an user like:&lt;/P&gt;&lt;PRE&gt;mysql&amp;gt; CREATE DATABASE alfresco CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
mysql&amp;gt; create user 'alfresco'@'localhost' IDENTIFIED BY 'alfresco';
mysql&amp;gt; GRANT ALL PRIVILEGES ON alfresco . * TO 'alfresco'@'localhost';&lt;/PRE&gt;&lt;P&gt;While this may be knowledge that any "Install without container" person should have, it would be VERY helpful to have a "alfresco-global.propeties.sample" in the distribution that mentions the correct driver name for MySQL 8 Connector/J.&lt;/P&gt;&lt;P&gt;The sample contains&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;#
# MySQL connection
#
#db.driver=org.gjt.mm.mysql.Driver&lt;/PRE&gt;&lt;P&gt;But the class name for the MySQL 8 Connector/J is&amp;nbsp;&lt;STRONG&gt;com.mysql.cj.jdbc.Driver&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;Proposal 2 (Tomcat location):&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.alfresco.com/content-services/community/install/zip/amp/" target="_blank" rel="noopener nofollow noreferrer"&gt;Alfresco Docs - Install Alfresco Module Package&lt;/A&gt;&lt;/P&gt;&lt;P&gt;should mention that if your Tomcat installation is NOT located under the Alfresco distribution installation the line in "apply_amps.bat"&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;set CATALINA_HOME=%ALF_HOME%tomcat&lt;/PRE&gt;&lt;P&gt;has to be adjusted accordingly.&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;Proposal 3 (&lt;SPAN&gt;Enable Simple JAR modules&lt;/SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The creation of the &lt;EM&gt;modules&lt;/EM&gt; folder under CATALINA_HOME is described as optional in the documentation. But at least for me the deployment failed because of the &lt;EM&gt;share&lt;/EM&gt; and &lt;EM&gt;platform&lt;/EM&gt; deployment XML descriptors that mention these folder.&lt;/P&gt;&lt;P&gt;Moreover: On my Windows OS the path in the XML files was not working until I changed the it to a windows path notation style.&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;Proposal 4 (Solr&amp;nbsp;&lt;SPAN&gt;Metadata Keystore&lt;/SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Sorry, but this is really something that has to be fixed and enhanced in the Search Services distribution and it's :&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.alfresco.com/search-services/latest/install/" target="_self" rel="nofollow noopener noreferrer"&gt;Search Services 2.0 documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The location of the distributed keystore files is wrong. Should be now:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;dir.keystore=${dir.root}/keystore/metadata-keystore&lt;/PRE&gt;&lt;P&gt;And&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;alfresco.secureComms=none&lt;/PRE&gt;&lt;P&gt;is not supported anymore. So either one has to configure "https" or "secret".&lt;/P&gt;&lt;P&gt;In the case of secret, which is the easier way for non production test systems, I had to add&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;alfresco.secureComms.secret=password&lt;/PRE&gt;&lt;P&gt;to all of the followong files&lt;/P&gt;&lt;P&gt;...\alfresco-search-services\solrhome\alfresco\conf\solrcore.properties&lt;BR /&gt;...\alfresco-search-services\solrhome\archive\conf\solrcore.properties&lt;BR /&gt;...\alfresco-search-services\solrhome\templates\noRerank\conf\solrcore.properties&lt;BR /&gt;...\alfresco-search-services\solrhome\templates\rerank\conf\solrcore.properties&lt;/P&gt;&lt;P&gt;AND I had to pass some JAVA Options, which can be done best in &lt;EM&gt;setenv.bat&lt;/EM&gt; in the Tomcat bin folder.&lt;/P&gt;&lt;PRE&gt;set "CATALINA_OPTS=%CATALINA_OPTS%  -Dencryption.keystore.type=JCEKS -Dencryption.cipherAlgorithm=DESede/CBC/PKCS5Padding -Dencryption.keyAlgorithm=DESede -Dencryption.keystore.location=C:/OpenSource/Alfresco-7.2.0.1/alf_data/keystore/metadata-keystore/keystore -Dmetadata-keystore.password=KEYSTOREPW -Dmetadata-keystore.aliases=metadata -Dmetadata-keystore.metadata.password=KEYSTOREMETADATAPW -Dmetadata-keystore.metadata.algorithm=DESede&lt;/PRE&gt;&lt;P&gt;The values of the passwords can be found in the file "keystore-passwords.properties" under the mentioned&amp;nbsp;&amp;nbsp;metadata-keystore folder.&lt;/P&gt;&lt;P&gt;That's it for now. I may have overlooked some information during the install process, but I think some of this should find its way in the official documentation.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 11:03:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/some-proposals-to-enhance-the-zip-file-deployment-documentation/m-p/138023#M37022</guid>
      <dc:creator>akreienbring1</dc:creator>
      <dc:date>2022-08-22T11:03:20Z</dc:date>
    </item>
  </channel>
</rss>

