Changing Context Path Of Web Application In Tomcat Server

Web Application Here I am going to show you how to change context path of web application in Tomcat server. So, basically when web applications are deployed into Tomcat server and meaningful, memorable context paths are assigned for web applications. Even if you do not want to set any context path for an application, the server assigns a context path…

How To Create Users In Tomcat Server

Introduction Here I am going to show you how to create users in Tomcat server to manage applications, server status, etc. When you deploy application into Tomcat server, generally you put the war archive files under webapps folder of the Tomcat server. You can easily access the application once it is successfully deployed through its context path of the application….

How to configure mod_jk with Apache http and Tomcat servers

Introduction We will see here how to configure mod_jk with Apache http and Tomcat servers. The Apache Tomcat connector allows to use the Apache httpd server as a front-end for Apache Tomcat applications. To run Tomcat and Apache together, Apache needs to load a “adapter” module, which uses a certain protocol, such as Apache JServ Protocol (AJP), to communicate with…

Use Jetty instead of Tomcat in Spring Boot application

Spring Boot App Server Spring Boot web starter uses Tomcat as the default embedded servlet container or Tomcat is the default embedded server. So you don’t need to add any separate dependency for this Tomcat server. The Tomcat server is shipped with the spring boot starter web dependency. Now let’s say your requirement is to not use the default server…

Tomcat load balancing with Apache using mod proxy

This tutorial will show you how to configure Tomcat Load Balancing with Apache webserver (http server) using Mod Proxy. I have listed here the following steps on how to configure Apache with Tomcat to configure Load Balancer using Mod Proxy. Having load-balanced is always recommended in production environment for better availability and performance of your application resources. Load balancing improves…

Immediate attribute example in JSF

Introduction This tutorial will show you what is the purpose of using immeditae attribute in JSF. Although the request processing lifecycle processes the different phases in a consistent manner, the execution order of the phases can be altered for special cases. For example, you may want to add a Cancel button to a form. When clicked, it will skip all…

Mule on Tomcat

In this post I will show you how it is possible to deploy Mule on a web container such as Tomcat because running Mule as a standalone service is often the more popular and recommended approach. Both standalone and web based mule applications have their benefits and drawbacks but which one to use is mainly dependent on the project requirements…

JSF 2, Maven and Tomcat 7 Configuration

This tutorial will show you how we can configure JSF 2.x, maven and Tomcat 7. For this tutorial we will create maven based web project in Eclipse. If you already have an idea on how to create a maven project in Eclipse will be great otherwise I will tell you here how to create a maven project in Eclipse.