[Building Sakai] resource upload failed error

Steve Swinsburg steve.swinsburg at gmail.com
Sun Apr 8 19:42:59 PDT 2012


Also, if you are using MySQL for storing the content, you need to ensure you have increased the max_allowed_packet. It defaults to 1MB.

http://steveswinsburg.wordpress.com/2008/11/08/sakai-mysql-and-storing-content-in-the-database/

cheers,
Steve

On 09/04/2012, at 3:25 AM, Matthew Jones wrote:

> ServerOverloadException is unfortunately just a generic content hosting exception which could have a number of causes. Which version of Sakai are you using? You'd probably need to look at DbContentService for that version to figure out what specifically it was trying to do. 
> 
> On Sun, Apr 8, 2012 at 10:30 AM, YUECHUAN DAI <daiyuechuan at hotmail.com> wrote:
> Hi, all
> 
> When I upload the third file to my resource folder, the system show me the message bellow:
> 
> Unable to add item: Introducing RSF - 31-05-06.ppt
> 
> I checked catalina.out, here is the logs, is anyone can give some suggestion for this? :
> 
> 2012-04-09 22:25:22,579  WARN http-8080-Processor99 org.sakaiproject.content.impl.DbContentService - failed to write file from stream to database
> org.sakaiproject.exception.ServerOverloadException id=failed to write file from stream to database
> 	at org.sakaiproject.content.impl.DbContentService$DbStorage.commitResource(DbContentService.java:1777)
> 	at org.sakaiproject.content.impl.BaseContentService.commitResourceEdit(BaseContentService.java:5727)
> 	at org.sakaiproject.content.impl.BaseContentService.commitResource(BaseContentService.java:5540)
> 	at org.sakaiproject.content.cover.ContentHostingService.commitResource(ContentHostingService.java:530)
> 	at org.sakaiproject.content.tool.ResourcesAction.createResources(ResourcesAction.java:1185)
> 	at org.sakaiproject.content.tool.ResourcesAction.finishAction(ResourcesAction.java:7374)
> 	at org.sakaiproject.content.tool.ResourcesAction.buildMainPanelContext(ResourcesAction.java:4578)
> 	at sun.reflect.GeneratedMethodAccessor7992.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.sakaiproject.cheftool.VelocityPortletPaneledAction.toolModeDispatch(VelocityPortletPaneledAction.java:417)
> 	at org.sakaiproject.cheftool.ToolServlet.doGet(ToolServlet.java:236)
> 	at org.sakaiproject.cheftool.VelocityPortletPaneledAction.doGet(VelocityPortletPaneledAction.java:1086)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
> 	at org.sakaiproject.vm.ComponentServlet.service(ComponentServlet.java:56)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> 	at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:598)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:659)
> 	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:457)
> 	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:359)
> 	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:311)
> 	at org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.forward(ActiveToolComponent.java:511)
> 	at org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1429)
> 	at org.sakaiproject.portal.charon.handlers.ToolHandler.doTool(ToolHandler.java:204)
> 	at org.sakaiproject.portal.charon.handlers.ToolHandler.doGet(ToolHandler.java:96)
> 	at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:862)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
> 
> _______________________________________________
> sakai-dev mailing list
> 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 with a subject of "unsubscribe"
> 
> _______________________________________________
> sakai-dev mailing list
> 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 with a subject of "unsubscribe"

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


More information about the sakai-dev mailing list