<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Hi,
<div><br>
</div>
<div>When loading attribute-resolve.xml in IDP 3.0, it gave error in the log. The same file works fine in IDP 2.x</div>
<div><br>
</div>
<div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">2015-01-14 11:17:38,369 - ERROR [net.shibboleth.utilities.java.support.service.AbstractReloadableService:178] - Service 'shibboleth.AttributeResolverService': Initial load failed</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">net.shibboleth.utilities.java.support.service.ServiceException: Failed to load [file [/app/shibboleth/shibboleth-idp/conf/attribute-resolver.xml]]</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span class="Apple-tab-span" style="white-space:pre"></span>at net.shibboleth.ext.spring.service.ReloadableSpringService.doReload(ReloadableSpringService.java:342)</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Caused by: net.shibboleth.utilities.java.support.service.ServiceException: Unable to initialize attribute resolver for ApplicationContext:shibboleth.AttributeResolverService</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span class="Apple-tab-span" style="white-space:pre"></span>at net.shibboleth.idp.attribute.resolver.spring.AttributeResolverServiceStrategy.apply(AttributeResolverServiceStrategy.java:73)</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Caused by: net.shibboleth.utilities.java.support.component.ComponentInitializationException: Attribute Resolver 'ShibbolethAttributeResolver': Plugin 'departmentNumber' has a dependency on plugin
'skillsoftdept' which doesn't exist</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span class="Apple-tab-span" style="white-space:pre"></span>at net.shibboleth.idp.attribute.resolver.impl.AttributeResolverImpl.checkPlugInDependencies(AttributeResolverImpl.java:481)</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>from attribute-resolver.xml</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"><resolver:AttributeDefinition id="skillsoftdept" xmlns="urn:mace:shibboleth:2.0:resolver:ad"</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> xsi:type="Script"</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> sourceAttributeID="uid"></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;">
<br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> <resolver:Dependency ref="myLDAP" /></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;">
<br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> <resolver:AttributeEncoder xsi:type="SAML2String" xmlns="urn:mace:shibboleth:2.0:attribute:encoder"</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> name="skillsoftdept"</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> friendlyName="dept name for skillsoft"</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> nameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified" /></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;">
<br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> <Script><![CDATA[</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;">
<br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> importPackage(Packages.edu.internet2.middleware.shibboleth.common.attribute.provider);</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;">
<br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> // Create attribute to be returned from definition</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> skillsoftdept = new BasicAttribute("skillsoftdept");</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;">
<br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> …..</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;">
<br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;">
<br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> ]]></Script></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;">
<br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"></resolver:AttributeDefinition></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;">
<br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"><resolver:AttributeDefinition id="departmentNumber" xmlns="urn:mace:shibboleth:2.0:resolver:ad"</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> xsi:type="Simple"</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> sourceAttributeID="skillsoftdept"></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;">
<br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> <resolver:Dependency ref="skillsoftdept" /></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;">
<br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> <resolver:AttributeEncoder xsi:type="SAML2String" xmlns="urn:mace:shibboleth:2.0:attribute:encoder"</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> name="urn:oid:2.16.840.1.113730.3.1.2"</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> friendlyName="departmentNumber"</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> nameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" /></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;">
<br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"></resolver:AttributeDefinition></div>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"><br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"><br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thanks,</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Hong</div>
</body>
</html>