annotationsatharvard / catcha

Catch-A - Catching Annotation: An annotation backend and API.
http://catcha.readthedocs.io
20 stars 9 forks source link

War file deploying error. #91

Open nayana96249 opened 5 years ago

nayana96249 commented 5 years ago

Unable to deploy war file.

http://localhost:8080/manager/html/upload?org.apache.catalina.filters.CSRF_NONCE=168CAC9A57A3260CDE33420527A112CE

Screenshot image

https://www.screencast.com/t/A9LJRka6

Downloaded latest version :

https://www.screencast.com/t/2jBMDynZjzB

leer5 commented 3 years ago

I too am getting this error. I wish someone would explain what the message means instead of saying do this or do that (on other sites). What the heck is the NONCE shown? Was it generated by the Tomcat to be used for the session? Or what?

Soundarya0 commented 3 years ago

Apache Software Foundation\Tomcat 10.0\webapps\manager\WEB-INF\web.xml

In web.xml File Edit The Max-File Size and Max Request Size

<multipart-config>
      <max-file-size>72428800</max-file-size>
      <max-request-size>72428800</max-request-size>
      <file-size-threshold>0</file-size-threshold>
    </multipart-config>
wolkenschieber commented 2 years ago

Google brought me here.

Had the same error with Tomcat 9 on Ubuntu 20.04. To solve the issue here, edit the parameters @Soundarya0 mentioned in /usr/share/tomcat9-admin/manager/WEB-INF/web.xml.

AndreOliveira23 commented 9 months ago

Apache Software Foundation\Tomcat 10.0\webapps\manager\WEB-INF\web.xml

In web.xml File Edit The Max-File Size and Max Request Size

<multipart-config>
    <max-file-size>72428800</max-file-size>
    <max-request-size>72428800</max-request-size>
    <file-size-threshold>0</file-size-threshold>
  </multipart-config>

It worked for me! Thanks