Primefaces fileUpload does not work well on huge number of file












0















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?










share|improve this question




















  • 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 '18 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 '18 at 8:11






  • 1





    Have the client zip them and upload?

    – Kukeltje
    Nov 21 '18 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 '18 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 '18 at 19:03
















0















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?










share|improve this question




















  • 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 '18 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 '18 at 8:11






  • 1





    Have the client zip them and upload?

    – Kukeltje
    Nov 21 '18 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 '18 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 '18 at 19:03














0












0








0








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?










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 25 '18 at 15:54









Vasil Lukach

2,91522131




2,91522131










asked Nov 20 '18 at 16:02









user2946593user2946593

388




388








  • 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 '18 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 '18 at 8:11






  • 1





    Have the client zip them and upload?

    – Kukeltje
    Nov 21 '18 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 '18 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 '18 at 19:03














  • 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 '18 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 '18 at 8:11






  • 1





    Have the client zip them and upload?

    – Kukeltje
    Nov 21 '18 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 '18 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 '18 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 '18 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 '18 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 '18 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 '18 at 8:11




1




1





Have the client zip them and upload?

– Kukeltje
Nov 21 '18 at 15:54





Have the client zip them and upload?

– Kukeltje
Nov 21 '18 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 '18 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 '18 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 '18 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 '18 at 19:03












1 Answer
1






active

oldest

votes


















1














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.






share|improve this answer
























  • 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 '18 at 8:09











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
});


}
});














draft saved

draft discarded


















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









1














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.






share|improve this answer
























  • 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 '18 at 8:09
















1














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.






share|improve this answer
























  • 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 '18 at 8:09














1












1








1







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.






share|improve this answer













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.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 21 '18 at 6:06









Evgeny LudenbergEvgeny 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 '18 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 '18 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 '18 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 '18 at 8:09




















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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







這個網誌中的熱門文章

Academy of Television Arts & Sciences

L'Équipe

1995 France bombings