Errors during upgrade IdP 2.4.0 to 3.1.1

Surinaidu Majji pioneer.suri at gmail.com
Fri Jun 12 09:05:39 EDT 2015


Hi,

We planned to upgrade IdP from 2.4 to 3.1.1, we are able to check the
status of IdP with URL -http://localhost:8080/idp/profile/status =>
returning Status page
We followed the steps as mentioned at
https://wiki.shibboleth.net/confluence/display/IDP30/UpgradingFromV2#UpgradingFromV2-NextSteps
a)Upgrade Tasks for *metadata-providers.xml*
*   At this step ,*
   a.1)<MetadataProvider>  & <SecurityPolicy> elements is removed
   a.2)we were not using any <TrustEngine> element at IdP 2.4 hence
<TrustEngine> is also removed at IdP 3.1.1


b)Upgrade Tasks for *relying-party.xml*
*   At this step , *content of "relying-party.xml" is replica of
 "metadata-providers.xml" file content


However, *we are receiving below errors at idp.process . Also at this
juncture when we checked status of IdP with URL
-http://localhost:8080/idp/profile/status
<http://localhost:8080/idp/profile/status> => returning"Web Login Service -
Uncaught Exception" at the browser*


*---------------------------------------idp.process--------------------------------------------------*
2015-06-12 17:40:02,894 - WARN
[net.shibboleth.ext.spring.context.FilesystemGenericApplicationContext:487]
- Exception encountered during context initialization - cancelling refresh
attempt
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name
'net.shibboleth.idp.relyingparty.impl.DefaultRelyingPartyConfigurationResolver#1'
defined in file [D:\IdPv3.0-ws\system\conf\relying-party-system.xml]:
Cannot resolve reference to bean 'shibboleth.DefaultRelyingParty' while
setting bean property 'defaultConfiguration'; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'shibboleth.DefaultRelyingParty' is defined
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException:
No bean named 'shibboleth.DefaultRelyingParty' is defined
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:687)
2015-06-12 17:40:02,895 - ERROR
[net.shibboleth.utilities.java.support.service.AbstractReloadableService:181]
- Service 'shibboleth.RelyingPartyResolverService': Initial load failed
net.shibboleth.utilities.java.support.service.ServiceException:
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name
'net.shibboleth.idp.relyingparty.impl.DefaultRelyingPartyConfigurationResolver#1'
defined in file [D:\IdPv3.0-ws\system\conf\relying-party-system.xml]:
Cannot resolve reference to bean 'shibboleth.DefaultRelyingParty' while
setting bean property 'defaultConfiguration'; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'shibboleth.DefaultRelyingParty' is defined
at
net.shibboleth.ext.spring.service.ReloadableSpringService.doReload(ReloadableSpringService.java:334)
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name
'net.shibboleth.idp.relyingparty.impl.DefaultRelyingPartyConfigurationResolver#1'
defined in file [D:\IdPv3.0-ws\system\conf\relying-party-system.xml]:
Cannot resolve reference to bean 'shibboleth.DefaultRelyingParty' while
setting bean property 'defaultConfiguration'; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'shibboleth.DefaultRelyingParty' is defined
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException:
No bean named 'shibboleth.DefaultRelyingParty' is defined
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:687)
2015-06-12 17:40:02,895 - INFO
[net.shibboleth.utilities.java.support.service.AbstractReloadableService:183]
- Service 'shibboleth.RelyingPartyResolverService': Continuing to poll
configuration
2015-06-12 17:40:02,896 - INFO
[net.shibboleth.utilities.java.support.service.AbstractReloadableService:199]
- Service 'shibboleth.RelyingPartyResolverService': Reload time set to:
900000, starting refresh thread
2015-06-12 17:40:02,903 - INFO
[net.shibboleth.utilities.java.support.service.AbstractReloadableService:172]
- Service 'shibboleth.MetadataResolverService': Performing initial load
2015-06-12 17:40:02,903 - INFO
[net.shibboleth.utilities.java.support.service.AbstractReloadableService:258]
- Service 'shibboleth.MetadataResolverService': Reloading service
configuration
2015-06-12 17:40:02,904 - INFO
[net.shibboleth.ext.spring.util.SchemaTypeAwareXMLBeanDefinitionReader:317]
- Loading XML bean definitions from file
[D:\IdPv3.0-ws\conf\metadata-providers.xml]
2015-06-12 17:40:02,941 - DEBUG
[net.shibboleth.idp.profile.spring.relyingparty.saml.BaseSAMLProfileConfigurationParser:202]
- Parsing Legacy SAML profile.  Destination type:
'net.shibboleth.idp.saml.saml1.profile.config.BrowserSSOProfileConfiguration'
2015-06-12 17:40:02,941 - DEBUG
[net.shibboleth.idp.profile.spring.relyingparty.saml.BaseSAMLProfileConfigurationParser:163]
- Looking for default signing credential reference
2015-06-12 17:40:02,942 - DEBUG
[net.shibboleth.idp.profile.spring.relyingparty.saml.BaseSAMLProfileConfigurationParser:202]
- Parsing Legacy SAML profile.  Destination type:
'net.shibboleth.idp.saml.saml1.profile.config.AttributeQueryProfileConfiguration'
2015-06-12 17:40:02,942 - DEBUG
[net.shibboleth.idp.profile.spring.relyingparty.saml.BaseSAMLProfileConfigurationParser:163]
- Looking for default signing credential reference
2015-06-12 17:40:02,942 - DEBUG
[net.shibboleth.idp.profile.spring.relyingparty.saml.BaseSAMLProfileConfigurationParser:202]
- Parsing Legacy SAML profile.  Destination type:
'net.shibboleth.idp.saml.saml1.profile.config.ArtifactResolutionProfileConfiguration'
2015-06-12 17:40:02,942 - DEBUG
[net.shibboleth.idp.profile.spring.relyingparty.saml.BaseSAMLProfileConfigurationParser:163]
- Looking for default signing credential reference
2015-06-12 17:40:02,943 - DEBUG
[net.shibboleth.idp.profile.spring.relyingparty.saml.BaseSAMLProfileConfigurationParser:202]
- Parsing Legacy SAML profile.  Destination type:
'net.shibboleth.idp.saml.saml2.profile.config.BrowserSSOProfileConfiguration'
2015-06-12 17:40:02,943 - DEBUG
[net.shibboleth.idp.profile.spring.relyingparty.saml.BaseSAMLProfileConfigurationParser:163]
- Looking for default signing credential reference
2015-06-12 17:40:02,943 - DEBUG
[net.shibboleth.idp.profile.spring.relyingparty.saml.BaseSAMLProfileConfigurationParser:202]
- Parsing Legacy SAML profile.  Destination type:
'net.shibboleth.idp.saml.saml2.profile.config.AttributeQueryProfileConfiguration'
2015-06-12 17:40:02,943 - DEBUG
[net.shibboleth.idp.profile.spring.relyingparty.saml.BaseSAMLProfileConfigurationParser:163]
- Looking for default signing credential reference
2015-06-12 17:40:02,944 - DEBUG
[net.shibboleth.idp.profile.spring.relyingparty.saml.BaseSAMLProfileConfigurationParser:202]
- Parsing Legacy SAML profile.  Destination type:
'net.shibboleth.idp.saml.saml2.profile.config.ArtifactResolutionProfileConfiguration'
2015-06-12 17:40:02,944 - DEBUG
[net.shibboleth.idp.profile.spring.relyingparty.saml.BaseSAMLProfileConfigurationParser:163]
- Looking for default signing credential reference
2015-06-12 17:40:02,944 - INFO
[net.shibboleth.ext.spring.util.SchemaTypeAwareXMLBeanDefinitionReader:317]
- Loading XML bean definitions from file
[D:\IdPv3.0-ws\system\conf\metadata-providers-system.xml]
2015-06-12 17:40:02,950 - INFO
[net.shibboleth.ext.spring.context.FilesystemGenericApplicationContext:510]
- Refreshing ApplicationContext:shibboleth.MetadataResolverService: startup
date [Fri Jun 12 17:40:02 IST 2015]; parent: Root WebApplicationContext
2015-06-12 17:40:02,965 - INFO
[net.shibboleth.ext.spring.context.FilesystemGenericApplicationContext:862]
- Closing ApplicationContext:shibboleth.MetadataResolverService: startup
date [Fri Jun 12 17:40:02 IST 2015]; parent: Root WebApplicationContext
2015-06-12 17:40:02,966 - ERROR
[net.shibboleth.utilities.java.support.service.AbstractReloadableService:181]
- Service 'shibboleth.MetadataResolverService': Initial load failed
net.shibboleth.utilities.java.support.service.ServiceException: Failed to
load [file [D:\IdPv3.0-ws\conf\metadata-providers.xml], file
[D:\IdPv3.0-ws\system\conf\metadata-providers-system.xml]]
at
net.shibboleth.ext.spring.service.ReloadableSpringService.doReload(ReloadableSpringService.java:344)
Caused by: net.shibboleth.utilities.java.support.service.ServiceException:
Reload did not produce any bean of
typenet.shibboleth.idp.saml.metadata.impl.RelyingPartyMetadataProvider
at
net.shibboleth.idp.profile.spring.relyingparty.metadata.MetadataResolverServiceStrategy.apply(MetadataResolverServiceStrategy.java:58)
2015-06-12 17:40:02,967 - ERROR
[net.shibboleth.utilities.java.support.service.AbstractReloadableService:185]
- Service 'shibboleth.MetadataResolverService': No further attempts will be
made to reload
2015-06-12 17:40:02,969 - INFO
[net.shibboleth.utilities.java.support.service.AbstractReloadableService:172]
- Service 'shibboleth.ReloadableAccessControlService': Performing initial
load
2015-06-12 17:40:02,969 - INFO
[net.shibboleth.utilities.java.support.service.AbstractReloadableService:258]
- Service 'shibboleth.ReloadableAccessControlService': Reloading service
configuration
2015-06-12 17:40:02,970 - INFO
[net.shibboleth.ext.spring.util.SchemaTypeAwareXMLBeanDefinitionReader:317]
- Loading XML bean definitions from file
[D:\IdPv3.0-ws\conf\access-control.xml]
2015-06-12 17:40:02,993 - INFO
[net.shibboleth.ext.spring.util.SchemaTypeAwareXMLBeanDefinitionReader:317]
- Loading XML bean definitions from file
[D:\IdPv3.0-ws\system\conf\access-control-system.xml]
2015-06-12 17:40:02,999 - INFO
[net.shibboleth.ext.spring.context.FilesystemGenericApplicationContext:510]
- Refreshing ApplicationContext:shibboleth.ReloadableAccessControlService:
startup date [Fri Jun 12 17:40:02 IST 2015]; parent: Root
WebApplicationContext
2015-06-12 17:40:03,016 - INFO
[net.shibboleth.ext.spring.service.ReloadableSpringService:378] - Service
'shibboleth.ReloadableAccessControlService': Completed reload and swapped
in latest configuration for service
'shibboleth.ReloadableAccessControlService'
2015-06-12 17:40:03,016 - INFO
[net.shibboleth.ext.spring.service.ReloadableSpringService:385] - Service
'shibboleth.ReloadableAccessControlService': Reload complete
2015-06-12 17:40:03,016 - INFO
[net.shibboleth.utilities.java.support.service.AbstractReloadableService:199]
- Service 'shibboleth.ReloadableAccessControlService': Reload time set to:
300000, starting refresh thread
2015-06-12 17:40:03,201 - INFO
[net.shibboleth.ext.spring.context.DeferPlaceholderFileSystemXmlWebApplicationContext:510]
- Refreshing WebApplicationContext for namespace 'idp-servlet': startup
date [Fri Jun 12 17:40:03 IST 2015]; parent: Root WebApplicationContext
2015-06-12 17:40:03,735 - INFO
[net.shibboleth.idp.authn.impl.RemoteUserAuthServlet:135] -
RemoteUserAuthServlet will process REMOTE_USER, along with attributes []
and headers []

*---------------------------------------idp.process--------------------------------------------------*

Please suggest.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20150612/371de9a6/attachment-0001.html>


More information about the users mailing list