Before understanding stack trace let use understands how Java applications are executed. Whenever a java application is executed, Heap is used to allocate memory at run time for various objects; apart from heap run time stack is created which is filled and removed for the methods and constructors calls. When […]

Stack Trace in Java

This article is all about Apache Tomcat 9. We will cover installation and configuration of Apache Tomcat 9. Apache Tomcat is an open source web/application server. $CATALINA_HOME is the the root of Tomcat installation or Tomcate directory to be more specific. Apache Tomcat 9 Installation Change Tomcat Default Port Change […]

Apache Tomcat 9 Tutorial for Beginners

In this article, we will use Maven-Tomcat plugin to deploy a WAR file to Tomcat 7. We will use A sample Spring-based application PetClinic available at Download the application and extract the files. Install Maven 3, Download Tomcat 7 from Now go to apache-tomcat-7.0.68conftomcat-users.xml First, add an admin user […]

Deploy Maven based Spring WAR file to Tomcat 7

I was trying to run mvn commands for PetClinic Spring Application available at The problem was Firewall setting and hence my mvn command was not working. It failed to download. In this case where you from behind a proxy, no dependencies will be downloaded. Solution: Go to apache-maven-3.3.9/conf Right […]

Solved: Enable proxy setting in Maven