cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco & OpenAM

koven
Champ in-the-making
Champ in-the-making
Hi I'm trying to install Alfresco and OpenAM as SSO.

I'm installing 4.2.c version and everything works fine until I configure OpenAM J2EE agent for tomcat.

I've followed this two guides:

http://docs.forgerock.org/en/openam-pa/3.1.0-Xpress/agent-install-guide/#chap-apache-tomcat

http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems#Alfresco_Share_using_external_SSO

But when I run the agent one I get this error over and over again, every 15 seconds. And I even haven't configured anything about Alfresco SSO. This is a catalina.out log:

2013-09-06 11:04:00,066  ERROR [quartz.core.JobRunShell] [SolrTrackerScheduler_Worker-3] Job Solr.CoreTracker-alfresco threw an unhandled Exception: 
org.alfresco.error.AlfrescoRuntimeException: 08060063 GetModelsDiff return status is 302
   at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036)
   at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1790)
   at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1129)
   at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:475)
   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)
2013-09-06 11:04:00,073  ERROR [quartz.core.ErrorLogger] [SolrTrackerScheduler_Worker-3] Job (Solr.CoreTracker-alfresco threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.error.AlfrescoRuntimeException: 08060063 GetModelsDiff return status is 302]
   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: 08060063 GetModelsDiff return status is 302
   at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036)
   at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1790)
   at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1129)
   at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:475)
   at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)

I've been searching for this error but I've found nothing useful. I haven't nothing "rare" in my configuration, OpenAM and Alfresco are in the same network…

I'm not a lot into App Server world so any help would be good!

Thanks!
1 REPLY 1

glaenen
Champ in-the-making
Champ in-the-making
Hello,

I had the same issue, after installing the OpenAM agent to Alfresco the communication between alfresco and SOLR stopped working.
The certificate authentication was the issue.
Installing the OpenAM agent replaced this in server.xml:

<Realm className="org.apache.catalina.realm.LockOutRealm">
<Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase"/></Realm>

by

<Realm className="com.sun.identity.agents.tomcat.v6.AmTomcatRealm" debug="99"/>

Adding the UserDatabase realm again solved the communication issue.

Kind Regards,
Glenn