<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Persistent URL tickets disappearing in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/persistent-url-tickets-disappearing/m-p/268359#M221489</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm running Alfresco Community 4.0.d and a few months ago I noticed a kind of obscure bug when using disk persistent tickets in org.alfresco.cache.ticketsCache. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm also using Moodle 2.2 and that is where I need the persistent tickets to be able to include and access files from alfresco. If you don't know what I mean, this is the way work material is accessed from alfresco:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;…/alfresco/download/direct/workspace/SpacesStore/4bdb915f-4343-41ba-b7df-80ef100afbdb/testing.png?ticket=&lt;/SPAN&gt;&lt;STRONG&gt;TICKET_334ee0e343f70f8ee2adcf03938d13af6e4f62f2&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please notice the ticket that is appended.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The bug appears very infrequently and is hard to trigger. What happens is that in some rare cases some of the tickets disappear. It's only a few tickets, maybe 1 or 2 that disappears from the ticket cache. I don't know if it is the latest or the oldest tickets that vanish. I have compared the ticket cache in tomcat/temp/org.alfresco.cache.ticketsCache.data and I have seen that they actually do disappear.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However I have managed to trigger the bug by restarting the server several times in a row and during each of the startups I logged in to alfresco via Moodle and included files with new tickets. Everything is fine so far, to trigger the bug I restart the server and it could take anything from 3 - 20 restarts before the bug appeared, i.e. tickets disappeared from the cache.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My guess is that there is a shy bug somewhere in the classes related to ticketsCache &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone with deep insight into those classes might be able to figure out what it is all about.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;————————-&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My Alfresco settings:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I override the EHCache defaults by moving ehcache-custom.xml here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;alfresco-4.0.d/tomcat/shared/classes/alfresco/extension/ehcache-custom.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And then I configure ticketsCache like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name="org.alfresco.cache.ticketsCache"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; maxElementsInMemory="10000"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; eternal="true"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; overflowToDisk="true"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; diskPersistent="true"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; statistics="false"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried different settings without any success.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there an upgraded cache module in Alfresco 4.2? I was thinking of upgrading to Alfresco Community 4.2 but then I read this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://forums.alfresco.com/en/viewtopic.php?f=14&amp;amp;t=47375" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/en/viewtopic.php?f=14&amp;amp;t=47375&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jan 2013 15:44:06 GMT</pubDate>
    <dc:creator>rien0700</dc:creator>
    <dc:date>2013-01-17T15:44:06Z</dc:date>
    <item>
      <title>Persistent URL tickets disappearing</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/persistent-url-tickets-disappearing/m-p/268359#M221489</link>
      <description>I'm running Alfresco Community 4.0.d and a few months ago I noticed a kind of obscure bug when using disk persistent tickets in org.alfresco.cache.ticketsCache. I'm also using Moodle 2.2 and that is where I need the persistent tickets to be able to include and access files from alfresco. If you don'</description>
      <pubDate>Thu, 17 Jan 2013 15:44:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/persistent-url-tickets-disappearing/m-p/268359#M221489</guid>
      <dc:creator>rien0700</dc:creator>
      <dc:date>2013-01-17T15:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent URL tickets disappearing</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/persistent-url-tickets-disappearing/m-p/268360#M221490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This just looks like tickets expire. Have you configured them to last longer than the default hour?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 15:04:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/persistent-url-tickets-disappearing/m-p/268360#M221490</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2013-01-22T15:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent URL tickets disappearing</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/persistent-url-tickets-disappearing/m-p/268361#M221491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your reply Andy!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is not about tickets expiring. I could generate ten different tickets right now and when I reboot Alfresco 30 minutes later (or 10 weeks later for that matter) one of the tickets could disappear, the rest of them stay valid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have only managed to trigger the bug when doing several subsequent alfresco reboots (in between each reboot I also generated new tickets).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Configuration of ticketsCache:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;name="org.alfresco.cache.ticketsCache"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;maxElementsInMemory="10000"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;eternal="true"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;overflowToDisk="true"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;diskPersistent="true"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;statistics="false"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 15:07:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/persistent-url-tickets-disappearing/m-p/268361#M221491</guid>
      <dc:creator>rien0700</dc:creator>
      <dc:date>2013-01-23T15:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent URL tickets disappearing</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/persistent-url-tickets-disappearing/m-p/268362#M221492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Team/Andy, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My software stack: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ubuntu 1204, moodle 2.5, alfresco 4.0.e (as i need ticket persistence), LAMP stack from Ubuntu 1204 itself. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am facing this weird issue where I have setup persistence for tickets (we are integrating moodle with Alfresco api for video files). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After 4 days (typically on Monday 3 am PST) my tickets for certain pages expire (no stream found). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have replicated the settings shown in this thread: i.e.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Configuration of ticketsCache:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;name="org.alfresco.cache.ticketsCache"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;maxElementsInMemory="10000"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;eternal="true"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;overflowToDisk="true"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;diskPersistent="true"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;statistics="false"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I have found the issue, need affirmation on it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a cron entry in repository.properties file which talks about cleaning the cache everyday at 3 AM PST and there is an idle time in seconds. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I have disabled the cache cleaning. Need to know whether I am on the right path or this will affect the performance of the Server? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are at the verge of the project and this issue is killing us. Please assist. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rajashekhara Gopalarao&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:rajashekhara.g@gmail.com" rel="nofollow noopener noreferrer"&gt;rajashekhara.g@gmail.com&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please PM me for any further details/ post in the thread so that I can provide more info on it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 07:53:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/persistent-url-tickets-disappearing/m-p/268362#M221492</guid>
      <dc:creator>digitagangsta</dc:creator>
      <dc:date>2013-12-03T07:53:12Z</dc:date>
    </item>
  </channel>
</rss>

