Showing posts with label tomcat. Show all posts
Showing posts with label tomcat. Show all posts

Monday, November 7, 2016

Tomcat manager's upload file size

I was having trouble deploying coldfusion to my tomcat server, it would just timeout without any kind of display on the browser.

When looking at the log i came across this error

SEVERE [http-nio-8080-exec-6] 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 (283599102) exceeds the configured maximum (52428800)
 java.lang.IllegalStateException: org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (283599102) exceeds the configured maximum (52428800)

Turns out all i needed to do was to increase the upload size in the webapps/manager/WEB-INF/web.xml file

  

      52428800
      52428800
      0<

  

Tuesday, December 29, 2009

Installing ColdFusion under Tomcat in Ubuntu

ColdFusion doesn't seem to run straight off the bat when installed under Tomcat in Ubuntu. Rather, what I had to end up doing was change the webapps.policy file to give permisions for the application. Essentialy to add this one line of code;

permission java.security.AllPermission;