Primefaces fileUpload does not work well on huge number of file
When I trying to upload more then 1.000 files with fileUpload
component (like 5.000), it start having strange behavior.
It does not complete the upload (some file remain stuck in the list), the only way to start it over is add a new file. After that it start upload also the previous ones.
Some of them are not uploaded at all, randomly.
Is there a limit? How can I control that?
jsf primefaces
add a comment |
When I trying to upload more then 1.000 files with fileUpload
component (like 5.000), it start having strange behavior.
It does not complete the upload (some file remain stuck in the list), the only way to start it over is add a new file. After that it start upload also the previous ones.
Some of them are not uploaded at all, randomly.
Is there a limit? How can I control that?
jsf primefaces
1
Upload 1000 files at once via multi file upload? I think it is not designed for that. Not designed not to support it but also not designed to support it. Might even be that the server side has limits (servlet engine). Might even be the client has a limitation or a combination. Try to debug and see if e.g. there are stuck threads (client or server side). If there is more info maybe we get get further in the analysis...
– Kukeltje
Nov 20 at 17:39
@Kukeltje: the scope of the app is to process file, from a few to large amount. Do you have any suggestion for a different solution to upload file using a gui?
– user2946593
Nov 21 at 8:11
1
Have the client zip them and upload?
– Kukeltje
Nov 21 at 15:54
@Kukeltje: Could be an idea, but make life hard for who use the app, and depend also on the dimension of the zip: I should probably also force them to limit the size, and split in several file. Should exist a better solution
– user2946593
Nov 22 at 7:50
Sorry, but a hanging application is more problematic than a 'right click and zip on a 1000's files. And yes, the zip format is relevant then...
– Kukeltje
Nov 23 at 19:03
add a comment |
When I trying to upload more then 1.000 files with fileUpload
component (like 5.000), it start having strange behavior.
It does not complete the upload (some file remain stuck in the list), the only way to start it over is add a new file. After that it start upload also the previous ones.
Some of them are not uploaded at all, randomly.
Is there a limit? How can I control that?
jsf primefaces
When I trying to upload more then 1.000 files with fileUpload
component (like 5.000), it start having strange behavior.
It does not complete the upload (some file remain stuck in the list), the only way to start it over is add a new file. After that it start upload also the previous ones.
Some of them are not uploaded at all, randomly.
Is there a limit? How can I control that?
jsf primefaces
jsf primefaces
edited Nov 25 at 15:54
Vasil Lukach
2,86222131
2,86222131
asked Nov 20 at 16:02
user2946593
338
338
1
Upload 1000 files at once via multi file upload? I think it is not designed for that. Not designed not to support it but also not designed to support it. Might even be that the server side has limits (servlet engine). Might even be the client has a limitation or a combination. Try to debug and see if e.g. there are stuck threads (client or server side). If there is more info maybe we get get further in the analysis...
– Kukeltje
Nov 20 at 17:39
@Kukeltje: the scope of the app is to process file, from a few to large amount. Do you have any suggestion for a different solution to upload file using a gui?
– user2946593
Nov 21 at 8:11
1
Have the client zip them and upload?
– Kukeltje
Nov 21 at 15:54
@Kukeltje: Could be an idea, but make life hard for who use the app, and depend also on the dimension of the zip: I should probably also force them to limit the size, and split in several file. Should exist a better solution
– user2946593
Nov 22 at 7:50
Sorry, but a hanging application is more problematic than a 'right click and zip on a 1000's files. And yes, the zip format is relevant then...
– Kukeltje
Nov 23 at 19:03
add a comment |
1
Upload 1000 files at once via multi file upload? I think it is not designed for that. Not designed not to support it but also not designed to support it. Might even be that the server side has limits (servlet engine). Might even be the client has a limitation or a combination. Try to debug and see if e.g. there are stuck threads (client or server side). If there is more info maybe we get get further in the analysis...
– Kukeltje
Nov 20 at 17:39
@Kukeltje: the scope of the app is to process file, from a few to large amount. Do you have any suggestion for a different solution to upload file using a gui?
– user2946593
Nov 21 at 8:11
1
Have the client zip them and upload?
– Kukeltje
Nov 21 at 15:54
@Kukeltje: Could be an idea, but make life hard for who use the app, and depend also on the dimension of the zip: I should probably also force them to limit the size, and split in several file. Should exist a better solution
– user2946593
Nov 22 at 7:50
Sorry, but a hanging application is more problematic than a 'right click and zip on a 1000's files. And yes, the zip format is relevant then...
– Kukeltje
Nov 23 at 19:03
1
1
Upload 1000 files at once via multi file upload? I think it is not designed for that. Not designed not to support it but also not designed to support it. Might even be that the server side has limits (servlet engine). Might even be the client has a limitation or a combination. Try to debug and see if e.g. there are stuck threads (client or server side). If there is more info maybe we get get further in the analysis...
– Kukeltje
Nov 20 at 17:39
Upload 1000 files at once via multi file upload? I think it is not designed for that. Not designed not to support it but also not designed to support it. Might even be that the server side has limits (servlet engine). Might even be the client has a limitation or a combination. Try to debug and see if e.g. there are stuck threads (client or server side). If there is more info maybe we get get further in the analysis...
– Kukeltje
Nov 20 at 17:39
@Kukeltje: the scope of the app is to process file, from a few to large amount. Do you have any suggestion for a different solution to upload file using a gui?
– user2946593
Nov 21 at 8:11
@Kukeltje: the scope of the app is to process file, from a few to large amount. Do you have any suggestion for a different solution to upload file using a gui?
– user2946593
Nov 21 at 8:11
1
1
Have the client zip them and upload?
– Kukeltje
Nov 21 at 15:54
Have the client zip them and upload?
– Kukeltje
Nov 21 at 15:54
@Kukeltje: Could be an idea, but make life hard for who use the app, and depend also on the dimension of the zip: I should probably also force them to limit the size, and split in several file. Should exist a better solution
– user2946593
Nov 22 at 7:50
@Kukeltje: Could be an idea, but make life hard for who use the app, and depend also on the dimension of the zip: I should probably also force them to limit the size, and split in several file. Should exist a better solution
– user2946593
Nov 22 at 7:50
Sorry, but a hanging application is more problematic than a 'right click and zip on a 1000's files. And yes, the zip format is relevant then...
– Kukeltje
Nov 23 at 19:03
Sorry, but a hanging application is more problematic than a 'right click and zip on a 1000's files. And yes, the zip format is relevant then...
– Kukeltje
Nov 23 at 19:03
add a comment |
1 Answer
1
active
oldest
votes
You can try to control limit with fileLimit=""
but maybe it won't help you. I think it's really a bad idea to use this element for uploading so many files.
fileLimit won't help. I agree that is not a good idea, but I haven't find other solution to do it. I'm investigating to upload file using a side ftp server, but need to be driven by the java application. Any suggestion is helpful
– user2946593
Nov 21 at 8:09
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53396931%2fprimefaces-fileupload-does-not-work-well-on-huge-number-of-file%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can try to control limit with fileLimit=""
but maybe it won't help you. I think it's really a bad idea to use this element for uploading so many files.
fileLimit won't help. I agree that is not a good idea, but I haven't find other solution to do it. I'm investigating to upload file using a side ftp server, but need to be driven by the java application. Any suggestion is helpful
– user2946593
Nov 21 at 8:09
add a comment |
You can try to control limit with fileLimit=""
but maybe it won't help you. I think it's really a bad idea to use this element for uploading so many files.
fileLimit won't help. I agree that is not a good idea, but I haven't find other solution to do it. I'm investigating to upload file using a side ftp server, but need to be driven by the java application. Any suggestion is helpful
– user2946593
Nov 21 at 8:09
add a comment |
You can try to control limit with fileLimit=""
but maybe it won't help you. I think it's really a bad idea to use this element for uploading so many files.
You can try to control limit with fileLimit=""
but maybe it won't help you. I think it's really a bad idea to use this element for uploading so many files.
answered Nov 21 at 6:06
Evgeny Ludenberg
111
111
fileLimit won't help. I agree that is not a good idea, but I haven't find other solution to do it. I'm investigating to upload file using a side ftp server, but need to be driven by the java application. Any suggestion is helpful
– user2946593
Nov 21 at 8:09
add a comment |
fileLimit won't help. I agree that is not a good idea, but I haven't find other solution to do it. I'm investigating to upload file using a side ftp server, but need to be driven by the java application. Any suggestion is helpful
– user2946593
Nov 21 at 8:09
fileLimit won't help. I agree that is not a good idea, but I haven't find other solution to do it. I'm investigating to upload file using a side ftp server, but need to be driven by the java application. Any suggestion is helpful
– user2946593
Nov 21 at 8:09
fileLimit won't help. I agree that is not a good idea, but I haven't find other solution to do it. I'm investigating to upload file using a side ftp server, but need to be driven by the java application. Any suggestion is helpful
– user2946593
Nov 21 at 8:09
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53396931%2fprimefaces-fileupload-does-not-work-well-on-huge-number-of-file%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Upload 1000 files at once via multi file upload? I think it is not designed for that. Not designed not to support it but also not designed to support it. Might even be that the server side has limits (servlet engine). Might even be the client has a limitation or a combination. Try to debug and see if e.g. there are stuck threads (client or server side). If there is more info maybe we get get further in the analysis...
– Kukeltje
Nov 20 at 17:39
@Kukeltje: the scope of the app is to process file, from a few to large amount. Do you have any suggestion for a different solution to upload file using a gui?
– user2946593
Nov 21 at 8:11
1
Have the client zip them and upload?
– Kukeltje
Nov 21 at 15:54
@Kukeltje: Could be an idea, but make life hard for who use the app, and depend also on the dimension of the zip: I should probably also force them to limit the size, and split in several file. Should exist a better solution
– user2946593
Nov 22 at 7:50
Sorry, but a hanging application is more problematic than a 'right click and zip on a 1000's files. And yes, the zip format is relevant then...
– Kukeltje
Nov 23 at 19:03