Re: Page locked for a long time
On Sun, Jul 5, 2020 at 9:16 PM Sven Meier wrote: > Hi Maxim, > > you'll have to upload these files to a resource separately. > > I'm not aware of a reusable solution for that. > Here is a blog article on this topic: http://wicketinaction.com/2012/11/uploading-files-to-wicket-iresource/ and its demo app: https://github.com/martin-g/blogs/tree/master/file-upload > > Have fun > Sven > > > On 05.07.20 17:20, Maxim Solodovnik wrote: > > Hello All, > > > > our app allows huge file uploads > > I have noticed the page is locked while incoming input stream is being > > copied > > (might take more than an hour) > > > > at java.base@11.0.7/java.io.InputStream.read(InputStream.java:205) > > at org.apache.commons.fileupload.util.Streams.copy(Streams.java:98) > > at org.apache.commons.fileupload.util.Streams.copy(Streams.java:68) > > at > > > org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:346) > > at > > > org.apache.wicket.protocol.http.servlet.MultipartServletWebRequestImpl.parseFileParts(MultipartServletWebRequestImpl.java:196) > > at > org.apache.wicket.markup.html.form.Form.handleMultiPart(Form.java:1470) > > > > Are there any options to prevent page lock? > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: Page locked for a long time
Maybe something along the lines of a stateless page&upload form without a session or something, so the user can continue with a session separately. ** Martin su 5. heinäk. 2020 klo 21.16 Sven Meier (s...@meiers.net) kirjoitti: > Hi Maxim, > > you'll have to upload these files to a resource separately. > > I'm not aware of a reusable solution for that. > > Have fun > Sven > > > On 05.07.20 17:20, Maxim Solodovnik wrote: > > Hello All, > > > > our app allows huge file uploads > > I have noticed the page is locked while incoming input stream is being > > copied > > (might take more than an hour) > > > > at java.base@11.0.7/java.io.InputStream.read(InputStream.java:205) > > at org.apache.commons.fileupload.util.Streams.copy(Streams.java:98) > > at org.apache.commons.fileupload.util.Streams.copy(Streams.java:68) > > at > > > org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:346) > > at > > > org.apache.wicket.protocol.http.servlet.MultipartServletWebRequestImpl.parseFileParts(MultipartServletWebRequestImpl.java:196) > > at > org.apache.wicket.markup.html.form.Form.handleMultiPart(Form.java:1470) > > > > Are there any options to prevent page lock? > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: Page locked for a long time
Hi Maxim, you'll have to upload these files to a resource separately. I'm not aware of a reusable solution for that. Have fun Sven On 05.07.20 17:20, Maxim Solodovnik wrote: Hello All, our app allows huge file uploads I have noticed the page is locked while incoming input stream is being copied (might take more than an hour) at java.base@11.0.7/java.io.InputStream.read(InputStream.java:205) at org.apache.commons.fileupload.util.Streams.copy(Streams.java:98) at org.apache.commons.fileupload.util.Streams.copy(Streams.java:68) at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:346) at org.apache.wicket.protocol.http.servlet.MultipartServletWebRequestImpl.parseFileParts(MultipartServletWebRequestImpl.java:196) at org.apache.wicket.markup.html.form.Form.handleMultiPart(Form.java:1470) Are there any options to prevent page lock? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Page locked for a long time
Hello All, our app allows huge file uploads I have noticed the page is locked while incoming input stream is being copied (might take more than an hour) at java.base@11.0.7/java.io.InputStream.read(InputStream.java:205) at org.apache.commons.fileupload.util.Streams.copy(Streams.java:98) at org.apache.commons.fileupload.util.Streams.copy(Streams.java:68) at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:346) at org.apache.wicket.protocol.http.servlet.MultipartServletWebRequestImpl.parseFileParts(MultipartServletWebRequestImpl.java:196) at org.apache.wicket.markup.html.form.Form.handleMultiPart(Form.java:1470) Are there any options to prevent page lock? -- Best regards, Maxim