<?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 Problem running AIO project from SDK 3 in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/problem-running-aio-project-from-sdk-3/m-p/35500#M14990</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have installed the Community Edition 201702 using the&amp;nbsp;&lt;A href="https://github.com/loftuxab/alfresco-ubuntu-install" rel="nofollow noopener noreferrer"&gt;Ubuntu Installer&lt;/A&gt;, as suggested to me in a previous question I've asked (&lt;A _jive_internal="true" href="https://community.alfresco.com/thread/230735-problem-installing-community-edition-201702" rel="nofollow noopener noreferrer"&gt;Problem installing Community Edition 201702&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;Then I've created an AIO using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;mvn archetype:generate -DarchetypeGroupId=org.alfresco.maven.archetype -DarchetypeArtifactId=alfresco-allinone-archetype -DarchetypeVersion=3.0.0 -DinteractiveMode=false -DgroupId=com.acme.alfresco -DartifactId=my-aio-project&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;from the&amp;nbsp;&lt;A _jive_internal="true" href="https://community.alfresco.com/people/ohej/blog/2017/03/31/announcing-alfresco-sdk-30" rel="nofollow noopener noreferrer"&gt;Announcing Alfresco SDK 3.0&lt;/A&gt;&amp;nbsp;blog post. The output of the above command is in the "sdk3_aio.txt" file.&lt;/P&gt;&lt;P&gt;Then I cd in the folder of the created project, make the run.sh executable and then I run it.&lt;BR /&gt;At some point I start seeing errors like this:&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt; 2017-04-06 10:08:00,966&amp;nbsp; ERROR [solr.tracker.AbstractTracker] [org.alfresco.solr.AlfrescoCoreAdminHandler@4795c238_Worker-1] Model tracking failed&lt;BR /&gt; org.alfresco.error.AlfrescoRuntimeException: 03060000 GetModelsDiff return status is 403&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1181)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.java:256)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:214)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.solr.tracker.ModelTracker.ensureFirstModelSync(ModelTracker.java:236)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.solr.tracker.CoreWatcherJob.registerForCore(CoreWatcherJob.java:145)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.solr.tracker.CoreWatcherJob.execute(CoreWatcherJob.java:82)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.quartz.core.JobRunShell.run(JobRunShell.java:216)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;And it just continues like this(different exception numbers etc) until I just stop it with Ctrl+C. I've included the output, after I executed run.sh, in the "sdk3_run.txt"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know what the problem is? &lt;BR /&gt;I'm trying to follow some steps from the documentation to make some custom content models and in the "Create.." menu of the Share UI and in all of the them it tells me that I have to create an AIO project first and use that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Apr 2017 07:39:12 GMT</pubDate>
    <dc:creator>akafortes</dc:creator>
    <dc:date>2017-04-06T07:39:12Z</dc:date>
    <item>
      <title>Problem running AIO project from SDK 3</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/problem-running-aio-project-from-sdk-3/m-p/35500#M14990</link>
      <description>I have installed the Community Edition 201702 using the&amp;nbsp;Ubuntu Installer, as suggested to me in a previous question I've asked (Problem installing Community Edition 201702)Then I've created an AIO usingmvn archetype:generate -DarchetypeGroupId=org.alfresco.maven.archetype -DarchetypeArtifactId=alfre</description>
      <pubDate>Thu, 06 Apr 2017 07:39:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/problem-running-aio-project-from-sdk-3/m-p/35500#M14990</guid>
      <dc:creator>akafortes</dc:creator>
      <dc:date>2017-04-06T07:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem running AIO project from SDK 3</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/problem-running-aio-project-from-sdk-3/m-p/35501#M14991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an interesting issue. It seems Solr can't connect to Alfresco, but everything seems fine looking at the output (btw, thanks for including that, makes it much easier).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you let me know which Maven / Java version you're running? The output from "mvn -version" would be fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, can you check alf_data_dev/solr/workspace-SpacesStore/conf/solrcore.properties? Verify that it has the correct data.dir.root - &amp;nbsp;as well as alfresco.host and alfresco.port?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Despite the errors, are you able to log in to Share on &lt;A href="http://localhost:8080/share" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/share&lt;/A&gt;&amp;nbsp;?&lt;/P&gt;&lt;P&gt;What do you see if you access&amp;nbsp;&lt;A href="http://localhost:8080/alfresco/service/api/solr/aclchangesets" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/api/solr/aclchangesets&lt;/A&gt;&amp;nbsp;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 08:53:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/problem-running-aio-project-from-sdk-3/m-p/35501#M14991</guid>
      <dc:creator>ohej</dc:creator>
      <dc:date>2017-04-11T08:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem running AIO project from SDK 3</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/problem-running-aio-project-from-sdk-3/m-p/35502#M14992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is my mvn -version output&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T18:41:47+02:00)&lt;BR /&gt;Maven home: /home/administrator/libs/maven/apache-maven-3.3.9&lt;BR /&gt;Java version: 1.8.0_121, vendor: Oracle Corporation&lt;BR /&gt;Java home: /usr/lib/jvm/java-8-oracle/jre&lt;BR /&gt;Default locale: en_US, platform encoding: UTF-8&lt;BR /&gt;OS name: "linux", version: "4.4.0-62-generic", arch: "amd64", family: "unix"&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data.dir.root&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;data.dir.root=/home/administrator/alfresco/aio-3-alf/alf_data_dev/solr/index&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;alfresco.host and alfresco.port&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;alfresco.host=localhost&lt;BR /&gt;alfresco.port=8080&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Should I change the localhost to the IP of the server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm able to login to &lt;A href="http://&amp;lt;server-ip&amp;gt;:8080/share" rel="nofollow noopener noreferrer"&gt;http://&amp;lt;server-ip&amp;gt;:8080/share&lt;/A&gt;&amp;nbsp;(although I think it's the Share from the original installation of Alfresco and not from the AIO)&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.alfresco.com/message/ http:/&amp;lt;server-ip&amp;gt;:8080/alfresco/service/api/solr/aclchangesets" rel="nofollow noopener noreferrer"&gt;http://&amp;lt;server-ip&amp;gt;:8080/alfresco/service/api/solr/aclchangesets&lt;/A&gt;&amp;nbsp; returns&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;HTTP Status 403 - X509 Authentication failure‍&lt;BR /&gt;type Status report&lt;BR /&gt;message X509 Authentication failure&lt;BR /&gt;description Access to the specified resource has been forbidden.‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general, I am a little confused about how to&amp;nbsp;use the&amp;nbsp;the AIO project. Since I already have an instance of Alfresco running on the 8080 port right from the start of my installation, how is the AIO going to run instead of this?&lt;/P&gt;&lt;P&gt;My Alfresco installation is in "/opt/alfresco/" and I have created the AIO in "/home/administrator/alfresco/aio-3-alf/". Should I have created the AIO in the installation folder of Alfresco? Should I change the port of the AIO in its settings?&lt;/P&gt;&lt;P&gt;Not really sure on that subject which might as well be the reason for these errors, don't really know&amp;nbsp;&lt;IMG src="https://connect.hyland.com/legacyfs/online/alfresco/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 09:53:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/problem-running-aio-project-from-sdk-3/m-p/35502#M14992</guid>
      <dc:creator>akafortes</dc:creator>
      <dc:date>2017-04-11T09:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem running AIO project from SDK 3</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/problem-running-aio-project-from-sdk-3/m-p/35503#M14993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That would explain it. If you already have the community installer running then you will get into conflicts. Essentially what you are seeing right now is that Solr is trying to access your community installer, where it would normally be accessing the platform that is running as part of the SDK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SDK with all-in-one will start both the repository platform, solr and share. If you already have them running via the installer, then you will get into some unfortunate conflicts. Solution: Shut down the installer that is running - or change the port of the SDK project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you let me know a bit more about what you are trying to achieve? Are you developing a customisation or extension on top of the platform? If so, you should only be using the SDK. If you are exploring the platform use the installer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Overall you want to keep the installer separate from your SDK project. The SDK will allow you to build customisations&amp;nbsp;and extensions and it will run them in a self-contained environment (embedded database and Tomcat server). Once you've developed them, you can then deploy the artifacts created by the SDK (either a JAR or an AMP) into your production environment.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 10:11:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/problem-running-aio-project-from-sdk-3/m-p/35503#M14993</guid>
      <dc:creator>ohej</dc:creator>
      <dc:date>2017-04-11T10:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem running AIO project from SDK 3</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/problem-running-aio-project-from-sdk-3/m-p/35504#M14994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are going to use Alfresco, in my company, so&amp;nbsp;I am trying to create custom content model(etc) to use in our implementation.&lt;/P&gt;&lt;P&gt;So, if I understand correctly, I should use the AIO project to create and test all the custom types and other customisations I want to achieve and then, after I'm done, transfer the JARs/AMPS/WARs to the&amp;nbsp;original Alfresco installations. Is that correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 10:35:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/problem-running-aio-project-from-sdk-3/m-p/35504#M14994</guid>
      <dc:creator>akafortes</dc:creator>
      <dc:date>2017-04-11T10:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem running AIO project from SDK 3</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/problem-running-aio-project-from-sdk-3/m-p/35505#M14995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that would be the correct approach &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2017 10:41:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/problem-running-aio-project-from-sdk-3/m-p/35505#M14995</guid>
      <dc:creator>ohej</dc:creator>
      <dc:date>2017-04-12T10:41:49Z</dc:date>
    </item>
  </channel>
</rss>

