Hi,

Everytime I try to upload a file that's larger then the configured
upload size I get the following exception.

<map:handle-errors> Does'nt work, the problem looks like this exception is
handled by the servlet itself.
Does enyone know how I get Cocoon not to display this exception?

I'm using Apache 2.1.7



Problem in creating the Request
Message: Content length exceeds maximum upload size.

Description: java.io.IOException: Content length exceeds maximum upload size.

Sender: org.apache.cocoon.servlet.CocoonServlet

Source: Cocoon Servlet

cause

java.io.IOException: Content length exceeds maximum upload size.

request-uri

/platform/ebp/pk/ebp-portlets

full exception chain stacktrace

java.io.IOException: Content length exceeds maximum upload size.
        at
org.apache.cocoon.servlet.multipart.RequestFactory.getServletRequest(RequestFactory.java:78)
        at 
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1029)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
        at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
        at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at 
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
        at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
        at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)


stacktrace

java.io.IOException: Content length exceeds maximum upload size.
        at
org.apache.cocoon.servlet.multipart.RequestFactory.getServletRequest(RequestFactory.java:78)
        at 
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1029)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
        at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
        at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at 
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
        at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
        at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)


Apache Cocoon 2.1.7


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]