<?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 Re: Error ClassNotFoundException - Fail to bootstrap Alfresco 7.1 in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/error-classnotfoundexception-fail-to-bootstrap-alfresco-7-1/m-p/137691#M36935</link>
    <description>&lt;P&gt;Here is pgsql setup guide if it helps:&amp;nbsp;&lt;A href="https://javaworld-abhinav.blogspot.com/2021/02/setup-acs62-ga-and-ass14-distribution-stepbystep-centos.html#setup-pg11-centos" target="_blank" rel="nofollow noopener noreferrer"&gt;https://javaworld-abhinav.blogspot.com/2021/02/setup-acs62-ga-and-ass14-distribution-stepbystep-centos.html#setup-pg11-centos&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;And the two config files for reference:&amp;nbsp;&lt;A href="https://github.com/abhinavmishra14/alfresco7-solr-localtransform-dist-setup/tree/main/linux-platform/PostgreSQL13" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/abhinavmishra14/alfresco7-solr-localtransform-dist-setup/tree/main/linux-platform/PostgreSQL13&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I think there are two ways to it, If you have an existing installation without S3 and you already have content store on file system you need to set appropriate values for this property:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="language-text hljs plaintext"&gt;filecontentstore.subsystem.name=S3 --&amp;gt; &lt;BR /&gt;&lt;BR /&gt;This defines a pure S3 content store, which uses S3 as the only storage mechanism for Alfresco Content Services.This content store is recommended for a clean Alfresco Content Services and S3 Connector installation, or an upgrade of an installation that’s never used the file system.
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;filecontentstore.subsystem.name=S3OnPrem --&amp;gt;

This defines an aggregating content store with S3 as the primary content store and the file system as the secondary store. This configuration is similar to what’s used in previous S3 Connector versions (i.e. 2.x - 3.0) and is set as the default content store.&lt;/PRE&gt;
&lt;P&gt;You case matches to '&lt;SPAN&gt;S3OnPrem&lt;/SPAN&gt;', so you can use the second option. This is most common when upgrading from non s3 content store or and older version of s3 content store.&lt;/P&gt;
&lt;P&gt;If it was a fresh installation and just tests you have done, then you can wipe out the db and content store and start fresh.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can find more details here:&amp;nbsp;&lt;A href="https://docs.alfresco.com/aws-s3/latest/config/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/aws-s3/latest/config/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;S3 Connector is an enterprise only feature, so if you see any issues then contact support and follow their guidance.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Nov 2021 05:29:11 GMT</pubDate>
    <dc:creator>abhinavmishra14</dc:creator>
    <dc:date>2021-11-26T05:29:11Z</dc:date>
    <item>
      <title>Error ClassNotFoundException - Fail to bootstrap Alfresco 7.1</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/error-classnotfoundexception-fail-to-bootstrap-alfresco-7-1/m-p/137685#M36929</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;I've set up newly ACS 7.x (seven.one) in an RHEL environment and bootstrapped the application first time. The bootstrap is getting failed for /alfresco, but successful for /share application. Sharing the logs from catalina.out file below as alfresco.log has 0 content.&lt;/P&gt;&lt;P&gt;Error is same as below for the two classes :&amp;nbsp;WebDAVSessionListener &amp;amp;&amp;nbsp;CORSContextListener&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SEVERE: Error configuring application listener of class [org.alfresco.repo.webdav.WebDAVSessionListener]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;java.lang.ClassNotFoundException: org.alfresco.repo.webdav.WebDAVSessionListener&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1407)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;On further trouble shooting, I found both org.alfresco.repo.webdav.WebDAVSessionListener &amp;amp; org.alfresco.web.app.servlet.CORSContextListener are missing in alfresco.war\WEB-INF\lib\alfresco-repository-11.140.jar\org\alfresco\repo\webdav &amp;amp;&amp;nbsp;alfresco.war\WEB-INF\classes\org\alfresco\web\app\servlet\&lt;/P&gt;&lt;P&gt;Has anbody encountered this issue in ACS7.1 community installation too?&lt;/P&gt;&lt;P&gt;Any fix/ suggestion/ pointer would be highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;U&gt;ENV: Alfresco&amp;nbsp;7.x (seven.one) Enterprise, Tomcat 9.0.48 &amp;amp; Postgres 13.3 on AWS EC2 (RHEL)&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Maqsood&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 14:56:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/error-classnotfoundexception-fail-to-bootstrap-alfresco-7-1/m-p/137685#M36929</guid>
      <dc:creator>maqsood</dc:creator>
      <dc:date>2021-11-24T14:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error ClassNotFoundException - Fail to bootstrap Alfresco 7.1</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/error-classnotfoundexception-fail-to-bootstrap-alfresco-7-1/m-p/137686#M36930</link>
      <description>&lt;P&gt;Duplicate of this:&amp;nbsp;&lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/alfresco-7-1-bootstrap-failed/m-p/310429/highlight/true#M26160" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.alfresco.com/t5/alfresco-content-services-forum/alfresco-7-1-bootstrap-failed/m-p/310429/highlight/true#M26160&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please check the installation steps carefully and see if you have been missing anything. Also check if alfresco.war is exploading correctly. Make sure right permissions are provided when starting the tomcat.&lt;/P&gt;
&lt;P&gt;The classes are part of remore-api not repository:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/Alfresco/alfresco-community-repo/blob/master/remote-api/src/main/java/org/alfresco/repo/webdav/WebDAVSessionListener.java" target="_blank" rel="noopener nofollow noreferrer"&gt;https://github.com/Alfresco/alfresco-community-repo/blob/master/remote-api/src/main/java/org/alfresco/repo/webdav/WebDAVSessionListener.java&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/Alfresco/alfresco-community-repo/blob/master/remote-api/src/main/java/org/alfresco/web/app/servlet/CORSContextListener.java" target="_blank" rel="noopener nofollow noreferrer"&gt;https://github.com/Alfresco/alfresco-community-repo/blob/master/remote-api/src/main/java/org/alfresco/web/app/servlet/CORSContextListener.java&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 18:50:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/error-classnotfoundexception-fail-to-bootstrap-alfresco-7-1/m-p/137686#M36930</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2021-11-24T18:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error ClassNotFoundException - Fail to bootstrap Alfresco 7.1</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/error-classnotfoundexception-fail-to-bootstrap-alfresco-7-1/m-p/137687#M36931</link>
      <description>&lt;P&gt;Hi Abhinav,&lt;/P&gt;&lt;P&gt;thanks for your reply.&lt;/P&gt;&lt;P&gt;I followed your post for step by step installation, war file seems to be exploded fine &amp;amp; permissions too (as below).&lt;/P&gt;&lt;P&gt;But wanted to check deploying amps (as in the post) to enterprise war is an issue? do I need to remove any amps?&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Permissions:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;[root@TESTENVAPP ~]$ ls -l /usr/local/alfresco71/&lt;BR /&gt;total 8&lt;BR /&gt;drwxr-xr-x 11 alfresco Alfresco 245 Nov 22 07:15 activemq&lt;BR /&gt;drwxrwxr-x 3 alfresco Alfresco 22 Nov 22 06:39 alf_data&lt;BR /&gt;drwxr-xr-x 7 root root 174 Nov 22 07:53 alfresco-content-services-distribution&lt;BR /&gt;drwxr-xr-x 2 alfresco Alfresco 35 Nov 22 10:15 alfresco-pdf-renderer&lt;BR /&gt;drwxr-xr-x 2 alfresco Alfresco 122 Nov 22 08:08 amps&lt;BR /&gt;drwxr-xr-x 2 alfresco Alfresco 89 Nov 22 08:08 amps_share&lt;BR /&gt;drwxr-xr-x 2 alfresco Alfresco 124 Nov 22 16:34 bin&lt;BR /&gt;drwxr-xr-x 3 alfresco Alfresco 34 Nov 22 10:28 exiftool&lt;BR /&gt;drwxr-xr-x 2 alfresco Alfresco 58 Nov 22 09:38 imagemagic&lt;BR /&gt;drwxr-xr-x 2 alfresco Alfresco 145 Nov 22 09:44 libreoffice&lt;BR /&gt;drwxr-xr-x 3 alfresco Alfresco 60 Nov 22 08:10 licenses&lt;BR /&gt;-rwxr-xr-x 1 alfresco Alfresco 2772 Nov 22 16:51 localTransformationService.sh&lt;BR /&gt;drwxr-xr-x 4 alfresco Alfresco 35 Nov 22 06:39 modules&lt;BR /&gt;drwxr-xr-x 11 alfresco Alfresco 4096 Nov 24 07:44 tomcat&lt;/P&gt;&lt;P&gt;[root@TESTENVAPP ~]# ls -l /usr/local/alfresco71/tomcat/&lt;BR /&gt;total 11372&lt;BR /&gt;-rw-r----- 1 alfresco Alfresco 0 Nov 23 07:57 alfresco.log&lt;BR /&gt;drwxr-xr-x 9 alfresco Alfresco 220 Nov 22 08:53 apache-tomcat-9.0.48&lt;BR /&gt;-rwxr-xr-x 1 alfresco Alfresco 11489338 Nov 22 07:36 apache-tomcat-9.0.48.tar.gz&lt;BR /&gt;drwxr-xr-x 2 alfresco Alfresco 4096 Nov 22 09:09 bin&lt;BR /&gt;-rw-r----- 1 alfresco Alfresco 18949 Jun 10 09:22 BUILDING.txt&lt;BR /&gt;drwxr-xr-x 3 alfresco Alfresco 254 Nov 23 08:18 conf&lt;BR /&gt;-rw-r----- 1 alfresco Alfresco 6210 Jun 10 09:22 CONTRIBUTING.md&lt;BR /&gt;drwxr-xr-x 2 alfresco Alfresco 4096 Nov 22 08:12 lib&lt;BR /&gt;-rw-r----- 1 alfresco Alfresco 57092 Jun 10 09:22 LICENSE&lt;BR /&gt;drwxrwxr-x 2 alfresco Alfresco 4096 Nov 24 07:43 logs&lt;BR /&gt;-rw-r----- 1 alfresco Alfresco 2333 Jun 10 09:22 NOTICE&lt;BR /&gt;-rw-r--r-- 1 alfresco Alfresco 1434 Nov 22 07:45 q&lt;BR /&gt;-rw-r----- 1 alfresco Alfresco 3372 Jun 10 09:22 README.md&lt;BR /&gt;-rw-r----- 1 alfresco Alfresco 6898 Jun 10 09:22 RELEASE-NOTES&lt;BR /&gt;-rw-r----- 1 alfresco Alfresco 16507 Jun 10 09:22 RUNNING.txt&lt;BR /&gt;drwxr-xr-x 4 alfresco Alfresco 32 Nov 22 06:39 shared&lt;BR /&gt;-rw-r----- 1 alfresco Alfresco 2578 Nov 24 07:48 share.log&lt;BR /&gt;-rw-r----- 1 alfresco Alfresco 5156 Nov 23 08:24 share.log.2021-11-23&lt;BR /&gt;drwxrwxr-x 2 alfresco Alfresco 48 Nov 24 07:43 temp&lt;BR /&gt;drwxrwxr-x 6 alfresco Alfresco 209 Nov 22 17:07 webapps&lt;BR /&gt;drwxrwxr-x 3 alfresco Alfresco 22 Nov 22 07:44 work&lt;BR /&gt;[root@TESTENVAPP ~]# ls -l /usr/local/alfresco71/tomcat/logs/&lt;BR /&gt;total 328&lt;BR /&gt;-rw-r----- 1 alfresco Alfresco 73358 Nov 22 17:07 catalina.2021-11-22.log&lt;BR /&gt;-rw-r----- 1 alfresco Alfresco 50335 Nov 23 16:41 catalina.2021-11-23.log&lt;BR /&gt;-rw-r----- 1 alfresco Alfresco 19716 Nov 24 15:07 catalina.2021-11-24.log&lt;BR /&gt;-rw-r----- 1 alfresco Alfresco 66809 Nov 24 15:07 catalina.out&lt;BR /&gt;-rw-r----- 1 alfresco Alfresco 0 Nov 22 07:44 host-manager.2021-11-22.log&lt;BR /&gt;-rw-r----- 1 alfresco Alfresco 0 Nov 23 07:57 host-manager.2021-11-23.log&lt;BR /&gt;-rw-r----- 1 alfresco Alfresco 0 Nov 24 07:43 host-manager.2021-11-24.log&lt;BR /&gt;-rw-r----- 1 alfresco Alfresco 1398 Nov 22 08:36 localhost.2021-11-22.log&lt;BR /&gt;-rw-r----- 1 alfresco Alfresco 2090 Nov 23 16:41 localhost.2021-11-23.log&lt;BR /&gt;-rw-r----- 1 alfresco Alfresco 1045 Nov 24 15:07 localhost.2021-11-24.log&lt;BR /&gt;-rw-r----- 1 alfresco Alfresco 2705 Nov 22 23:33 localhost_access_log.2021-11-22.txt&lt;BR /&gt;-rw-r----- 1 alfresco Alfresco 87843 Nov 23 16:13 localhost_access_log.2021-11-23.txt&lt;BR /&gt;-rw-r----- 1 alfresco Alfresco 9842 Nov 24 14:26 localhost_access_log.2021-11-24.txt&lt;BR /&gt;-rw-r----- 1 alfresco Alfresco 0 Nov 22 07:44 manager.2021-11-22.log&lt;BR /&gt;-rw-r----- 1 alfresco Alfresco 0 Nov 23 07:57 manager.2021-11-23.log&lt;BR /&gt;-rw-r----- 1 alfresco Alfresco 0 Nov 24 07:43 manager.2021-11-24.log&lt;BR /&gt;[root@TESTENVAPP ~]# ls -l /usr/local/alfresco71/tomcat/temp/&lt;BR /&gt;total 4&lt;BR /&gt;-rwxrwxr-x 1 alfresco Alfresco 0 Jun 10 09:22 safeToDelete.tmp&lt;BR /&gt;-rw-r----- 1 alfresco Alfresco 5 Nov 24 07:43 tomcat.pid&lt;BR /&gt;[root@TESTENVAPP ~]# ls -l /usr/local/alfresco71/tomcat/webapps/&lt;BR /&gt;total 604560&lt;BR /&gt;drwxr-x--- 9 alfresco Alfresco 138 Nov 22 17:07 alfresco&lt;BR /&gt;-rwxrwxr-x 1 alfresco Alfresco 220995356 Nov 22 17:07 alfresco.war&lt;BR /&gt;-rw-r--r-- 1 alfresco Alfresco 203873127 Nov 22 08:39 alfresco.war-1637600861798.bak&lt;BR /&gt;drwxr-x--- 6 alfresco Alfresco 119 Nov 22 08:39 ROOT&lt;BR /&gt;-rwxrwxr-x 1 alfresco Alfresco 275031 Nov 22 08:39 ROOT.war&lt;BR /&gt;drwxr-x--- 16 alfresco Alfresco 289 Nov 22 17:07 share&lt;BR /&gt;-rwxrwxr-x 1 alfresco Alfresco 97233568 Nov 22 17:07 share.war&lt;BR /&gt;-rw-r--r-- 1 alfresco Alfresco 95918128 Nov 22 08:39 share.war-1637600865918.bak&lt;BR /&gt;drwxr-x--- 4 alfresco Alfresco 54 Nov 22 08:39 _vti_bin&lt;BR /&gt;-rwxrwxr-x 1 alfresco Alfresco 762848 Nov 22 08:39 _vti_bin.war&lt;BR /&gt;[root@TESTENVAPP ~]# ls -l /usr/local/alfresco71/tomcat/work/&lt;BR /&gt;total 0&lt;BR /&gt;drwxr-x--- 3 alfresco Alfresco 23 Nov 23 08:20 Catalina&lt;BR /&gt;[root@TESTENVAPP ~]# ls -l /usr/local/alfresco-search-services/&lt;BR /&gt;total 20&lt;BR /&gt;drwxr-xr-x 4 solr Solr 72 Nov 23 05:49 licenses&lt;BR /&gt;drwxrwxr-x 3 solr Solr 128 Nov 23 06:09 logs&lt;BR /&gt;-rwxr-xr-x 1 solr Solr 1328 Nov 23 05:49 README.MD&lt;BR /&gt;drwxr-xr-x 6 solr Solr 159 Nov 23 05:49 solr&lt;BR /&gt;drwxrwxr-x 7 solr Solr 125 Nov 23 06:04 solrhome&lt;BR /&gt;-rwxr-xr-x 1 solr Solr 6764 Nov 23 05:49 solr.in.cmd&lt;BR /&gt;-rwxr-xr-x 1 solr Solr 7523 Nov 23 06:25 solr.in.sh&lt;BR /&gt;[root@TESTENVAPP ~]# ls -l /usr/local/alfresco-search-services/logs/&lt;BR /&gt;total 32&lt;BR /&gt;drwxr-xr-x 2 solr solr 6 Nov 23 06:04 archived&lt;BR /&gt;-rwxrwxr-x 1 solr Solr 1770 Nov 23 05:49 log4j.properties&lt;BR /&gt;-rwxrwxr-x 1 solr Solr 245 Nov 23 05:49 README.txt&lt;BR /&gt;-rw-r--r-- 1 solr solr 920 Nov 23 06:04 solr-8983-console.log&lt;BR /&gt;-rw-r--r-- 1 solr solr 5718 Nov 23 06:07 solr_gc.log&lt;BR /&gt;-rw-r--r-- 1 solr solr 11001 Nov 23 06:04 solr.log&lt;BR /&gt;[root@TESTENVAPP ~]# ls -l /usr/local/alfresco-search-services/solrhome/&lt;BR /&gt;total 8&lt;BR /&gt;drwxr-xr-x 6 solr solr 91 Nov 23 06:04 alfresco&lt;BR /&gt;drwxrwxr-x 2 solr Solr 24 Nov 23 05:49 alfrescoModels&lt;BR /&gt;drwxr-xr-x 6 solr solr 91 Nov 23 06:04 archive&lt;BR /&gt;drwxrwxr-x 2 solr Solr 93 Nov 23 06:23 conf&lt;BR /&gt;-rwxrwxr-x 1 solr Solr 95 Nov 23 05:49 security.json&lt;BR /&gt;-rwxrwxr-x 1 solr Solr 151 Nov 23 05:49 solr.xml&lt;BR /&gt;drwxrwxr-x 4 solr Solr 36 Nov 23 05:49 templates&lt;BR /&gt;[root@TESTENVAPP ~]#&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maqsood&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 08:00:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/error-classnotfoundexception-fail-to-bootstrap-alfresco-7-1/m-p/137687#M36931</guid>
      <dc:creator>maqsood</dc:creator>
      <dc:date>2021-11-25T08:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error ClassNotFoundException - Fail to bootstrap Alfresco 7.1</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/error-classnotfoundexception-fail-to-bootstrap-alfresco-7-1/m-p/137688#M36932</link>
      <description>&lt;P&gt;I resolved it by removing amp 'ootbee-support-tools-repo' from 'alfresco.war'. the bootstrap for /alfresco context started, however, having issue in database connection (running on different machine with Postgres 13.3) which I am looking into currently.&lt;/P&gt;&lt;P&gt;Any pointer why Am I getting this error? do I need to do any change at db level to allow access to database since it is freshly installed?&lt;/P&gt;&lt;P&gt;I am able to ping the db machine though.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Caused by: org.postgresql.util.PSQLException: Connection to 10.131.3.131:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:303)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maqsood&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 11:00:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/error-classnotfoundexception-fail-to-bootstrap-alfresco-7-1/m-p/137688#M36932</guid>
      <dc:creator>maqsood</dc:creator>
      <dc:date>2021-11-25T11:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error ClassNotFoundException - Fail to bootstrap Alfresco 7.1</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/error-classnotfoundexception-fail-to-bootstrap-alfresco-7-1/m-p/137689#M36933</link>
      <description>&lt;P&gt;I am&amp;nbsp; not sure why that amp would have caused issue, it works fine in my case and i have done several installations as well. But glad you are unnblocked for now.&lt;/P&gt;
&lt;P&gt;The other error is saying that repo is not able to connect to the pgsql running on that ip&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ort, Please check if connections/firewalls/ports are open and allowed to do so.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Nov 2021 03:38:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/error-classnotfoundexception-fail-to-bootstrap-alfresco-7-1/m-p/137689#M36933</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2021-11-26T03:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error ClassNotFoundException - Fail to bootstrap Alfresco 7.1</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/error-classnotfoundexception-fail-to-bootstrap-alfresco-7-1/m-p/137690#M36934</link>
      <description>&lt;P&gt;Since database is a clean install running on a different machine, I need to do the blelow change in order to resolve the db issue.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF9900"&gt;listen_addresses&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;in&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#FF9900"&gt;postgresql.conf&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;was commented out so I uncommented &amp;amp; changed that property to '*'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if error still persists&lt;SPAN&gt;&amp;nbsp;then changes in &lt;FONT color="#FF9900"&gt;pg_hba.conf&lt;/FONT&gt; is required too as per the&amp;nbsp;&lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/quot-connection-to-localhost-5432-refused-check-that-the/m-p/229936#M12841" target="_self" rel="nofollow noopener noreferrer"&gt;post.&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Now, as the env started &amp;amp; running on filesystem, I am looking to configure S3 connector. Per Alfresco documentation, it says, alfresco shouldn't be started if S3 connector needs to be configured. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;But in my case I've already started &amp;amp; tested the 7.1 installation on filesystem so will it be a problem?&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Pls can you suggest any reference/ guide for this configuration?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Maqsood&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Nov 2021 04:32:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/error-classnotfoundexception-fail-to-bootstrap-alfresco-7-1/m-p/137690#M36934</guid>
      <dc:creator>maqsood</dc:creator>
      <dc:date>2021-11-26T04:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error ClassNotFoundException - Fail to bootstrap Alfresco 7.1</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/error-classnotfoundexception-fail-to-bootstrap-alfresco-7-1/m-p/137691#M36935</link>
      <description>&lt;P&gt;Here is pgsql setup guide if it helps:&amp;nbsp;&lt;A href="https://javaworld-abhinav.blogspot.com/2021/02/setup-acs62-ga-and-ass14-distribution-stepbystep-centos.html#setup-pg11-centos" target="_blank" rel="nofollow noopener noreferrer"&gt;https://javaworld-abhinav.blogspot.com/2021/02/setup-acs62-ga-and-ass14-distribution-stepbystep-centos.html#setup-pg11-centos&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;And the two config files for reference:&amp;nbsp;&lt;A href="https://github.com/abhinavmishra14/alfresco7-solr-localtransform-dist-setup/tree/main/linux-platform/PostgreSQL13" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/abhinavmishra14/alfresco7-solr-localtransform-dist-setup/tree/main/linux-platform/PostgreSQL13&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I think there are two ways to it, If you have an existing installation without S3 and you already have content store on file system you need to set appropriate values for this property:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="language-text hljs plaintext"&gt;filecontentstore.subsystem.name=S3 --&amp;gt; &lt;BR /&gt;&lt;BR /&gt;This defines a pure S3 content store, which uses S3 as the only storage mechanism for Alfresco Content Services.This content store is recommended for a clean Alfresco Content Services and S3 Connector installation, or an upgrade of an installation that’s never used the file system.
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;filecontentstore.subsystem.name=S3OnPrem --&amp;gt;

This defines an aggregating content store with S3 as the primary content store and the file system as the secondary store. This configuration is similar to what’s used in previous S3 Connector versions (i.e. 2.x - 3.0) and is set as the default content store.&lt;/PRE&gt;
&lt;P&gt;You case matches to '&lt;SPAN&gt;S3OnPrem&lt;/SPAN&gt;', so you can use the second option. This is most common when upgrading from non s3 content store or and older version of s3 content store.&lt;/P&gt;
&lt;P&gt;If it was a fresh installation and just tests you have done, then you can wipe out the db and content store and start fresh.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can find more details here:&amp;nbsp;&lt;A href="https://docs.alfresco.com/aws-s3/latest/config/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/aws-s3/latest/config/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;S3 Connector is an enterprise only feature, so if you see any issues then contact support and follow their guidance.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Nov 2021 05:29:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/error-classnotfoundexception-fail-to-bootstrap-alfresco-7-1/m-p/137691#M36935</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2021-11-26T05:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error ClassNotFoundException - Fail to bootstrap Alfresco 7.1</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/error-classnotfoundexception-fail-to-bootstrap-alfresco-7-1/m-p/137692#M36936</link>
      <description>&lt;P&gt;Thanks for sharing, with the help of above links, I could able to configure S3 successfully.&lt;/P&gt;&lt;P&gt;Now the issue is with search/ solr, I am unable to search in Alfresco Share though my ASS is running fine, error I got in solr.log is as below &amp;amp; no indexes generated.&lt;/P&gt;&lt;P&gt;Although, I have followed this &lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/search-services-failed-to-initialize-keystore/m-p/304836#M23041" target="_self" rel="nofollow noopener noreferrer"&gt;post&lt;/A&gt; to generate keystore using &lt;FONT color="#FF9900"&gt;ssl-tool/run.sh&lt;/FONT&gt; and placed the files at location mentioned in the error, still having the same error. Have also tried full re-index option but no success.&lt;/P&gt;&lt;P&gt;What configuration am I missing to do? Pls suggest.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Error:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;2021-11-26 22:22:52.259 ERROR (searcherExecutor-8-thread-1-processing-x:alfresco) [ x:alfresco] o.a.s.c.SolrCore null&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;rg.alfresco.error.AlfrescoRuntimeException: 10260003 Failed to initialize keystore:&lt;BR /&gt;Location: ssl.repo.client.keystore&lt;BR /&gt;Provider:&lt;BR /&gt;Type: JCEKS&lt;BR /&gt;at org.alfresco.encryption.AlfrescoKeyStoreImpl.loadKeyStore(AlfrescoKeyStoreImpl.java:579)&lt;BR /&gt;at org.alfresco.encryption.AlfrescoKeyStoreImpl.safeInit(AlfrescoKeyStoreImpl.java:546)&lt;BR /&gt;at org.alfresco.encryption.AlfrescoKeyStoreImpl.&amp;lt;init&amp;gt;(AlfrescoKeyStoreImpl.java:110)&lt;BR /&gt;at org.alfresco.httpclient.HttpClientFactory.init(HttpClientFactory.java:171)&lt;BR /&gt;at org.alfresco.httpclient.HttpClientFactory.&amp;lt;init&amp;gt;(HttpClientFactory.java:151)&lt;BR /&gt;at org.alfresco.httpclient.HttpClientFactory.&amp;lt;init&amp;gt;(HttpClientFactory.java:163)&lt;BR /&gt;at org.alfresco.solr.client.SOLRAPIClientFactory.getRepoClient(SOLRAPIClientFactory.java:205)&lt;BR /&gt;at org.alfresco.solr.client.SOLRAPIClientFactory.getSOLRAPIClient(SOLRAPIClientFactory.java:185)&lt;BR /&gt;at org.alfresco.solr.lifecycle.SolrCoreLoadListener.newSearcher(SolrCoreLoadListener.java:125)&lt;BR /&gt;at org.apache.solr.core.SolrCore.lambda$getSearcher$15(SolrCore.java:2249)&lt;BR /&gt;at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)&lt;BR /&gt;at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)&lt;BR /&gt;at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)&lt;BR /&gt;at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)&lt;BR /&gt;at java.base/java.lang.Thread.run(Thread.java:829)&lt;BR /&gt;Caused by: org.alfresco.error.AlfrescoRuntimeException: 10260000 Unable to load key store: ssl.repo.client.keystore&lt;BR /&gt;at org.alfresco.encryption.AlfrescoKeyStoreImpl.loadKeyStore(AlfrescoKeyStoreImpl.java:522)&lt;BR /&gt;at org.alfresco.encryption.AlfrescoKeyStoreImpl.loadKeyStore(AlfrescoKeyStoreImpl.java:570)&lt;BR /&gt;... 14 more&lt;BR /&gt;Caused by: java.io.FileNotFoundException: Caused by Can't find resource 'ssl.repo.client.keystore' in classpath or '/usr/local/alfresco-search-services/solrhome/alfresco'&lt;BR /&gt;at org.alfresco.solr.SolrKeyResourceLoader.getKeyStore(SolrKeyResourceLoader.java:63)&lt;BR /&gt;at org.alfresco.encryption.AlfrescoKeyStoreImpl.getKeyStoreStream(AlfrescoKeyStoreImpl.java:386)&lt;BR /&gt;at org.alfresco.encryption.AlfrescoKeyStoreImpl.loadKeyStore(AlfrescoKeyStoreImpl.java:498)&lt;BR /&gt;... 15 more&lt;BR /&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maqsood&lt;/P&gt;</description>
      <pubDate>Fri, 26 Nov 2021 22:40:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/error-classnotfoundexception-fail-to-bootstrap-alfresco-7-1/m-p/137692#M36936</guid>
      <dc:creator>maqsood</dc:creator>
      <dc:date>2021-11-26T22:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error ClassNotFoundException - Fail to bootstrap Alfresco 7.1</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/error-classnotfoundexception-fail-to-bootstrap-alfresco-7-1/m-p/137693#M36937</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;Appreciate if anyone can provide any pointer on the above SOLR issue? Thx!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maqsood&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 06:28:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/error-classnotfoundexception-fail-to-bootstrap-alfresco-7-1/m-p/137693#M36937</guid>
      <dc:creator>maqsood</dc:creator>
      <dc:date>2021-11-30T06:28:23Z</dc:date>
    </item>
  </channel>
</rss>

