Apache Tomcat 7 essentials

This book is a step-by-step tutorial for anyone wanting to learn Apache Tomcat 7 from scratch. There are plenty of illustrations and examples to escalate you from a novice to an expert with minimal strain. If you are a J2EE administrator, migration administrator, technical architect, or a project ma...

Descripción completa

Detalles Bibliográficos
Autor principal: Khare, Tanuj (-)
Formato: Libro electrónico
Idioma:Inglés
Publicado: Birmingham ; Mumbai : Packt Pub 2012.
Edición:1st edition
Colección:Community experience distilled.
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009628603706719
Tabla de Contenidos:
  • Cover; Apache Tomcat 7 Essentials; Credits; About the Author; Acknowledgement; About the Reviewers; www.PacktPub.com; Support files, eBooks, discount offers and more; Why Subscribe?; Free Access for Packt account holders; Table of Contents; Preface; What this book covers; What you need for this book; Who this book is for; Conventions; Reader feedback; Customer support; Downloading the example code; Errata; Piracy; Questions; Chapter 1: Installation of Tomcat 7; History of Tomcat; Tomcat support matrix; Features and enhancements of Apache Tomcat 7
  • Web application memory leak detection and preventionServlet 3.0; Improved logging; Aliases; Installation of Tomcat 7; How to download the Tomcat software; Binary package; RPM/exe; Source; Prerequisites for the Tomcat 7 installation; Installation of Java; Configuration of OS environment variables; Installation of Apache Tomcat 7; Installation on a Windows environment; Installation on a Linux environment; Startup and shutdown of Tomcat services; Services in Windows; Services in Linux; Startup script; Shutdown script; Verification of Tomcat status
  • Common problems and troubleshooting in installationError: Permission denied for the Java binary; Error: Tomcat is not able to find JAVA_HOME; Error: Error in the logs showing port already in use; Summary; Chapter 2: Configuration and Deployment; Configuration files and their usage; Configuration of Tomcat 7; DataSource configuration; JDBC; JNDI; DataSource; Comparison of the datasource for common databases; Tomcat Manager configuration; Enabling the Tomcat Manager; Context path; Enabling the context path; Deployment in Tomcat 7; Structure of the WebArchive; Archive Files; Types of deployment
  • Ways of application deployment in Tomcat 7Common issues in deployment, configuration and their troubleshooting; Summary; Chapter 3: Performance Tuning; Performance tuning for Tomcat 7; Why we need performance tuning?; How to start performance tuning; Tomcat components tuning; Types of connectors for Tomcat 7; Java HTTP Connector; Java AJP Connector; APR (AJP/HTTP) Connector; Thread optimization for Tomcat 7; Shared thread pool (shared executor); Dedicated thread pool; Shared thread pool versus dedicated thread pool; Max threads; maxKeepAlive; JVM tuning
  • Why do we need to tune the JDK for Tomcat?JMAP (Memory Map); How to increase the heap size in Tomcat 7; Garbage collection; JVM options; Standard options; Non-standard options; Parameters displayed in the logs for GC; SurvivorRatio; OS tuning; Summary; Chapter 4: Integration of Tomcat with the Apache Web Server; User request flow (web/application level); Why the Apache HTTP server; Installation of the Apache HTTP; Apache HTTP installation on Windows; How to monitor the Apache service; Installation of the Apache HTTP on Linux (non-DOS environment); Apache Portable Runtime
  • Apache Jserv protocol