During the past months few users emailed me to ask for a support because
they received an ‘Internal Server Error’ while running the A.A.A.R. v1.3. I would like to thank them for the energy they put to solve the problem and specially Gabriele Barbara that wrote the post I share below. The current post has been added to the A.A.A.R.’s FAQ hoping will help someone else.
Gabriele Barbara say:
Using the latest version of A.A.A.R. (v1.3) on Alfresco Community 4.2.c, Windows platform and MySQL database, you could get an error message.
…
ERROR 19-05 13:33:54,593 - Cmis Input documents before last update - Unxpected Error
ERROR 19-05 13:33:54,593 - Cmis Input documents before last update – org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: Internal Server Error
…
After running:
kitchen.bat /rep:"AAAR_Kettle" /job:"Get all" /dir:/Alfresco /user:admin /pass:admin /param:get_parents=true /level:Basic
The problem appears when the job goes to step “get nodes” (if in fact you are running
kitchen.bat /rep:"AAAR_Kettle" /job:"Get audit" /dir:/Alfresco /user:admin /pass:admin /level:Basic
the job ends properly) and seems to be linked to the “SOLR SSL certificate”.
If in the file ‘<Alfresco>/tomcat/shared/classes/alfresco-global.properties’ there is the line:
index.subsystem.name=solr
You can solve the problem by following these steps:
- Shutdown Tomcat
- Comment out the line below and replace with:
index.subsystem.name=lucene
index.recovery.mode=FULL
- Save the file
- Start Tomcat
- Modify again the file ‘<Alfresco>/tomcat/shared/classes/alfresco-global.properties’ changing as described
index.recovery.mode=AUTO
- Save the changes and close the file
Now if you try again to run from the command line:
kitchen.bat /rep:"AAAR_Kettle" /job:"Get all" /dir:/Alfresco /user:admin /pass:admin /param:get_parents=true /level:Basic
the execution of the job should be finished properly.