Home » Enterprise Java » Tomcat » Page 2

Tomcat

Install Apache Tomcat on Mac os x Yosemite

OS X Yosemite (version 10.10) is the eleventh major release of macOS, Apple Inc.’s desktop and server operating system for Macintosh computers. 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.             ...

Read More »

Apache Tomcat Load Balancing Tutorial

Load balancing improves the distribution of workloads across multiple Tomcat servers. Load balancing aims to optimize resource use, maximize throughput, minimize response time, and avoid overload of any single resource. Table Of Contents 1. The tools 2. Introduction 3. Prerequisites 4. Download Tomcat 5. Download Apache httpd server 6. Download mod_jk 7. Tomcat Installation 7.1 Uncompress Apache Tomcat 7.2 Install ...

Read More »

Apache Tomcat Kerberos Authentication Tutorial

Kerberos is a network authentication protocol. It is designed to provide strong authentication for client/server applications by using secret-key cryptography. A free implementation of this protocol is available from the Massachusetts Institute of Technology. Kerberos is available in many commercial products as well. 1. The tools Java JDK Apache Tomcat   2. Introduction Kerberos authentication is used to make Tomcat ...

Read More »

Apache Tomcat Hardening Tutorial

Tomcat is secure enough for typical uses, there are no known security exploits or weaknesses. However, the Internet is a wild place. These are the best practices for hardening Tomcat. Table Of Contents 1. The tools 2. Introduction 3. Prerequisites 4. Run Tomcat as Unprivileged User 4.1 Unix/Linux 4.2 Windows 5. Restrict access to critical files 6. Use a Firewall ...

Read More »

Apache Tomcat Csrf Token Disclosure Vulnerability

Cross-Site Request Forgery (CSRF) is a type of attack that occurs when a malicious web site, email, blog, instant message, or program causes a user’s web browser to perform an unwanted action on a trusted site for which the user is currently authenticated. 1. Introduction The remote Apache Tomcat web server is affected by an information disclosure vulnerability in the ...

Read More »

How to Enable Gzip Compression in Apache Tomcat

The Apache Tomcat software is an open source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies. Gzip is a file format and a software application used for file compression and decompression. The program was created by Jean-loup Gailly and Mark Adler as a free software replacement for the compress program used in early Unix. ...

Read More »

Apache Tomcat Best Practices

Best practices are procedures that are accepted or prescribed as being correct or most effective. 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 Java JDK Apache Tomcat 2. Introduction In this example we are going to illustrate best practices using the Apache Tomcat Servlet ...

Read More »

Apache Tomcat Http Connector Example

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 Java JDK Apache Tomcat 2. Introduction The HTTP Connector element , supports the HTTP/1.1 protocol. It enables Catalina to function as a stand-alone web server. A particular instance of this component listens for connections on a specific ...

Read More »

Apache Tomcat Interview Questions and Answers

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. Table Of Contents 1. Introduction 2. General questions 3. Tomcat internals 4. Servlets 5. Tomcat configuration files 6. Tomcat connectors 7. Tomcat and other servers 8. Tomcat components 9. ...

Read More »

Apache Tomcat Error Troubleshooting Tutorial

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 2. Introduction In this article We are going to discover some techniques to dig and troubleshoot errors on the Apache Tomcat Server. 3. ...

Read More »