Home » Enterprise Java » Tomcat » Page 3

Tomcat

How to Upgrade Apache Tomcat

The Apache Tomcat® software is an open source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies 1. The tools Apache Tomcat 8 Apache Tomcat 9 2. Introduction In this tutorial we are going to learn how to upgrade the Tomcat Server 8 to the new Tomcat Server 9.   3. Prerequisites Tomcat 8 installed ...

Read More »

Apache Tomcat Manager Tutorial

The Apache Tomcat® software is an open source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies Table Of Contents 1. The tools 2. Introduction 3. Prerequisites 4. Launch Tomcat 5. Tomcat manager User 6. Launch the manager 7. Manager Application 8. Create a test application 9. Create a deployable war file for our application ...

Read More »

Difference Between Apache Web Server and Tomcat

Apache Tomcat and the Apache httpd server, were created for two different tasks but sometimes We can confuse the functionality of each other just because they could solve the same problems. 1. The tools Apache Tomcat 8 Apache Httpd server 2.4 2. Introduction In this article we are going to discover some key differences between Tomcat and httpd servers and ...

Read More »

Apache Tomcat Connector Example

The Apache Tomcat connector allows to use the Apache httpd server as a front-end for Apache Tomcat applications. With this configuration you can get some features like Clustering, Load Balancing, and enhanced Security, provided by the httpd server. 1. The tools Java JDK Apache Tomcat Apache httpd server mod_jk connector 2. Introduction In this example we are going to use the ...

Read More »

How to Start and Restart Tomcat Server as a Service

Apache Tomcat is a web server and servlet container that is used to serve Java applications. A servlet is a Java technology-based Web component, managed by a container, that generates dynamic content. 1. The tools Debian based Linux distribution Microsoft Windows Java JDK Apache Tomcat 2. Introduction When you download Apache Tomcat binary distribution, you need to unzip the folder. Every time ...

Read More »

How to Install Tomcat on Ubuntu Linux

Apache Tomcat is a web server and servlet container that is used to serve Java applications. A servlet is a Java technology-based Web component, managed by a container, that generates dynamic content. 1. The tools Ubuntu Linux 16.04 Java JDK Apache Tomcat 2. Introduction In this example we are going to install on Ubuntu Linux: Java JDK 8. Tomcat Server. We ...

Read More »

Tomcat clustering and session replication tutorial

1. Introduction In this example we will discuss Apache Tomcat Servlet/JSP container’s clustering and session replication related configurations. Apache Tomcat server is lightweight server that is relatively easy to set-up. It has many features that enable high flexibility. Tomcat can be fine-tuned to do well for some traffic, but if your traffic is expected to be large you may need ...

Read More »

Tomcat connection pool configuration example

1. Introduction In this example we will discuss Apache Tomcat Servlet/JSP container’s connection pull configuration via JNDI (Java Naming and Directory Interface ) resources. The connection pool we will look at is javax.sql.DataSource, which is a JDBC API for getting a connection instance to a database. In this example we will discuss setting a global DataSource for MySQL database. javax.sql.DataSource ...

Read More »

Tomcat web.xml Configuration Example

1. Introduction In this example we will talk about Apache Tomcat Servlet/JSP container also referred to as Tomcat server and the web.xml file that provides different options to configure Tomcat. Apache Tomcat is developed as an open source software and is available under Apache License version 2. Apache Tomcat is a light server that is aimed at performance rather than ...

Read More »

Tomcat context.xml Configuration Example

In Tomcat, the Context Container represents a single web application running within a given instance of Tomcat. A web site is made up of one or more Contexts. For each explicitly configured web application, there should be one context element either in server.xml or in a separate context XML fragment file. Once a Context has been defined, Catalina will attempt ...

Read More »