cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Error during Thingworx.war deploy on tomcat

SOLVED
Highlighted
Regular Member

Error during Thingworx.war deploy on tomcat

Hi,

I get a Error during Thingworx.war deploy on tomcat

GRAVE [http-nio-8080-exec-9] org.apache.catalina.core.ApplicationContext.log HTMLManager: FAIL - Deploy Upload Failed, Exception: org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (93796698) exceeds the configured maximum (52428800)

does anyone know a solution?

Best Regards

Mônica

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Error during Thingworx.war deploy on tomcat

How do you deploy the war file, through web browser or manually?

I would recommend manually copying the thingworx.war inside the <tomcat installation folder>webapps directory while the tomcat service is stopped.

Example: C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps

4 REPLIES 4

Re: Error during Thingworx.war deploy on tomcat

How do you deploy the war file, through web browser or manually?

I would recommend manually copying the thingworx.war inside the <tomcat installation folder>webapps directory while the tomcat service is stopped.

Example: C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps

Re: Error during Thingworx.war deploy on tomcat

Follow up, you may also change maxPostSize in the http server tomcat connector located in /conf/server.xml as follows:

<Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443" maxPostSize="104857600"/> 

Set maxPostSize to 104857600 increase the upload file size to 100 Mo. By default it's set to 2 Mo.

For more explanation, read this : https://tomcat.apache.org/tomcat-7.0-doc/config/http.html

Re: Error during Thingworx.war deploy on tomcat

Thank you a lot!

Worked after the manualy deploy

Re: Error during Thingworx.war deploy on tomcat

Great to hear! Could you please mark the response that helped as correct? That would help improve the searchability of our community.