alfresco-developer-series icon indicating copy to clipboard operation
alfresco-developer-series copied to clipboard

Issue implementing the javascript version in behavior tutorial

Open Mr-DeBonis opened this issue 4 years ago • 1 comments

``First of all, thank you for this guide! These tutorials have proven to be a great starting point and I've learned a lot about alfresco, java, maven and a bit of javascript.

Currently, I'm doing the behaviors tutorial. I have no problem with the java part, but when testing the JavaScript method, I get thiserror after running ./run.sh build_start_it_supported. behavior-tutorial-ass_1 | org.alfresco.error.AlfrescoRuntimeException: 07170097 api/solr/aclchangesets return status:404 behavior-tutorial-ass_1 | at org.alfresco.solr.client.SOLRAPIClient.getAclChangeSets(SOLRAPIClient.java:169) behavior-tutorial-ass_1 | at org.alfresco.solr.tracker.AclTracker.checkRepoAndIndexConsistency(AclTracker.java:338) behavior-tutorial-ass_1 | at org.alfresco.solr.tracker.AclTracker.trackRepository(AclTracker.java:303) behavior-tutorial-ass_1 | at org.alfresco.solr.tracker.AclTracker.doTrack(AclTracker.java:95) behavior-tutorial-ass_1 | at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:215) behavior-tutorial-ass_1 | at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47) behavior-tutorial-ass_1 | at org.quartz.core.JobRunShell.run(JobRunShell.java:216) behavior-tutorial-ass_1 | at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563) behavior-tutorial-ass_1 | 2021-08-17 06:52:10.053 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@59d4cd39_Worker-35) [ ] o.a.s.t.AbstractTracker Tracking failed for ModelTracker - alfresco

I hope you can help me out.

Best regards, Mr De Bonis

Mr-DeBonis avatar Aug 17 '21 07:08 Mr-DeBonis

Thanks for working through the tutorials, I am glad you find them helpful.

The error message you included is from the search server. It is unable to contact the Alfresco Content Services server. This usually means that alfresco did not start up properly. There is likely one or more exceptions earlier in the log that will help you figure out the underlying problem that caused alfresco not to start.

Also, JavaScript backed behaviors should work, but you should know they are not used very often. It is far more common to see Java backed behaviors.

On Tue, Aug 17, 2021 at 2:02 AM Mr-DeBonis @.***> wrote:

``First of all, thank you for this guide! These tutorials have proven to be a great starting point and I've learned a lot about alfresco, java, maven and a bit of javascript.

Currently, I'm doing the behaviors tutorial. I have no problem with the java part, but when testing the JavaScript method, I get thiserror after running ./run.sh build_start_it_supported. behavior-tutorial-ass_1 | org.alfresco.error.AlfrescoRuntimeException: 07170097 api/solr/aclchangesets return status:404 behavior-tutorial-ass_1 | at org.alfresco.solr.client.SOLRAPIClient.getAclChangeSets(SOLRAPIClient.java:169) behavior-tutorial-ass_1 | at org.alfresco.solr.tracker.AclTracker.checkRepoAndIndexConsistency(AclTracker.java:338) behavior-tutorial-ass_1 | at org.alfresco.solr.tracker.AclTracker.trackRepository(AclTracker.java:303) behavior-tutorial-ass_1 | at org.alfresco.solr.tracker.AclTracker.doTrack(AclTracker.java:95) behavior-tutorial-ass_1 | at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:215) behavior-tutorial-ass_1 | at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47) behavior-tutorial-ass_1 | at org.quartz.core.JobRunShell.run(JobRunShell.java:216) behavior-tutorial-ass_1 | at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563) behavior-tutorial-ass_1 | 2021-08-17 06:52:10.053 ERROR @.***_Worker-35) [ ] o.a.s.t.AbstractTracker Tracking failed for ModelTracker - alfresco

I hope you can help me out.

Best regards, Mr De Bonis

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jpotts/alfresco-developer-series/issues/45, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOP5WYVUZ2A3HF6NMD72BLT5ICRXANCNFSM5CJGQVRA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

jpotts avatar Aug 17 '21 17:08 jpotts