Page 1 of 1

Tomcat 9.0.31 bug

PostPosted: Tue Jan 12, 2021 12:44 pm
by swingman
Hi, this is not a Servoy bug as such, but I'm mentioning it in case anyone updates an Ubuntu server to 2020.04:

The Tomcat that is part of the 2020.04 release, 9.0.31, has a serious bug disabling multipart uploads.
The first sign is that you can no longer upload war files via the Tomcat console.
The second sign is that after you upload the .war file manually, file uploads in Servoy fail.

Updating to Tomcat 9.0.37 fixes the problem.

Re: Tomcat 9.0.31 bug

PostPosted: Tue Jan 12, 2021 1:11 pm
by ROCLASI
swingman wrote:Updating to Tomcat 9.0.37 fixes the problem.

Fyi, Tomcat 9.0.41 is currently the latest version.

Re: Tomcat 9.0.31 bug

PostPosted: Tue Jan 12, 2021 5:04 pm
by rmidata
Hello good day
I have problems with Servoy 2020.12 uploading solutions to the server
I have Linux CentOS 7 installed with Tomcat 9.0.41 (latest version) and the solutions do not upload to the application server
Reinstall Tomcat 9.0.31 as Christian says and also does NOT work, can't upload solutions
Any idea what's going on?
Roberto

Re: Tomcat 9.0.31 bug

PostPosted: Tue Jan 12, 2021 5:51 pm
by rafig
Hi Roberto,
if you are uploading your WAR files using the Tomcat manager, make sure that you have edited the 'Upload' file size config, as the default is probably too small for a Servoy WAR
https://tecadmin.net/increase-tomcat-up ... ize-limit/

Re: Tomcat 9.0.31 bug

PostPosted: Tue Jan 12, 2021 6:39 pm
by rmidata
Hi Rafig
Thanks for answering
The war weighs 132113008 and I have already made the adjustment you propose
The war goes up well in tomcat, the problem is that the solutions do not upload, after selecting the solution and pressing Import, the server application form is blank and a message is not listed anywhere
I already checked the servoy.txt logs and the CentOS logs
Roberto

Re: Tomcat 9.0.31 bug

PostPosted: Tue Jan 12, 2021 7:24 pm
by rafig
Hi Roberto,
ok, then not sure what issue is.
I assume that you did your WAR export as all of your Servoy bits, but NO solution(s), then you do a 'file' export (a '.servoy' file) of your solution to import in to the Servoy Application Server (that is your WAR)?
Rafi

Re: Tomcat 9.0.31 bug

PostPosted: Tue Jan 12, 2021 7:27 pm
by patrick
The problem sounds a lot like what is discussed here: viewtopic.php?f=16&t=22932&p=121911#p121920

Re: Tomcat 9.0.31 bug

PostPosted: Tue Jan 12, 2021 10:06 pm
by rmidata
Hello
Now it works !!!
What I did was follow the comment of Patrick and Johan, replace commons-upload.jar of Servoy 2020.12 with version 2020.09, generate a new .war and now it works, solutions .servoy can be uploaded
I don't know who has to take note of this matter
Thank you very much and greetings
Roberto

Re: Tomcat 9.0.31 bug

PostPosted: Wed Jan 13, 2021 10:21 am
by jcompagner
for 2021.03 its already fixed in the code also
i also made the fix for the update.zip that we generate on the release branch (2020.12 version) https://build.servoy.com/latest/servoy_ ... update.zip

Re: Tomcat 9.0.31 bug

PostPosted: Thu Jan 14, 2021 5:25 pm
by swingman
Just for your reference I was deploying Version: 2020.3.2.3564_LTS, so I have yet to encounter the commons-upload.jar issue.