Hi Andy,
I'd recommend you raise an issue on https://issues.shibboleth.net
Cheers,
Sara
On 03/04/2014 15:59, Andy Swiffin wrote:
> Hi
>
> I don’t know if there’s some other interdependency we are seeing but on
> a new IdP install we’ve just come a cropper when trying to use jre 8
> with an IdP.
>
> Whenever the scriptlet, which has the line:
>
> <Script> <![CDATA[
>
>
> importPackage(Packages.edu.internet2.middleware.shibboleth.common.attribute.provider);
>
> is executed the IdP throws an error saying:
>
> 15:31:07.527 - ERROR
> [edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.attributeDefinition.ScriptedAttributeDefinition:135]
> - ScriptletAttributeDefinition eduPersonEntitlement unable to execute script
>
> javax.script.ScriptException: ReferenceError: "importPackage" is not
> defined in <eval> at line number 1
>
> at
> jdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:564)
> ~[nashorn.jar:na]
>
> and no attributes are released.
>
> A bit of a google came up with:
> https://bugs.openjdk.java.net/browse/JDK-8025132 which looked like our
> error. We dropped in the java 7 we’re running on the old IdP and bingo
> – everything worked.
>
> I don’t know if its something else we’re doing wrong but java 8 didn’t
> work for us where java 7 does.
>
> Andy
>
>
> The University of Dundee is a registered Scottish Charity, No: SC015096
--
Sara Hopkins
Support Team
UK Access Management Federation for Education and Research
web: http://www.ukfederation.org.uk/
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
|