Shibboleth IDP Breaks aftre Tomcat Upgrade to 9.0.33

Chug, Kshitij (NIH/CIT) [C] kshitij.chug at nih.gov
Thu Apr 30 10:14:34 EDT 2020


Hi All,

I have been working on upgrading tomcat from 9.0.14 to 9.0.33 to remediate vulnerabilities.
Tomcat is installed on D:\apps  directory
IDP is installed on D:\opt]shibboleth-idp
IDP Version: 3.4.1
OS: Windows 2016

But after I move the IDP appl. to web apps on 9.0.33, I start getting following error in Catalina logs:
29-Apr-2020 14:27:14.750 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [D:\apps\webapps\idp]
29-Apr-2020 14:27:20.922 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
29-Apr-2020 14:27:21.453 SEVERE [main] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
29-Apr-2020 14:27:21.453 SEVERE [main] org.apache.catalina.core.StandardContext.startInternal Context [/idp] startup failed due to previous errors
29-Apr-2020 14:27:21.547 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [D:\apps\webapps\idp] has finished in [6,797] ms


Logs from stdout logs:
2020-04-29 12:56:21.988 [ERROR] : net.shibboleth.idp.spring.IdPPropertiesApplicationContextInitializer: Unable to find '/conf/idp.properties' at well known locations '[/opt/shibboleth-idp]'
2020-04-29 12:56:22.004 [ERROR] : org.springframework.web.context.ContextLoader: Context initialization failed
net.shibboleth.utilities.java.support.logic.ConstraintViolationException: Unable to find '/conf/idp.properties' at well known locations
                at net.shibboleth.idp.spring.IdPPropertiesApplicationContextInitializer.initialize(IdPPropertiesApplicationContextInitializer.java:138)
                at org.springframework.web.context.ContextLoader.customizeContext(ContextLoader.java:482)
                at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:442)
                at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:325)
                at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)


Has anybody faced the same issue on latest version of tomcat? Please let me know if you were able to fix it and how.
Thanks in advance.

Regards,
Kshitij Chug

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20200430/87868e41/attachment.html>


More information about the users mailing list