• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

Can't deploy a WAR file

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • 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
  • 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!
 
Marshal
Posts: 67340
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for checking back in with your findings!
 
On my planet I'm considered quite beautiful. Thanks to the poetry in this tiny ad:
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps
https://coderanch.com/t/722574/Sauce-Labs-World-Largest-Continuous
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!