Improving the IdP's startup time on tomcat

Peter Schober peter.schober at univie.ac.at
Mon Oct 23 13:46:56 UTC 2023


Max Spicer <max.spicer at york.ac.uk> [2023-10-23 15:22 CEST]:
> > ACK. I have this in my /etc/tomcat<n>/context.xml waiting for things
> > to break:
> >
> >   <JarScanner>
> >     <JarScanFilter tldSkip="*.jar" />
> >   </JarScanner>
> >
> 
> That was my first thought before I noticed the even simpler
> defaultTldScan="false" option.

>From (another, it's been a while) look at their docs
https://tomcat.apache.org/tomcat-10.1-doc/config/jar-scan-filter.html
this does not seem to unconditionally disable jar scanning, though?
(Not sure you're saying that this was the intention.)
It merely defers the decision to scan to the values of the tldScan and
tldSkip patterns which in turn may be set in property files or
otherwise default to system properties (from code, I'm guessing).

-peter


More information about the users mailing list