<div dir="ltr"><div>For anyone watching this thread now or in the future, a possible good solution would be to install openjdk8 which includes the nashhorn interpreter as far as I can tell. By testing the aacli with that openjdk, I no longer get the previously mentioned error that the interpreter engine could not be created. Note, to use tomcat with the selected openjdk, the tomcat_java_home rcvar (in rc.conf) will have to be set to something like /usr/local/openjdk8. I haven't yet switched tomcat to openjdk8, but I anticipate few problems. I'll report my findings for future mailing list readers. This should also be good regardless of IdP2 or IdP3.<br><br><br></div><div>I do have a followup question though. I have hitherto been unable to evade the "...produced a null attribute" error. Here is my testing attribute, totally simple:<br><br>        <resolver:AttributeDefinition xsi:type="Script" xmlns="urn:mace:shibboleth:2.0:resolver:ad" id="testing" sourceAttributeID="uid"><br><br>                <resolver:Dependency ref="myLDAP" /><br><br>                <resolver:AttributeEncoder xsi:type="enc:SAML1String" xmlns="urn:mace:shibboleth:2.0:attribute:encoder"<br>                    name="urn:mace:attribute-def:testing" /><br>                <resolver:AttributeEncoder xsi:type="enc:SAML2String" xmlns="urn:mace:shibboleth:2.0:attribute:encoder"<br>                    name="urn:oid:1.2.3.4.5.6.7.8.9" friendlyName="testing" /><br>                <br>                 <Script><![CDATA[<br>                    var BasicAttribute = Java.type("edu.internet2.middleware.shibboleth.common.attribute.provider.BasicAttribute");<br>                    if (null == testing) testing = new BasicAttribute("testing");<br>                    testing.getValues().add("whatever");<br>                ]]></Script><br><br>        </resolver:AttributeDefinition><br><br></div><div>As far as I can tell everything (variable names, attributes, etc) is named testing, but I'm still getting the null attribute error. Any ideas? Please tell me that I have omitted something stupid and obvious :) <br><br><br><br></div><div>Kind regards,<br></div><div>Athanasios<br><br></div><div><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 27, 2015 at 9:06 PM, Cantor, Scott <span dir="ltr"><<a href="mailto:cantor.2@osu.edu" target="_blank">cantor.2@osu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 10/27/15, 3:02 PM, "users on behalf of Athanasios Douitsis" <<a href="mailto:users-bounces@shibboleth.net">users-bounces@shibboleth.net</a> on behalf of <a href="mailto:aduitsis@gmail.com">aduitsis@gmail.com</a>> wrote:<br>
<br>
<br>
<br>
>Oh blimey, I am using the openjdk FreeBSD port, I guess I'm out of luck.<br>
<br>
</span>Just install Rhino yourself into the webapp. If it was working, it was only working because you had the jars installed to the container.<br>
<span class=""><br>
>I'll try to figure out whether I can find a jar and place it somewhere in the classpath. But I'm not too optimistic.<br>
<br>
</span>You put it in the install tree in lib/ and then reinstall and redeploy the webapp.<br>
<div class="HOEnZb"><div class="h5"><br>
-- Scott<br>
<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Athanasios Douitsis<br><br><br></div>
</div>