<div dir="ltr"><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:small">I've been looking to improve the startup time of our IdP as on tomcat it was taking around 4 minutes 30 seconds. <a href="https://shibboleth.atlassian.net/wiki/spaces/IDP5/pages/3199511039/Troubleshooting">https://shibboleth.atlassian.net/wiki/spaces/IDP5/pages/3199511039/Troubleshooting</a> is very useful and the advice to run with unpacked wars immediately takes the startup time down to around 40 seconds on tomcat9.</div><div style="font-size:small"><br></div><div style="font-size:small">I've also looked at <a href="https://cwiki.apache.org/confluence/display/TOMCAT/HowTo+FasterStartUp">https://cwiki.apache.org/confluence/display/TOMCAT/HowTo+FasterStartUp</a>. This suggests setting metadata-complete="true" in web.xml and adding an empty <absolute-ordering /> element. This takes almost another 10 seconds off the time.</div><div style="font-size:small"><br></div><div style="font-size:small">These last changes stop Tomcat from scanning the web application and its libraries for classes that use annotations to define components of a web application (Servlets etc.). If there is a SCI with a @HandlesTypes annotation it also means it will not scan for classes that use annotations or interfaces specified in that annotation.</div><div style="font-size:small"><br></div><div style="font-size:small">Can anyone confirm whether this is a safe thing to do with the IdP application?</div><div style="font-size:small"><br></div><div style="font-size:small">Thanks,</div><div style="font-size:small"><br></div><div style="font-size:small">Max Spicer</div></div></div></div></div></div></div>