I can't create File document into Nuxeo.

Hi,

I install my Nuxeo 5.5 and this is really strange. I can drag'n drop big files without any problem, but when I use form, I have this following error in my logs.

Here how I reproduce the problem:

  • I connect as Administrator
  • I go to my personal workspace
  • I click on create new Document
  • I select File Document type
  • I type a title
  • I select my big avi file (over 900Mo)
  • I wait and nothing appends… The browser stay on the form interface and waiting for a server response.

I look into my logs ($NUXEO_HOME/log/server.log or /var/log/nuxeo/server.log) and I see this following message at the end:

2012-01-03 04:15:48,701 ERROR [javax.enterprise.resource.webcontainer.jsf.lifecycle] jsf.lifecycle.phase.exception
2012-01-03 04:15:49,560 WARN  [javax.enterprise.resource.webcontainer.jsf.lifecycle] jsf.lifecycle.phaselistener.exception
2012-01-03 04:15:49,565 WARN  [javax.enterprise.resource.webcontainer.jsf.lifecycle] org.jboss.seam.web.MultipartRequestImpl.parseRequest(MultipartRequestImpl.java:434)
   org.jboss.seam.web.MultipartRequestImpl.getParam(MultipartRequestImpl.java:512)
   org.jboss.seam.web.MultipartRequestImpl.getParameter(MultipartRequestImpl.java:563)
   org.nuxeo.ecm.platform.ui.web.multipart.MultipartRequest.getParameter(MultipartRequest.java:534)
... etc ...
Caused by: java.net.SocketException: Connection reset
  at java.net.SocketInputStream.read(SocketInputStream.java:185)
  at org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:751)
  at org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead(InternalInputBuffer.java:781)
0 votes

1 answers

2009 views

ANSWER



Please look here:

http://doc.nuxeo.com/x/lgQz

You must add into your $TOMCAT/templates/common/META-INF/templates/components.xml file the 3rd line:

<component class="org.jboss.seam.web.MultipartFilter">
    <property name="createTempFiles">true</property>
    <property name="max-request-size">0</property>
</component>
0 votes