Tomcat's startup file is configured as a component-based: --- root component includes some properties: port = "8005" Shutdown = "shutdown" debug = "0" below, including other components: 1, Some server components used to monitor events is the container lifecycle listener Resource Lifecycle Listener 2, Components can set some global resources, they are based on JNDI: