<?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: Alfresco fails while starting in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-fails-while-starting/m-p/82592#M25365</link>
    <description>&lt;P&gt;I can't see how this is related to the error I described. I'm not using Docker. I installed from the distribution.zip into an existing tomcat 9 server.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Apr 2020 08:21:00 GMT</pubDate>
    <dc:creator>akreienbring</dc:creator>
    <dc:date>2020-04-21T08:21:00Z</dc:date>
    <item>
      <title>Alfresco fails while starting</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-fails-while-starting/m-p/82588#M25361</link>
      <description>&lt;P&gt;Hello community!&lt;/P&gt;&lt;P&gt;I installed alfresco from the distribution.zip (alfresco-content-services-community-distribution-6.2.0-ga) like described here: &lt;A href="https://docs.alfresco.com/community/concepts/install-zip-overview.html" target="_self" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/community/concepts/install-zip-overview.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Environment:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;JDK 11&lt;/LI&gt;&lt;LI&gt;Tomcat 9.0.34 (I know it's unsupported, but don't belief that it causes my error)&lt;/LI&gt;&lt;LI&gt;PostgreSQL 11.7&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;When I startup Tomcat I see the following error in the log:&lt;/P&gt;&lt;PRE&gt;2020-04-16 11:39:54,217  WARN  [heartbeat.datasender.HBDataSenderServiceBuilder] [main] Setting the Heartbeat sender cron with property 'heartbeat.sender.cronExpression' is no longer supported.
2020-04-16 11:39:54,498  INFO  [domain.schema.SchemaBootstrap] [main] Ignoring script patch (post-Hibernate): patch.db-V4.2-metadata-query-indexes
2020-04-16 11:39:54,498  INFO  [domain.schema.SchemaBootstrap] [main] Ignoring script patch (post-Hibernate): patch.db-V5.1-metadata-query-indexes
2020-04-16 11:39:54,498  INFO  [domain.schema.SchemaBootstrap] [main] Ignoring script patch (post-Hibernate): patch.db-V5.2-remove-jbpm-tables-from-db
2020-04-16 11:39:54,966  INFO  [alfresco.repo.admin] [main] Using database URL 'jdbc:postgresql://localhost:5432/alfresco' with user 'alfresco'.
2020-04-16 11:39:54,966  INFO  [alfresco.repo.admin] [main] Connected to database PostgreSQL version 11.7
2020-04-16 11:39:58,023  WARN  [context.support.XmlWebApplicationContext] [main] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transformer.PdfBox' defined in class path resource [alfresco/content-services-context.xml]: Cannot resolve reference to bean 'pdfBoxPDFParserConfig' while setting bean property 'pdfParserConfig'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pdfBoxPDFParserConfig' defined in class path resource [alfresco/content-services-context.xml]: Unexpected exception during bean creation; nested exception is java.lang.NullPointerException
2020-04-16 11:39:58,335  ERROR [web.context.ContextLoader] [main] Context initialization failed&lt;/PRE&gt;&lt;P&gt;Digging deeper I found this part in the mentioned content-services-context.xml:&lt;/P&gt;&lt;PRE&gt;	&amp;lt;bean id="transformer.PdfBox"
		class="org.alfresco.repo.content.transform.PdfBoxContentTransformer"
		parent="baseTikaContentTransformer"&amp;gt;
		&amp;lt;property name="documentSelector" ref="pdfBoxEmbededDocumentSelector" /&amp;gt;
		&amp;lt;property name="pdfParserConfig" ref="pdfBoxPDFParserConfig"/&amp;gt;
		&amp;lt;property name="extractBookmarksText"&amp;gt;
			&amp;lt;value&amp;gt;${content.transformer.PdfBox.extractBookmarksText}&amp;lt;/value&amp;gt;
		&amp;lt;/property&amp;gt;
	&amp;lt;/bean&amp;gt;
	
	&amp;lt;bean id="pdfBoxPDFParserConfig" class="org.apache.tika.parser.pdf.PDFParserConfig"&amp;gt;
	&amp;lt;/bean&amp;gt;&lt;/PRE&gt;&lt;P&gt;Can someone please tell me why the creation of the Bean fails?&lt;/P&gt;&lt;P&gt;Is a certain component missing that I didn't install? It seems that the DB connection is working but until this point apperently no tables are created...&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 13:28:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-fails-while-starting/m-p/82588#M25361</guid>
      <dc:creator>akreienbring</dc:creator>
      <dc:date>2020-04-16T13:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco fails while starting</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-fails-while-starting/m-p/82589#M25362</link>
      <description>&lt;P&gt;I think this is the root cause:&lt;/P&gt;&lt;PRE&gt;Caused by: java.lang.NullPointerException
	at org.apache.tika.parser.pdf.PDFParserConfig.hashCode(PDFParserConfig.java:749)&lt;/PRE&gt;&lt;P&gt;BTW: In the meantime I installed from alfresco-content-services-community-distribution-6.1.2-ga and it shows the exact same behaviour... &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 10:45:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-fails-while-starting/m-p/82589#M25362</guid>
      <dc:creator>akreienbring</dc:creator>
      <dc:date>2020-04-17T10:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco fails while starting</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-fails-while-starting/m-p/82590#M25363</link>
      <description>&lt;P&gt;I must admit that I was wrong.&lt;/P&gt;&lt;P&gt;The errors I described above are related to tomcat 9. As soon as I used 8.5.54 the errors disapeared. I guess this is a Spring / Tomcat 9 problem.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Apr 2020 16:55:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-fails-while-starting/m-p/82590#M25363</guid>
      <dc:creator>akreienbring</dc:creator>
      <dc:date>2020-04-18T16:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco fails while starting</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-fails-while-starting/m-p/82591#M25364</link>
      <description>&lt;P&gt;i managed to get up and running,&amp;nbsp;&lt;/P&gt;&lt;P&gt;what i did was a bit strange but i thought rolling back to an older version 6.0.5 might work, so i downloaded the YML and did a compose-up&lt;/P&gt;&lt;P&gt;the whole thing downloaded successfully but i accidently had an old container for 6.1.2 GA running. so it didn't start frustratingly&lt;/P&gt;&lt;P&gt;after a bit of stuffing around i ended up re-downloading the YML for 6.1.2 and did a compose up&amp;nbsp;&lt;/P&gt;&lt;P&gt;the whole thing worked&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 01:30:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-fails-while-starting/m-p/82591#M25364</guid>
      <dc:creator>qc-technology</dc:creator>
      <dc:date>2020-04-21T01:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco fails while starting</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-fails-while-starting/m-p/82592#M25365</link>
      <description>&lt;P&gt;I can't see how this is related to the error I described. I'm not using Docker. I installed from the distribution.zip into an existing tomcat 9 server.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 08:21:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-fails-while-starting/m-p/82592#M25365</guid>
      <dc:creator>akreienbring</dc:creator>
      <dc:date>2020-04-21T08:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco fails while starting</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-fails-while-starting/m-p/82593#M25366</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/81278"&gt;@akreienbring&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Glad you got it working &amp;amp; thanks for reporting back - helpful to other users.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 09:23:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-fails-while-starting/m-p/82593#M25366</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-04-21T09:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco fails while starting</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-fails-while-starting/m-p/82594#M25367</link>
      <description>&lt;P&gt;i think we found it, the machine settings on docker were not sufficient, once we upped it to 6Gb ram everything came to life on multiple machines i.e. windows PC and also on a MAC.&lt;/P&gt;&lt;P&gt;i think it would be really handy to include the minimum docker settings on the community download page.&lt;/P&gt;&lt;P&gt;thanks all&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 05:27:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-fails-while-starting/m-p/82594#M25367</guid>
      <dc:creator>qc-technology</dc:creator>
      <dc:date>2020-04-24T05:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco fails while starting</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-fails-while-starting/m-p/82595#M25368</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/81292"&gt;@qc-technology&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Glad you got it sorted &amp;amp; for reporting back. I'll take a look at the documentation.&lt;/P&gt;
&lt;P&gt;Cheers,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 08:26:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-fails-while-starting/m-p/82595#M25368</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-04-24T08:26:40Z</dc:date>
    </item>
  </channel>
</rss>

