JDK17 - IdP errors
Dave Perry
d.perry1 at yorksj.ac.uk
Mon May 13 21:46:38 UTC 2024
Hi all
I have updated the JDK on my Dev IdP to be JDK17 (Amazon Corretto). I get the following errors in idp-process.log, one at startup and the others during a SAML authentication attempt:
2024-05-13 22:26:37,780 - - ERROR [net.shibboleth.utilities.java.support.service.AbstractReloadableService:182] - Service 'shibboleth.AttributeResolverService': Initial load failed
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eduPersonAffiliation': Cannot create inner bean '(inner bean)#1a212395' of type [net.shibboleth.ext.spring.factory.EvaluableScriptFactoryBean] while setting bean property 'script'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#1a212395': Invocation of init method failed; nested exception is net.shibboleth.utilities.java.support.logic.ConstraintViolationException: No scripting engine associated with scripting language javascript
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#1a212395': Invocation of init method failed; nested exception is net.shibboleth.utilities.java.support.logic.ConstraintViolationException: No scripting engine associated with scripting language javascript
2024-05-13 22:29:06,860 - 10.4.105.22 - ERROR [net.shibboleth.idp.profile.impl.ResolveAttributes:300] - Profile Action ResolveAttributes: Error resolving attributes: Invalid Attribute resolver configuration
2024-05-13 22:29:06,877 - 10.4.105.22 - ERROR [net.shibboleth.idp.authn.impl.SelectSubjectCanonicalizationFlow:78] - Profile Action SelectSubjectCanonicalizationFlow: No potential flows left to choose from, canonicalization will fail
>From an end user POV, the login attempt seems to go through - until 'Error occured' is sent in the SAML back to the SP (according to the logs).
Currently in Prod/Test we run Corretto JDK v11 with no issues (IdP v4.3.1).
Any ideas what v17 is unhappy about?
Thanks
Dave
_________________________________________________
Dave Perry
Application Analyst | Innovation & Technology Services
York St John University
Lord Mayor’s Walk, York, YO31 7EX
T: +44(0)1904 876 0000
d.perry1 at yorksj.ac.uk<mailto:d.perry1 at yorksj.ac.uk> | www.yorksj.ac.uk<http://www.yorksj.ac.uk>
[cid:eebe2f41-fe89-4044-a748-2126e6039f3c]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20240513/55450071/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-nqrpjgjj.png
Type: image/png
Size: 12155 bytes
Desc: Outlook-nqrpjgjj.png
URL: <http://shibboleth.net/pipermail/users/attachments/20240513/55450071/attachment.png>
More information about the users
mailing list