[Building Sakai] Odd cache error on 10.x build

Stephen Marquard stephen.marquard at uct.ac.za
Mon Jun 23 07:08:04 PDT 2014


Hi all,


We've started seeing this on our 10.x dev system, after a restart, possibly triggered from a portal request from a stale session (i.e. a session that existed before the server was restarted).

Is some local config issue we have?


org.sakaiproject.portal.api.PortalHandlerException: java.lang.IllegalStateException: The org.sakaiproject.db.BaseDbFlatStorage.SAKAI_SITE_PROPERTY Cache is not alive (STATUS_UNINITIALISED)

    at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:901)

caused by: java.lang.IllegalStateException: The org.sakaiproject.db.BaseDbFlatStorage.SAKAI_SITE_PROPERTY Cache is not alive (STATUS_UNINITIALISED)

    at net.sf.ehcache.Cache$CacheStatus.checkAlive(Cache.java:4267)

    at net.sf.ehcache.Cache.checkStatus(Cache.java:2701)

    at net.sf.ehcache.Cache.getLiveCacheStatistics(Cache.java:3637)

    at net.sf.ehcache.Cache.isStatisticsEnabled(Cache.java:3667)

    at net.sf.ehcache.Cache.setStatisticsEnabled(Cache.java:3674)

    at org.sakaiproject.memory.impl.BasicMemoryService.instantiateCache(BasicMemoryService.java:598)

    at org.sakaiproject.memory.impl.BasicMemoryService.newCache(BasicMemoryService.java:681)

    at org.sakaiproject.memory.impl.BaseMemoryService.newCache(BaseMemoryService.java:208)

    at org.sakaiproject.util.BaseDbFlatStorage.getCache(BaseDbFlatStorage.java:219)

    at org.sakaiproject.util.BaseDbFlatStorage.readProperties(BaseDbFlatStorage.java:1136)

    at org.sakaiproject.util.BaseDbFlatStorage.readProperties(BaseDbFlatStorage.java:1077)

    at org.sakaiproject.site.impl.DbSiteService$DbStorage.readSiteProperties(DbSiteService.java:1917)

    at org.sakaiproject.site.impl.DbSiteService$DbStorage.readAllSiteProperties(DbSiteService.java:1929)

    at org.sakaiproject.site.impl.BaseSite.loadAll(BaseSite.java:1159)

    at org.sakaiproject.site.impl.BaseSiteService.getDefinedSite(BaseSiteService.java:665)

    at org.sakaiproject.site.impl.BaseSiteService.getSite(BaseSiteService.java:740)

    at org.sakaiproject.site.impl.BaseSiteService.getSiteVisit(BaseSiteService.java:818)

    at org.sakaiproject.site.cover.SiteService.getSiteVisit(SiteService.java:151)

    at org.sakaiproject.portal.charon.handlers.PresenceHandler.doPresence(PresenceHandler.java:102)

    at org.sakaiproject.portal.charon.handlers.PresenceHandler.doGet(PresenceHandler.java:71)

    at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:901)


Cheers

Stephen


________________________________
UNIVERSITY OF CAPE TOWN

This e-mail is subject to the UCT ICT policies and e-mail disclaimer published on our website at http://www.uct.ac.za/about/policies/emaildisclaimer/ or obtainable from +27 21 650 9111. This e-mail is intended only for the person(s) to whom it is addressed. If the e-mail has reached you in error, please notify the author. If you are not the intended recipient of the e-mail you may not use, disclose, copy, redirect or print the content. If this e-mail is not related to the business of UCT it is sent by the sender in the sender's individual capacity.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140623/4c566da0/attachment.html 


More information about the sakai-dev mailing list