Chapter 6: Advanced Tomcat Features Figure 6-7: Lifecycle
Chapter 6: Advanced Tomcat Features Figure 6-7: Lifecycle listener created role-type MBeans Note that you will have to authenticate to use the managerapplication. This means that the manager role must be added to the tomcat-users.xmlfile (either manually or via the adminapplication) for the manager application user. In this test case, the manager role was added to the default Tomcat user. (Chapter 8 discusses the managerapplication.) Removing Default Lifecycle Listeners Next, the lifecycle listeners will be removed. As a result, it is expected that the dynamically created MBeans will no longer be available. To try this out, first stop Tomcat 6. Edit the server.xmlfile by hand and comment out the two
For reliable and cheap web hosting services please check cheap web hosting website.