In this article, we are going to share the Ansible playbook for tomcat installation. If you are new to Ansible, refer to our introductory article on the Ansible playbook and come back. Now let us move on with our objective. Tomcat, A web application server powered by J2EE and the most[...]
Read moreCategory: tomcat
JMX Monitoring Then and Now - SRE Tools
Evolution of JMX monitoring Monitoring is an essential part of Site Reliability Engineering and Infrastructure Services. I have started my career a decade ago when there was no many JMX monitoring tools and APMs(Application Performance Monitoring) available. I have worked on my fair share of J2EE Application servers and Servlet[...]
Read moreCPU and Memory consuming Java WebApp - For testing
There might be times where we might wonder what process is consuming all the system memory or CPU. We invest a lot of time debugging it and looking at the JMX graphs and then we finally find a bug in the code and fix it for good. On the other[...]
Read moreEncrypt tomcat database password - How to avoid Clear Text Password
In this article, We are going to discuss how to encrypt the Tomcat DataSource Password and avoid clear text password in Context.xml. If you are using Tomcat Application server's Datasource Feature, You must be aware that there is a Security issue as the DataSource or Database Connection Password would be[...]
Read moreA Sample Java Web Application - War file to Deploy and Test
The Overview This post is about the Java J2EE web application and starts with explaining what is Web Application and why they are called as WAR files and what is the Standard Directory Structure of Web Application or WAR file and What WAR files are consists of etc and continues[...]
Read moreHow to set HeapMemory or JVM Arguments in Tomcat
The Overview In this post, we are going to explore how and where to configure the heap memory in tomcat servlet container ( application server). How and where to set the XMX and XMS values for your Tomcat JVM and where to configure the different GC policies like Parallel GC, Concurrent[...]
Read moreSample Java Web Application with Form-Based Authentication - Step by Step
Designing WEB Applications with Web Browser-based security is very common. There are three types of Authentication methods generally being used as follows Basic Authentication Form-Based Authentication SSL Client Cert Authentication Most of the Web Applications are using Form Based Authentication method where the user will be submitting their credentials through[...]
Read moreMOD_JK Installation and Configuration - Apache HTTPD and Tomcat
Apache and Tomcat are the A and B of middleware that everyone learns and they have widely used web server and application server across the world( sometimes referred to as just web container as it does have no EJB) It's like a sandbox for every rookie to learn things and[...]
Read more