We’re running a Vaadin 24.6.6 webapp under Tomcat 11 (added later in our project using the pom.xml). I’m using the Vaadin Upload class to upload 1 simple xml file to the tomcat webserver and it only results in:
“Upload failed due to server error” message on the webpage after the actual uploads started (I used setAutoUpload(false) as well, but that didn’t make a difference. So somewhere it goes wrong when the atual upload is done, the problem is, I added all Listeners to the upload class, but none of them hit the breakpoint except AllFinishedListener, but then the error was already displayed on the webpage.
I also tried to set log levels at lowest level but that also didn’t produce any visible error or clue where it went wrong.
BTW, I also tried a whole list of things like increasing/adding max file sizes to the application.properties (but maybe this is not used because our webapp is n ot using spring-boot) and to the server.xml, but no luck.
I also created another webapp which started as a vaadin example spring-boot app, and here it all works fine running under the same tomcat server.
So can anyone give me clue where to look for the cause of this problem or even better how to solve it?
Thanks in advance,
Ron.