Archive for February, 2009

Chapter 5: Basic Tomcat Confi guration Attribute Description

Saturday, February 14th, 2009

Chapter 5: Basic Tomcat Confi guration Attribute Description Required? defaultHost jvmRoute name Selects one of the virtual hosts within this Engine to process all the incoming requests by default. This is used only if the Engine cannot find the host named on the request within this server.xmlfile. This is an identifier used in load-balancing Tomcat 6. See Chapter 17 for more information on using this attribute and configuring Tomcat 6 for clustering and load balancing. Sticky session support relies on matching this identifier as it is part of the incoming request s session ID. A name given to this Engine, which will be used in logging and by management applications. Yes No Yes As a container, the element can have the subelements shown in the following table. Subelement Description How Many? Host Context Realm Valve Listener Each element specifies a virtual host handled by the Engine. Tomcat 6 can handle multiple virtual hosts per Engine/Service instance. This mirrors one of the most popular features of the Apache Web server. Creates a Context (collection of settings for configurable properties/elements) for the Web applications that are automatically deployed when Tomcat 6 starts. The properties specified in this default Context are also available to all Web applications running within the Engine. This Realm is used by default in the declarative security support (see Chapter 14 for more details) to map users into roles; it is used for authentication purposes. Each individual virtual host s and elements may have their own Realm for this purpose. If they do not define their own, the Realm configured at the Engine level is used. Valves add processing logic into the request- and response-handling pipeline at the Engine level. Standard Valves are used to perform access logging, request filtering, implement single sign-on, and so on. Chapter 6 discusses the configuration of these standard Valves, as well as advanced configuration. This is used to configure lifecycle listeners that monitor the starting and stopping of the Engine. See Chapter 4 for information about how lifecycle listeners fit into Tomcat 6 s architecture. 1 or more 0 or 1 0 or 1 0 or more 0 or more

For high quality website hosting services please check tomcat web hosting website.

Chapter 5: Basic Tomcat Confi guration The Connector

Friday, February 13th, 2009

Chapter 5: Basic Tomcat Confi guration The standalone

Thursday, February 12th, 2009

Chapter 5: Basic Tomcat Confi guration The Service

Thursday, February 12th, 2009

Chapter 5: Basic Tomcat Confi guration This tells

Wednesday, February 11th, 2009

Chapter 5: Basic Tomcat Confi guration Server Configuration

Tuesday, February 10th, 2009

Chapter 5: Basic Tomcat Confi guration On a

Tuesday, February 10th, 2009

Chapter 5: Basic Tomcat Confi guration By the

Monday, February 9th, 2009

Basic Tomcat Configuration The focus of this chapter

Sunday, February 8th, 2009

Chapter 4: Tomcat Architecture The very nature of

Saturday, February 7th, 2009