Is Tomcat 8, starting late?

Sonu Singh
Dec 19, 2022

--

After upgrading an existing system to Tomcat 8, you notice the time it takes from a restart to serving in a few minutes. While this happens, Java appears to be using almost no CPU and just idling.

Adding a scanManifest=”false” attribute to <JarScanner> tag in conf/context.xml, may speed up the loading process.

<JarScanner scanManifest="false">
<JarScanFilter defaultPluggabilityScan="false" />
</JarScanner>

--

--

Sonu Singh
Sonu Singh

No responses yet