Tomcat 9.0.31 bug

Questions and Answers on installation, deployment, management, locking, tranasactions of Servoy Application Server

Tomcat 9.0.31 bug

Postby swingman » Tue Jan 12, 2021 12:44 pm

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.
Christian Batchelor
Certified Servoy Developer
Batchelor Associates Ltd, London, UK
http://www.batchelorassociates.co.uk

http://www.postgresql.org - The world's most advanced open source database.
User avatar
swingman
 
Posts: 1479
Joined: Wed Oct 01, 2003 10:20 am
Location: London

Re: Tomcat 9.0.31 bug

Postby ROCLASI » Tue Jan 12, 2021 1:11 pm

swingman wrote:Updating to Tomcat 9.0.37 fixes the problem.

Fyi, Tomcat 9.0.41 is currently the latest version.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Tomcat 9.0.31 bug

Postby rmidata » Tue Jan 12, 2021 5:04 pm

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
Roberto Diez.
Interdata Software.
Santa Fe, Argentina.
User avatar
rmidata
 
Posts: 42
Joined: Thu Jul 09, 2009 10:26 pm
Location: Santa Fe, Argentina.

Re: Tomcat 9.0.31 bug

Postby rafig » Tue Jan 12, 2021 5:51 pm

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/
Servoy Certified Developer
Image
rafig
 
Posts: 723
Joined: Mon Dec 22, 2003 12:58 pm
Location: Watford, UK

Re: Tomcat 9.0.31 bug

Postby rmidata » Tue Jan 12, 2021 6:39 pm

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
Roberto Diez.
Interdata Software.
Santa Fe, Argentina.
User avatar
rmidata
 
Posts: 42
Joined: Thu Jul 09, 2009 10:26 pm
Location: Santa Fe, Argentina.

Re: Tomcat 9.0.31 bug

Postby rafig » Tue Jan 12, 2021 7:24 pm

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
Servoy Certified Developer
Image
rafig
 
Posts: 723
Joined: Mon Dec 22, 2003 12:58 pm
Location: Watford, UK

Re: Tomcat 9.0.31 bug

Postby patrick » Tue Jan 12, 2021 7:27 pm

The problem sounds a lot like what is discussed here: viewtopic.php?f=16&t=22932&p=121911#p121920
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3709
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Re: Tomcat 9.0.31 bug

Postby rmidata » Tue Jan 12, 2021 10:06 pm

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
Roberto Diez.
Interdata Software.
Santa Fe, Argentina.
User avatar
rmidata
 
Posts: 42
Joined: Thu Jul 09, 2009 10:26 pm
Location: Santa Fe, Argentina.

Re: Tomcat 9.0.31 bug

Postby jcompagner » Wed Jan 13, 2021 10:21 am

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
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8868
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Tomcat 9.0.31 bug

Postby swingman » Thu Jan 14, 2021 5:25 pm

Just for your reference I was deploying Version: 2020.3.2.3564_LTS, so I have yet to encounter the commons-upload.jar issue.
Christian Batchelor
Certified Servoy Developer
Batchelor Associates Ltd, London, UK
http://www.batchelorassociates.co.uk

http://www.postgresql.org - The world's most advanced open source database.
User avatar
swingman
 
Posts: 1479
Joined: Wed Oct 01, 2003 10:20 am
Location: London


Return to Servoy Server

Who is online

Users browsing this forum: No registered users and 1 guest