First I want to apologize for another of these mails what is better
jetty vs tomcat' but most of the available resources compare both
containers in the environment where they are serving multiple concurrent
requests. What I am interested is the container that utilizes as little
resources as
Howdy,
You want to take out everything you don't need from server.xml. That
includes Connectors, Loggers, Realms, Valves, JNDI entries, etc. Do you
expect to use the Manager webapp? If not, you can remove it as well as
it's not required for tomcat to work properly.
For your (hopefully just
You can probably delete the following from server/lib
servlets-invoker.jar ( And remove from web.xml)
servlets-manager.jar (Unless you *need* the manager)
servlets-webdav.jar
# Only keep the connectors that you plan on using
tomcat-coyote.jar
tomcat-http11.jar
tomcat-jk.jar
tomcat-jk2.jar
I removed pretty much everything I could from server.xml.
Removing JMX listeners improved the initial startup time but Tomcat
still uses significant more memory and memory usage grows faster when
performing similar tests comparing to Jetty (to a certain point after
each it is no growing so