Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can't deploy a WAR file

 
Michael Sorbera
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!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64629
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for checking back in with your findings!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic