I am upgrading to tomcat 8 from 7. Is it required to add this listener?
<Listener className="org.apache.catalina.startup.VersionLoggerListener" />
Tomcat is actually composed of a number of components, including a Tomcat JSP engine and a variety of different connectors, but its core component is called Catalina. Catalina provides Tomcat's actual implementation of the servlet specification; when you start up your Tomcat server, you're actually starting Catalina.
Apache Tomcat. Log4j may be used as the logging framework for Apache Tomcat. This support is implemented automatically by including the log4j-api, log4j-core, and log4j-appserver jars in the boot classpath.
SERVER. xml file is Tomcat's main configuration file, and is responsible for specifying Tomcat's initial configuration on startup as well as defining the way and order in which Tomcat boots and builds. The elements of the server.
Class VersionLoggerListenerLogs version information on startup. This listener must only be nested within Server elements and should be the first listener defined.
As far as I know this listener prints the application server and OS informations.
It should be the first on the list of listeners included in the <Server>
element but can be ommited.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With