[Building Sakai] Issues once i upload big files to lessons tools

Steve Swinsburg steve.swinsburg at gmail.com
Sat Apr 23 21:56:01 PDT 2011


Hi
You are out of memory. Increase your java opts to allocate more heap to the JVM. 

Cheers. 

Sent from my iPhone

On 24/04/2011, at 1:09, Abd alqader Omar <abed2000abed at yahoo.com> wrote:

> Dear,
> When i'm tryting to uplaod big file into lesson tools give me error , for your information im increasing the limit upload to 900 MB, and my file 450 MB then no problem for size why give me this error below:
> org.sakaiproject.portal.api.PortalHandlerException: org.sakaiproject.tool.api.ToolException: #{addSectionPage.setServerFile}: javax.faces.el.EvaluationException: java.lang.OutOfMemoryError: Java heap space
>     at org.sakaiproject.portal.charon.handlers.ToolHandler.doPost(ToolHandler.java:63)
> caused by: org.sakaiproject.tool.api.ToolException: #{addSectionPage.setServerFile}: javax.faces.el.EvaluationException: java.lang.OutOfMemoryError: Java heap space
>     at org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1346)
> caused by: javax.servlet.ServletException: #{addSectionPage.setServerFile}: javax.faces.el.EvaluationException: java.lang.OutOfMemoryError: Java heap space
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
> caused by: javax.faces.FacesException: #{addSectionPage.setServerFile}: javax.faces.el.EvaluationException: java.lang.OutOfMemoryError: Java heap space
>     at javax.faces.component.UICommand.broadcast(UICommand.java:312)
> caused by: javax.faces.el.EvaluationException: java.lang.OutOfMemoryError: Java heap space
>     at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
> caused by: java.lang.OutOfMemoryError: Java heap space
>     at org.sakaiproject.tool.melete.SectionPage.uploadSectionContent(SectionPage.java:943)
>     at org.sakaiproject.tool.melete.SectionPage.addResourceToMeleteCollection(SectionPage.java:668)
>     at org.sakaiproject.tool.melete.AddSectionPage.setServerFile(AddSectionPage.java:316)
>     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:592)
>     at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
>     at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
>     at javax.faces.component.UICommand.broadcast(UICommand.java:312)
>     at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
>     at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
>     at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
>     at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
>     at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
>     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
>     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:555)
>     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:691)
>     at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
>     at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
>     at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
>     at org.sakaiproject.jsf.util.HelperAwareJsfTool.dispatch(HelperAwareJsfTool.java:170)
>     at org.sakaiproject.jsf.util.JsfTool.doPost(JsfTool.java:256)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>     at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
> _______________________________________________
> 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/20110424/32cff769/attachment.html 


More information about the sakai-dev mailing list