# Tomcat 9.0.31 bug

**URL:** <https://forum.servoy.com/t/tomcat-9-0-31-bug/20408>\
**Category:** Questions\
**Created:** [January 12, 2021, 10:44am UTC](https://forum.servoy.com/t/tomcat-9-0-31-bug/20408 "2021-01-12T10:44:02Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![swingman](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/swingman/32/4536_2.png) [@swingman](https://forum.servoy.com/u/swingman)\
**Post date:** [January 12, 2021, 10:44am UTC](https://forum.servoy.com/t/tomcat-9-0-31-bug/20408/1 "2021-01-12T10:44:02Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [January 12, 2021, 11:11am UTC](https://forum.servoy.com/t/tomcat-9-0-31-bug/20408/2 "2021-01-12T11:11:10Z")

</div>

> swingman:  
> Updating to Tomcat 9.0.37 fixes the problem.

Fyi, Tomcat 9.0.41 is currently the latest version.

---

<div class="post-metadata">

**Author:** ![rmidata](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/rmidata/32/4876_2.png) [@rmidata](https://forum.servoy.com/u/rmidata)\
**Post date:** [January 12, 2021, 3:04pm UTC](https://forum.servoy.com/t/tomcat-9-0-31-bug/20408/3 "2021-01-12T15:04:37Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![rafig](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/rafig/32/4463_2.png) [@rafig](https://forum.servoy.com/u/rafig)\
**Post date:** [January 12, 2021, 3:51pm UTC](https://forum.servoy.com/t/tomcat-9-0-31-bug/20408/4 "2021-01-12T15:51:02Z")

</div>

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/](https://tecadmin.net/increase-tomcat-upload-file-size-limit/)

---

<div class="post-metadata">

**Author:** ![rmidata](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/rmidata/32/4876_2.png) [@rmidata](https://forum.servoy.com/u/rmidata)\
**Post date:** [January 12, 2021, 4:39pm UTC](https://forum.servoy.com/t/tomcat-9-0-31-bug/20408/5 "2021-01-12T16:39:44Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![rafig](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/rafig/32/4463_2.png) [@rafig](https://forum.servoy.com/u/rafig)\
**Post date:** [January 12, 2021, 5:24pm UTC](https://forum.servoy.com/t/tomcat-9-0-31-bug/20408/6 "2021-01-12T17:24:54Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [January 12, 2021, 5:27pm UTC](https://forum.servoy.com/t/tomcat-9-0-31-bug/20408/7 "2021-01-12T17:27:20Z")

</div>

The problem sounds a lot like what is discussed here: [viewtopic.php?f=16&t=22932&p=121911#p121920](https://forum.servoy.com/viewtopic.php?f=16&t=22932&p=121911#p121920)

---

<div class="post-metadata">

**Author:** ![rmidata](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/rmidata/32/4876_2.png) [@rmidata](https://forum.servoy.com/u/rmidata)\
**Post date:** [January 12, 2021, 8:06pm UTC](https://forum.servoy.com/t/tomcat-9-0-31-bug/20408/8 "2021-01-12T20:06:58Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [January 13, 2021, 8:21am UTC](https://forum.servoy.com/t/tomcat-9-0-31-bug/20408/9 "2021-01-13T08:21:55Z")

</div>

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](https://build.servoy.com/latest/servoy_release/servoy_update.zip)

---

<div class="post-metadata">

**Author:** ![swingman](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/swingman/32/4536_2.png) [@swingman](https://forum.servoy.com/u/swingman)\
**Post date:** [January 14, 2021, 3:25pm UTC](https://forum.servoy.com/t/tomcat-9-0-31-bug/20408/10 "2021-01-14T15:25:32Z")

</div>

Just for your reference I was deploying Version: 2020.3.2.3564\_LTS, so I have yet to encounter the commons-upload.jar issue.
