[Building Sakai] 2.9.0 Realm/cache issue

David Horwitz david.horwitz at uct.ac.za
Tue Oct 16 00:52:46 PDT 2012


Jira'ed and having a look:

https://jira.sakaiproject.org/browse/KNL-975

D
On 10/16/2012 03:34 AM, Matthew Jones wrote:
> I haven't seen it yet, but the line is related to the new authz caching.
>
> https://jira.sakaiproject.org/browse/KNL-600
>
> I'm not completely sure the fix, but perhaps it needs to put Role 
> objects (which are in a shared api) instead of BaseRole.
>
> On Fri, Oct 12, 2012 at 5:02 AM, David Horwitz 
> <david.horwitz at uct.ac.za <mailto:david.horwitz at uct.ac.za>> wrote:
>
>     Hi All,
>
>     Testing our first take 2.9 installation I'm getting a weird class
>     loader
>     issue. This is triggered when a quartz job runs that updates a
>     number of
>     realms, basically a get from the cache fails due to the visibility of
>     BaseRole. This is with 1.3.0-rc01 kernel, any one else seen this?
>
>     net.sf.ehcache.CacheException: java.lang.ClassNotFoundException:
>     org.sakaiproject.authz.impl.BaseRole
>              at
>     net.sf.ehcache.store.disk.DiskStorageFactory.retrieve(DiskStorageFactory.java:967)
>              at
>     net.sf.ehcache.store.disk.Segment.decodeHit(Segment.java:178)
>              at net.sf.ehcache.store.disk.Segment.get(Segment.java:216)
>              at
>     net.sf.ehcache.store.disk.DiskStore.get(DiskStore.java:506)
>              at
>     net.sf.ehcache.store.FrontEndCacheTier.get(FrontEndCacheTier.java:193)
>              at
>     net.sf.ehcache.Cache.searchInStoreWithStats(Cache.java:1986)
>              at net.sf.ehcache.Cache.get(Cache.java:1618)
>              at
>     org.sakaiproject.memory.impl.MemCache.get(MemCache.java:466)
>              at
>     org.sakaiproject.memory.impl.MemCache.remove(MemCache.java:591)
>              at
>     org.sakaiproject.authz.impl.DbAuthzGroupService.update(DbAuthzGroupService.java:2961)
>              at java.util.Observable.notifyObservers(Observable.java:142)
>              at
>     org.sakaiproject.event.impl.BaseEventTrackingService.notifyObservers(BaseEventTrackingService.java:116)
>              at
>     org.sakaiproject.event.impl.ClusterEventTracking.postEvent(ClusterEventTracking.java:305)
>              at
>     org.sakaiproject.event.impl.BaseEventTrackingService.post(BaseEventTrackingService.java:276)
>              at
>     org.sakaiproject.authz.impl.BaseAuthzGroupService.completeSave(BaseAuthzGroupService.java:620)
>              at
>     org.sakaiproject.authz.impl.BaseAuthzGroupService.save(BaseAuthzGroupService.java:601)
>              at
>     org.sakaiproject.component.app.scheduler.jobs.UCTSaveRealms.execute(UCTSaveRealms.java:82)
>              at
>     org.sakaiproject.component.app.scheduler.jobs.SpringJobBeanWrapper.execute(SpringJobBeanWrapper.java:70)
>              at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
>              at
>     org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:534)
>     Caused by: java.lang.ClassNotFoundException:
>     org.sakaiproject.authz.impl.BaseRole
>              at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>              at java.security.AccessController.doPrivileged(Native Method)
>              at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>              at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>              at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>
>     _______________________________________________
>     sakai-dev mailing list
>     sakai-dev at collab.sakaiproject.org
>     <mailto:sakai-dev at collab.sakaiproject.org>
>     http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
>     TO UNSUBSCRIBE: send email to
>     sakai-dev-unsubscribe at collab.sakaiproject.org
>     <mailto:sakai-dev-unsubscribe at collab.sakaiproject.org> with a
>     subject of "unsubscribe"
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20121016/24d311cd/attachment.html 


More information about the sakai-dev mailing list