-
1. Re: Fileupload doesnt work with bigger Files (60mb)
mdesignz Aug 21, 2010 10:24 AM (in response to arturfriesen)Sounds like you may need to modify your <web:multipart-filter> tag in components.xml. The following will handle files up to 150Mb.
<web:multipart-filter create-temp-files="true" max-request-size="157286400" url-pattern="*.seam" />
-
2. Re: Fileupload doesnt work with bigger Files (60mb)
arturfriesen Aug 23, 2010 4:31 AM (in response to arturfriesen)I have following in my components.xml:
<web:multipart-filter create-temp-files="true" max-request-size="70000000" url-pattern="*.seam" />
-
3. Re: Fileupload doesnt work with bigger Files (60mb)
alartin Aug 23, 2010 4:47 AM (in response to arturfriesen)It indicates the transaction time out. Set a larger transaction timeout.
-
4. Re: Fileupload doesnt work with bigger Files (60mb)
arturfriesen Aug 23, 2010 5:02 AM (in response to arturfriesen)In my pages.xml there is the following entry for all pages:
<page view-id="/*" timeout="7200000" >
Thats about 120 min.
For this area where the huger upload takes place the timeout is set to
timeout="43200000" //(720 min)
-
5. Re: Fileupload doesnt work with bigger Files (60mb)
arturfriesen Aug 23, 2010 5:11 AM (in response to arturfriesen)the upload is now working. The reason for that error was the byte array
.
Since um using an inputStream in the action-class (with some byte writing) and a blob-object
in the entity-class the upload is working fine :)but now there is the next problem.
RestEasy shows the following error if i try to load the file over an url:org.jboss.resteasy.core.NoMessageBodyWriterFoundFailure: Could not find MessageBodyWriter for response object of type: org.postgresql.largeobject.BlobInputStream of media type: audio/mpeg
I see that there is a provider for inputStream (org.jboss.resteasy.plugins.providers.InputStreamProvider)