cancel
Showing results for 
Search instead for 
Did you mean: 

Non persistent URL Tickets

a_p
Champ in-the-making
Champ in-the-making
Hello,
I am trying out Alfresco Community 4.2 and its integration to moodle 2.3 and I am confronted  with the problem of non persistent link URLs (after the restart of the server)as it has been described here https://forums.alfresco.com/en/viewtopic.php?f=7&t=40905
I thought being able to resolve that problem by following the advice given there. But unfortunately there isn’t any ehcache-default.xml- file on my Alfresco install.
How can I activate persistent caches in Alfresco 4.2?
Perhaps anyone has a hint? I would be glad for your help.
Thank you in advance,
a_p
3 REPLIES 3

afaust
Legendary Innovator
Legendary Innovator
Hello,

along with the removal of unsupported cluster code in Community with Alfresco 4.2, the ehcache-default.xml is no longer present in the Community version of Alfresco as well. The caches for the Community version are configured in the cache-context.xml that can be found in /<tomcat>/webapps/alfresco/WEB-INF/classes/alfresco/. Unfortunately, the default simple cache does not seem to support persistent cache entries. Unless Alfresco or someone from the Community decides to add a cache implementation capable of persisting cache entries, you no longer have the option of keeping URL tickets between restarts.

Regards
Axel

andy
Champ on-the-rise
Champ on-the-rise
Hi

This looks like a regression from the cache changes.
I do mot think it was intentional to remove the persistence for the ticket cache.
Please raise this on Jira.

Andy

afaust
Legendary Innovator
Legendary Innovator
I have opened https://issues.alfresco.com/jira/browse/ALF-17831 for the original poster.

Just as a thought - wouldn't this type of integration not be served better by using the Quick Share feature? That way, they wouldn't be authorised as a "real user" in the system and only have access to the one piece of content they have the link to…

Regards
Axel