Improving the IdP's startup time on tomcat

Max Spicer max.spicer at york.ac.uk
Mon Oct 23 13:54:12 UTC 2023


You're right, I'm assuming that the tldScan and tldSkip patterns are not
set elsewhere. With this change I no longer get the "At least one JAR was
scanned for TLDs yet contained no TLDs" warning in my Catalina log so it
does seem to do the trick.

Max

On Mon, 23 Oct 2023 at 14:47, Peter Schober via users <users at shibboleth.net>
wrote:

> 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
> --
> For Consortium Member technical support, see
> https://shibboleth.atlassian.net/wiki/x/ZYEpPw
> To unsubscribe from this list send an email to
> users-unsubscribe at shibboleth.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20231023/1e6564f5/attachment.htm>


More information about the users mailing list