• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Can't deploy a WAR file

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello everyone! First post, be gentle - yes I've researched this for over two hours before coming here...

Trying to deploy a WAR file in 7.0.47 on a windows 7 64 bit box. Tomcat server starts fine, I drop the war into the webapps directory and nothing happens. I tried going into the Manager App, WAR file to deploy section, clicked on Choose File, browsed to war file, deploy, and I get the error:

HTTP Status 500 - org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (119990380) exceeds the configured maximum (52428800)

I went into the manager/WEB-INF/web.xml and up'd the values for max-file-size and max-request-size. Restarted server, still same error.

My Java Virtual Machine setting is pointing to: C:\Program Files\Java\jdk1.6.0_21\jre\bin\server\jvm.dll

I tried pointing it to other versions of the jvm.dll I have and still same error.

I tried adding those setting to the host-manager and ROOT web.xml's, still the same error. (yes, i restarted my server each time)

I even tried rebooting my pc...the microsoft fix for everything!

Anyone care to lend some wisdom? Got to get this working...must keep swimming, must keep swimming...


 
Michael Sorbera
Greenhorn
Posts: 2
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Found the problem - I had three instances of Tomcat on my box, I was updating the wrong web.xml.

See ya round!
 
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for checking back in with your findings!
reply
    Bookmark Topic Watch Topic
  • New Topic