<div dir="ltr"><div dir="ltr">Here, we were getting errors kind of like that[1] that turned out to be due to the jdk packages having updated, and neither the packages' built-in scripts nor the weekly update script for non-kernel updates were restarting or rebooting Tomcat.</div><div dir="ltr"><br></div><div>It was when we were reloading on purpose, so it was immediately obvious when it failed, which helped.</div><div><div><br class="gmail-Apple-interchange-newline">[1] Kind of, not really, but still bean related. This might have been Tomcat rather than JDK:<br></div></div><div>[net.shibboleth.utilities.java.support.service.AbstractReloadableService:231] - Service 'shibboleth.AttributeResolverService': Reload for shibboleth.AttributeResolverService failed<br></div><div dir="ltr">net.shibboleth.utilities.java.support.service.ServiceException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eduPersonOrgUnitDNCustom': Cannot create inner bean '(inner bean)#35d3a868' 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)#35d3a868': Invocation of init method failed; nested exception is net.shibboleth.utilities.java.support.logic.ConstraintViolationException: No scripting engine associated with scripting language javascript<br></div><div><br></div><div><div><span class="gmail_signature_prefix"><br class="gmail-Apple-interchange-newline">--</span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><font face="times new roman, serif">Jim Toth (he/him)</font><div><a href="mailto:jjtoth@vcu.edu" target="_blank"><font face="times new roman, serif">jjtoth@vcu.edu</font></a></div><div><font face="times new roman, serif">Lead Engineer, Middleware<br></font></div><div><font face="times new roman, serif">VCU Technology Services</font></div></div></div></div></div><div dir="ltr"><br></div><br class="gmail-Apple-interchange-newline"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 14, 2023 at 8:40 AM Cantor, Scott via users <<a href="mailto:users@shibboleth.net">users@shibboleth.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> Given I flagrantly disregard the recommendation to upgrade in place ;),<br>
<br>
The fact that it's happening enough to notice when it's never happened to me in a single instance that didn't involve the service reloading stuff (*) is basically virtual proof that an older file has to be there.<br>
<br>
Otherwise it would mean Spring were completely broken, whereas the Occam's Razor explanation fully explains it.<br>
<br>
I guess I would start by checking for anything in the old system/ folder we used to create.<br>
<br>
-- Scott<br>
<br>
(*) Spring has a bug involving the use of parent beans across contexts when certain conditions are met, but you have to "create it twice" to see it, and the flows only instantiate once, and there are other caveats unmet in this case.<br></blockquote></div></div></div>