Categories
Ebooks
-
Business and economy
- Bitcoin
- Businesswoman
- Coaching
- Controlling
- E-business
- Economy
- Finances
- Stocks and investments
- Personal competence
- Computer in the office
- Communication and negotiation
- Small company
- Marketing
- Motivation
- Multimedia trainings
- Real estate
- Persuasion and NLP
- Taxes
- Social policy
- Guides
- Presentations
- Leadership
- Public Relation
- Reports, analyses
- Secret
- Social Media
- Sales
- Start-up
- Your career
- Management
- Project management
- Human Resources
-
For children
-
For youth
-
Education
-
Encyclopedias, dictionaries
-
E-press
- Architektura i wnętrza
- Biznes i Ekonomia
- Home and garden
- E-business
- Finances
- Personal finance
- Business
- Photography
- Computer science
- HR & Payroll
- Computers, Excel
- Accounts
- Culture and literature
- Scientific and academic
- Environmental protection
- Opinion-forming
- Education
- Taxes
- Travelling
- Psychology
- Religion
- Agriculture
- Book and press market
- Transport and Spedition
- Healthand beauty
-
History
-
Computer science
- Office applications
- Data bases
- Bioinformatics
- IT business
- CAD/CAM
- Digital Lifestyle
- DTP
- Electronics
- Digital photography
- Computer graphics
- Games
- Hacking
- Hardware
- IT w ekonomii
- Scientific software package
- School textbooks
- Computer basics
- Programming
- Mobile programming
- Internet servers
- Computer networks
- Start-up
- Operational systems
- Artificial intelligence
- Technology for children
- Webmastering
-
Other
-
Foreign languages
-
Culture and art
-
School reading books
-
Literature
- Antology
- Ballade
- Biographies and autobiographies
- For adults
- Dramas
- Diaries, memoirs, letters
- Epic, epopee
- Essay
- Fantasy and science fiction
- Feuilletons
- Work of fiction
- Humour and satire
- Other
- Classical
- Crime fiction
- Non-fiction
- Fiction
- Mity i legendy
- Nobelists
- Novellas
- Moral
- Okultyzm i magia
- Short stories
- Memoirs
- Travelling
- Narrative poetry
- Poetry
- Politics
- Popular science
- Novel
- Historical novel
- Prose
- Adventure
- Journalism, publicism
- Reportage novels
- Romans i literatura obyczajowa
- Sensational
- Thriller, Horror
- Interviews and memoirs
-
Natural sciences
-
Social sciences
-
School textbooks
-
Popular science and academic
- Archeology
- Bibliotekoznawstwo
- Cinema studies
- Philology
- Polish philology
- Philosophy
- Finanse i bankowość
- Geography
- Economy
- Trade. World economy
- History and archeology
- History of art and architecture
- Cultural studies
- Linguistics
- Literary studies
- Logistics
- Maths
- Medicine
- Humanities
- Pedagogy
- Educational aids
- Popular science
- Other
- Psychology
- Sociology
- Theatre studies
- Theology
- Economic theories and teachings
- Transport i spedycja
- Physical education
- Zarządzanie i marketing
-
Guides
-
Game guides
-
Professional and specialist guides
-
Law
- Health and Safety
- History
- Road Code. Driving license
- Law studies
- Healthcare
- General. Compendium of knowledge
- Academic textbooks
- Other
- Construction and local law
- Civil law
- Financial law
- Economic law
- Economic and trade law
- Criminal law
- Criminal law. Criminal offenses. Criminology
- International law
- International law
- Health care law
- Educational law
- Tax law
- Labor and social security law
- Public, constitutional and administrative law
- Family and Guardianship Code
- agricultural law
- Social law, labour law
- European Union law
- Industry
- Agricultural and environmental
- Dictionaries and encyclopedia
- Public procurement
- Management
-
Tourist guides and travel
- Africa
- Albums
- Southern America
- North and Central America
- Australia, New Zealand, Oceania
- Austria
- Asia
- Balkans
- Middle East
- Bulgary
- China
- Croatia
- The Czech Republic
- Denmark
- Egipt
- Estonia
- Europe
- France
- Mountains
- Greece
- Spain
- Holand
- Iceland
- Lithuania
- Latvia
- Mapy, Plany miast, Atlasy
- Mini travel guides
- Germany
- Norway
- Active travelling
- Poland
- Portugal
- Other
- Russia
- Romania
- Slovakia
- Slovenia
- Switzerland
- Sweden
- World
- Turkey
- Ukraine
- Hungary
- Great Britain
- Italy
-
Psychology
- Philosophy of life
- Kompetencje psychospołeczne
- Interpersonal communication
- Mindfulness
- General
- Persuasion and NLP
- Academic psychology
- Psychology of soul and mind
- Work psychology
- Relacje i związki
- Parenting and children psychology
- Problem solving
- Intellectual growth
- Secret
- Sexapeal
- Seduction
- Appearance and image
- Philosophy of life
-
Religion
-
Sport, fitness, diets
-
Technology and mechanics
Audiobooks
-
Business and economy
- Bitcoin
- Businesswoman
- Coaching
- Controlling
- E-business
- Economy
- Finances
- Stocks and investments
- Personal competence
- Communication and negotiation
- Small company
- Marketing
- Motivation
- Real estate
- Persuasion and NLP
- Taxes
- Guides
- Presentations
- Leadership
- Public Relation
- Secret
- Social Media
- Sales
- Start-up
- Your career
- Management
- Project management
- Human Resources
-
For children
-
For youth
-
Education
-
Encyclopedias, dictionaries
-
History
-
Computer science
-
Other
-
Foreign languages
-
Culture and art
-
School reading books
-
Literature
- Antology
- Ballade
- Biographies and autobiographies
- For adults
- Dramas
- Diaries, memoirs, letters
- Epic, epopee
- Essay
- Fantasy and science fiction
- Feuilletons
- Work of fiction
- Humour and satire
- Other
- Classical
- Crime fiction
- Non-fiction
- Fiction
- Mity i legendy
- Nobelists
- Novellas
- Moral
- Okultyzm i magia
- Short stories
- Memoirs
- Travelling
- Poetry
- Politics
- Popular science
- Novel
- Historical novel
- Prose
- Adventure
- Journalism, publicism
- Reportage novels
- Romans i literatura obyczajowa
- Sensational
- Thriller, Horror
- Interviews and memoirs
-
Natural sciences
-
Social sciences
-
Popular science and academic
-
Guides
-
Professional and specialist guides
-
Law
-
Tourist guides and travel
-
Psychology
- Philosophy of life
- Interpersonal communication
- Mindfulness
- General
- Persuasion and NLP
- Academic psychology
- Psychology of soul and mind
- Work psychology
- Relacje i związki
- Parenting and children psychology
- Problem solving
- Intellectual growth
- Secret
- Sexapeal
- Seduction
- Appearance and image
- Philosophy of life
-
Religion
-
Sport, fitness, diets
-
Technology and mechanics
Videocourses
-
Data bases
-
Big Data
-
Biznes, ekonomia i marketing
-
Cybersecurity
-
Data Science
-
DevOps
-
For children
-
Electronics
-
Graphics/Video/CAX
-
Games
-
Microsoft Office
-
Development tools
-
Programming
-
Personal growth
-
Computer networks
-
Operational systems
-
Software testing
-
Mobile devices
-
UX/UI
-
Web development
-
Management
Podcasts
E-book details
Log in, If you're interested in the contents of the item.
Apache Tomcat 7 Essentials. This book takes you from beginner to expert in logical stages, covering all the essentials of Tomcat 7 from trouble-free installation to building your own middleware servers. Packed with examples and illustrations
Ebook
Apache Tomcat (or simply Tomcat) is an open source servlet container developed by the Apache Software Foundation (ASF). The latest major stable release, Apache Tomcat version 7 implements the Servlet 3 and JavaServer Pages 2 specifications from the Java Community Process, and includes many additional features that make it a useful platform for developing and deploying web applications and web services.Apache Tomcat 7 Essentials follows a practical approach to teach installing, configuring, and maintaining Tomcat. It helps you to understand the middle architecture for hosting multiple websites and also provides the confidence to implement middleware support. It imparts to you the capacity to resolve migration issues and also provides regular maintenance solutions. This is the first and only book to cover upgrading to Tomcat 7 from previous versions.The journey of the reader starts at the beginner level and ends at the expert level. The content is designed in such a way that it balances the theory and practical approach for understanding concepts related to handling middle ware and web issues.In this book, you will go through a three-phase life cycle. The first cycle consists of installation, configuration of Tomcat 7 on different OS, and other configurations related to JDBC, port, deployment etc. The second phase deals with the building of enterprise application setup and high availability architecture (clustering load balancing). The third and critical phase will teach you to handle critical issues, performance tuning, and best practices for various environment stacks like dev/QA/stage/production.This book gives you a wider vision of using Tomcat 7 in web technologies and the skill to optimize their performance using Apache Tomcat 7.
- Apache Tomcat 7 Essentials
- Table of Contents
- 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
- Support files, eBooks, discount offers and more
- 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
- 1. Installation of Tomcat 7
- History of Tomcat
- Tomcat support matrix
- Features and enhancements of Apache Tomcat 7
- Web application memory leak detection and prevention
- Servlet 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
- Installation of Java in Linux
- Installation of Java in Windows
- Configuration of OS environment variables
- What is JAVA_HOME?
- Setting the JAVA_HOME and PATH variable in Windows
- Setting the global path variable in Windows
- Setting the JAVA_HOME and the PATH environment variable in Linux
- Installation of Java
- 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
- How to download the Tomcat software
- Common problems and troubleshooting in installation
- Error: 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
- History of Tomcat
- 2. Configuration and Deployment
- Configuration files and their usage
- Configuration of Tomcat 7
- DataSource configuration
- JDBC
- JNDI
- DataSource
- DataSource for Oracle
- DataSource for MySQL
- DataSource for PostgreSQL
- DataSource configuration
- Comparison of the datasource for common databases
- Tomcat Manager configuration
- Enabling the Tomcat Manager
- Context path
- Enabling the context path
- GUI using the Tomcat Web Application Manager
- Command-line configuration in server.xml
- Enabling the context path
- Tomcat Manager configuration
- Deployment in Tomcat 7
- Structure of the WebArchive
- Archive Files
- Exploded archive directories
- Deployment operations
- Archive Files
- Structure of the WebArchive
- Types of deployment
- Ways of application deployment in Tomcat 7
- Common issues in deployment, configuration, and their troubleshooting
- Summary
- 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
- maxThreads
- maxKeepAlive
- Types of connectors for Tomcat 7
- JVM tuning
- Why do we need to tune the JDK for Tomcat?
- JMAP (Memory Map)
- Syntax for jmap
- JMAP (Memory Map)
- How to increase the heap size in Tomcat 7
- Garbage collection
- How garbage collection works
- Garbage collection
- JVM options
- Standard options
- Non-standard options
- Parameters displayed in the logs for GC
- SurvivorRatio
- Why do we need to tune the JDK for Tomcat?
- OS tuning
- Summary
- Performance tuning for Tomcat 7
- 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 Apache HTTP on Linux (non-DOS environment)
- Apache Portable Runtime
- Installation of APR/APR-util
- Apache Portable Runtime
- Apache HTTP installation on Windows
- Apache Jserv protocol
- Installation and configuration of mod_jk
- Installation of mod_jk
- Configuration of mod_jk in Apache
- mod_proxy configuration
- Comparison between mod_jk and mod_proxy
- Installation and configuration of mod_jk
- IIS integration with Tomcat 7
- Prerequisites
- Steps for installation
- Common issues and troubleshooting for integration
- Summary
- 5. Securing Tomcat 7
- Tomcat Manager
- Tomcat security permissions
- catalina.properties
- catalina.policy
- System Code permissions
- Catalina Code permissions (Tomcat core permission)
- Web application permissions
- tomcat-users.xml
- server.xml
- Enabling Tomcat Manager
- How to enable the Tomcat Manager
- Securing Tomcat 7 for production
- Tomcat settings
- Connector Port
- Slimming of Tomcat application
- Disable hot deployment
- Non-Tomcat settings
- Service as a separate user
- Firewall
- Password
- Tomcat settings
- SSL configuration on Tomcat 7
- Types of SSL certificates
- Process of installing SSL
- Summary
- 6. Logging in Tomcat 7
- JULI
- Loggers, appenders, and layouts
- Types of logging in Tomcat 7
- Application log
- Server log
- Console log
- Access log
- Host manager
- Types of log levels in Tomcat 7
- Log4j
- Log level for log4j
- How to use log4j
- Log level mapping
- Log level for log4j
- Values for Tomcat 7
- Log analysis
- Helpful commands for log analysis
- Summary
- 7. Troubleshooting in Tomcat
- Common problem areas for web administrators
- How to troubleshoot a problem
- Slowness issue in applications
- How to solve slowness issues in Tomcat 7
- User end troubleshooting
- Web server troubleshooting
- Tomcat 7 troubleshooting
- Troubleshooting at the database level
- Telnet DB server IP port
- JVM analysis in the Tomcat instance
- How to solve slowness issues in Tomcat 7
- Slowness issue in applications
- How to obtain a thread dump in Tomcat 7
- Thread dump using Kill command
- Thread dump using jstack
- How to analyze the thread dump for Tomcat instance
- Thread dump analysis using Samurai
- Thread dump analysis using the Thread Dump Analyzer
- Errors and their solutions
- JVM (memory) issues
- Out of Memory exception
- OutOfMemoryError: PermGen space
- Stack over flow exception
- Database-related issues
- Broken pipe exception
- Timeout waiting for an idle object
- Database connectivity exception
- JVM (memory) issues
- Web server benchmarking
- ApacheBench
- JMeter
- Summary
- 8. Monitoring and Management of Tomcat 7
- Different ways of monitoring
- Monitoring setup for a web application and database server
- Tomcat Manager in Tomcat 7
- Monitoring in Tomcat 7
- Summary of the Server Status of Tomcat 7
- Complete Server Status of Tomcat 7
- Application List
- JVM
- Connections on the HTTP port (8080)
- Connections on the AJP
- Complete Server Status of Tomcat 7
- Summary of the Server Status of Tomcat 7
- JConsole configuration on Tomcat 7
- Remote JMX enabling
- How to connect to the JConsole
- Different tabs for the JConsole and their features
- Memory overview
- Threads overview
- VM Summary and Overview
- MBeans
- Types of MBeans
- Summary
- 9. Clustering in Tomcat 7
- What is a cluster?
- Benefits of clustering
- Disadvantages of clustering
- Clustering architecture
- Vertical clustering
- Advantages of vertical clustering
- Disadvantages of vertical clustering
- Horizontal clustering
- Advantages of horizontal clustering
- Disadvantages of horizontal clustering
- Vertical clustering
- Vertical clustering in Apache Tomcat 7
- Installation of the Tomcat instance
- Configuration of a vertical cluster
- Configuration of instance 1
- Configuration of instance 2
- Apache web server configuration for vertical clustering
- Horizontal clustering in Apache Tomcat 7
- Installation of the Tomcat instance
- Configuration of the cluster
- Configuration of instance 1
- Configuration of instance 2
- Apache web server configuration for horizontal clustering
- Testing of the clustered instance
- Monitoring of Tomcat clustering
- Summary
- What is a cluster?
- 10. Tomcat Upgrade
- Different types of environment
- Development environment
- Quality Assurance environment
- Staging environment
- Production environment
- Life cycle of the upgrade
- Tomcat upgrade from 6 to 7
- Prerequisites for Tomcat 7
- Installation of Tomcat 7 for the upgrade
- Configuration of Tomcat 7
- JVM configuration
- Database connection settings
- Application migration
- Alias configuration
- ITIL process implementation
- Availability management
- Capacity management
- Service Transition
- Summary
- Different types of environment
- 11. Advanced Configuration for Apache Tomcat 7
- Virtual hosting
- Name-based virtual hosting
- IP-based virtual hosting
- Virtual hosting in Tomcat 7
- Hostname aliases
- Multiple applications hosting on a single Tomcat 7 instance
- Multiple Tomcat environmentsDevelopment/QA/Stage/Production
- Tuning cache
- Optimization of Tomcat 7
- Running Tomcat 7 as a non privileged user
- Summary
- Virtual hosting
- Index
- Title: Apache Tomcat 7 Essentials. This book takes you from beginner to expert in logical stages, covering all the essentials of Tomcat 7 from trouble-free installation to building your own middleware servers. Packed with examples and illustrations
- Author: Tanuj Khare
- Original title: Apache Tomcat 7 Essentials. This book takes you from beginner to expert in logical stages, covering all the essentials of Tomcat 7 from trouble-free installation to building your own middleware servers. Packed with examples and illustrations.
- ISBN: 9781849516631, 9781849516631
- Date of issue: 2012-03-23
- Format: Ebook
- Item ID: e_3bd3
- Publisher: Packt Publishing