cancel
Showing results for 
Search instead for 
Did you mean: 

GetModelsDiff return status is 403

amarteis
Champ in-the-making
Champ in-the-making
We are currently running Alfresco 4.0.d successfully. We generated the SSL keystore / SSL truststore using a certificate request signed by Thawte.
We then replaced the ssl.keystore and ssl.truststore in the ${dir.root}\keystore directory with the new ones we had genereated.
We also replaced the ssl.repo.client.keystore and ssl.repo.client.truststore in the ${dir.root}\solr\workspace-SpacesStore\conf and ${dir.root}\solr\archive-SpacesStore\conf directories with the same newly genereated keystore and truststore files making sure the were renamed appropriately (i.e. ssl.repo.client.keystore and ssl.repo.client.truststore )
We then deleted the SOLR index directories to allow them to be rebuild on startup and added the certificate owner details to the tomcat-users.xml file as below e.g.
  <user username="CN=somedomain.com, OU=Unknown, O=somedomain Ltd., L=Maidenhead, ST=UK, C=GB" roles="repoclient" password="null"/>
  <user username="CN=somedomain.com, OU=Unknown, O=somedomain Ltd., L=Maidenhead, ST=UK, C=GB" roles="repository" password="null"/>

Could anyone please help us or point out where we are going wrong as we get the error below on startup of the alfresco tomcat server.


May 2, 2012 3:17:02 PM org.quartz.core.JobRunShell run
SEVERE: Job Solr.CoreTracker-archive threw an unhandled Exception:
org.alfresco.error.AlfrescoRuntimeException: 04020000 GetModelsDiff return status is 403
   at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1010)
   at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1630)
   at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1134)
   at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:491)
   at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
May 2, 2012 3:17:02 PM org.quartz.core.ErrorLogger schedulerError
SEVERE: Job (Solr.CoreTracker-archive threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.error.AlfrescoRuntimeException: 04020000 GetModelsDiff return status is 403]
   at org.quartz.core.JobRunShell.run(JobRunShell.java:227)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
Caused by: org.alfresco.error.AlfrescoRuntimeException: 04020000 GetModelsDiff return status is 403
   at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1010)
   at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1630)
   at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1134)
   at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:491)
   at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
   … 1 more


Regards
Sam
1 REPLY 1

devodl
Champ in-the-making
Champ in-the-making
I haven't found a solution but I've experienced the same problem.
First I created a new content model (alfresco/extension/newModel.xml) then packaged and deployed it in a jar.
Then I changed the namespace of the content model (alfresco/extension/xyz/newModel.xml) and saw the error:
SEVERE: Job Solr.CoreTracker-archive threw an unhandled Exception: 
org.alfresco.error.AlfrescoRuntimeException: 04020000 GetModelsDiff return status is 403
When I change the namespace back the error disappears.
The namespace and model are being cached somewhere but I haven't figured out where nor how to clear the cache.