How to solve Tomcat 7: deploy war file exceed limit

Tomcat as default works for deploy war file only as much as 50 MB. It means if we deploy more than that capacity, tomcat will be error. This is the example :


The solution is very easy, we just need to change Tomcat capacity to deploy in : Tomcat 7.0\webapps\manager\WEB-INF\web.xml.

<!-- 50MB max -->

tag and tag are displayed in Byte mode. To upgrade the capacity ex: 60MB we need to convert into Byte first 60 * 1024 * 1024 = 62914560.

<!-- 60MB max -->

Save the web.xml and redeploy war file.



Tagged: , , ,

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: