[Building Sakai] Can't get Content hosting to work?

Patrick Coleman patcoleman at me.com
Mon May 17 04:32:13 PDT 2010


I'm trying to convert to using the file system to hold all the content in my
DB. I've follow instructions give to me by Steve Swinsburg but I'm still
having problems.

I'm using Sakai 2.6.0 and kernel 1.0.13
I've put the following lines in my sakai.properties file.

bodyPath at org.sakaiproject.content.api.ContentHostingService =
${sakai.home}content
convertToFile at org.sakaiproject.content.api.ContentHostingService = true
bodyVolumes at org.sakaiproject.content.api.ContentHostingService = v1,v2,v3

I've also cleared out the FIELD_PATH field in the table content_resource

Then I started Sakai. I looks like it was doing something but I see nothing
in the file system.

Here are some output from the startup that seem to indicate it was doing
something concerning this. Maybe someone has an idea why I get no content
transferred to the file system?

Thanks.


It output this before I can see anything that seems like content has been
transferred.
====================================================
====================================================
Conversion of the ContentHostingService database tables is complete.
Using new filesize column
====================================================
====================================================

Then this is out put.

2010-05-17 06:59:15,325  INFO main
org.sakaiproject.content.impl.DbContentService - convertToFile
2010-05-17 06:59:16,405  WARN main
org.sakaiproject.content.impl.DbContentService - convertToFile(): zero
length body : null
2010-05-17 06:59:24,619  INFO main
org.sakaiproject.content.impl.DbContentService -  ** converted:
10002010-05-17 06:59:33,065  WARN main
org.sakaiproject.content.impl.DbContentService - convertToFile(): zero
length body : null2010-05-17 06:59:49,267  INFO main
org.sakaiproject.content.impl.DbContentService - convertToFile: converted
resources: 1688
2010-05-17 06:59:49,267  INFO main
org.sakaiproject.content.impl.DbContentService - convertToFile:
done2010-05-17 06:59:49,267  INFO main
org.sakaiproject.content.impl.DbContentService - init(): tables:
CONTENT_COLLECTION CONTENT_RESOURC
E CONTENT_RESOURCE_BODY_BINARY CONTENT_ENTITY_GROUPS locks-in-db: false
bodyPath: null storage:
org.sakaiproject.content.impl.DbContentService$DbStorage at 1ed265
-- 
View this message in context: http://old.nabble.com/Can%27t-get-Content-hosting-to-work--tp28582089p28582089.html
Sent from the Sakai - Development mailing list archive at Nabble.com.



More information about the sakai-dev mailing list