[Building Sakai] Problem converting BLOBs to files

Grossman,John E john.grossman at mdanderson.org
Fri May 14 14:18:46 PDT 2010


We are testing the conversion from database content storage to file-based storage and are running into strange errors.

Details:
Sakai 2.6.2 binary release (uses the 1.0.13 kernel which has the required conversion fix according to Steve Swinsburg's May 13, 2010 comment in KNL-164).

Oracle 10g database

When we run the conversion it converts 3 files, then fails with the error below. The Access is denied error doesn't make sense because Sakai just wrote the 3 converted files to that directory.

2010-05-14 15:52:21,302  WARN main org.sakaiproject.content.impl.DbContentService - : failed to write resource: /group/PortfolioAdmin/system/freeFormRenderer.xml : java.io.FileNotFoundException: C:\Tomcat 5.5\sakai\bodycontent (Access is denied)
2010-05-14 15:52:21,302  WARN main org.sakaiproject.content.impl.DbContentService - failed to write file from byte-array to file
org.sakaiproject.exception.ServerOverloadException id=failed to write file from byte-array to file
        at org.sakaiproject.content.impl.DbContentService$DbStorage.commitResource(DbContentService.java:1705)
        at org.sakaiproject.content.impl.BaseContentService.commitResourceEdit(BaseContentService.java:5563)
        at org.sakaiproject.content.impl.BaseContentService.commitResource(BaseContentService.java:5526)
        at org.theospi.portfolio.presentation.model.impl.PresentationManagerImpl.updateResource(PresentationManagerImpl.java:2930)
        at org.theospi.portfolio.presentation.model.impl.PresentationManagerImpl.initFreeFormTemplate(PresentationManagerImpl.java:2887)
        at org.theospi.portfolio.presentation.model.impl.PresentationManagerImpl.init(PresentationManagerImpl.java:2758)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1240)

Appreciate any suggestions.

John


--
John Grossman
Director, Academic Technology Services
The University of Texas M. D. Anderson Cancer Center
john.grossman at mdanderson.org
713-745-0305 (w)
832-771-8222 (m)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100514/73bf8fc3/attachment.html 


More information about the sakai-dev mailing list