shibboleth-dev - Re: failoverDataConnector error
Subject: Shibboleth Developers
List archive
- From: Chad La Joie <>
- To:
- Subject: Re: failoverDataConnector error
- Date: Tue, 26 Feb 2008 19:24:09 +0100
- Organization: SWITCH
this is now fixed. it was a typo in the code.
Jim Fox wrote:
I'm doing this:
<resolver:DataConnector id="tgtidDB" xsi:type="RelationalDatabase" ...
<resolver:Dependency ref="uwRegID" />
<resolver:Dependency ref="tgtidDB1" />
<resolver:FailoverDataConnector ref="tgtidDB1" />
....
</resolver:DataConnector>
<resolver:DataConnector id="tgtidDB1" xsi:type="RelationalDatabase" ...
<resolver:Dependency ref="uwRegID" />
....
</resolver:DataConnector>
When tomcat starts I get:
(Both dataconnectors appear to be configured OK.)
then:
ERROR [edu.internet2.middleware.shibboleth.common.config.BaseService:200]
- Configuration was not loaded for shibboleth.AttributeResolver service,
error creating components. The root cause of this error was:
java.lang.IllegalArgumentException: Method must not be null
org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'tgtidDB':
Initialization of bean failed; nested exception is
org.springframework.beans.TypeMismatchException:
Failed to convert property value of type [java.lang.String]
to required type [java.lang.String] for property
'failoverDataConnectorId'; nested exception is
java.lang.IllegalArgumentException: Method must not be null
at org.springframework.beans.factory.support.
AbstractAutowireCapableBeanFactory.
doCreateBean(AbstractAutowireCapableBeanFactory.java:547)
This comes right before I would otherwise see:
...ShibbolethAttributeResolver:490] - Loading 4 principal connectors
... ShibbolethAttributeResolver:499] - Loading 2 data connectors
etc.
Jim
--
SWITCH
Serving Swiss Universities
--------------------------
Chad La Joie, Software Engineer, Security
Werdstrasse 2, P.O. Box, 8021 Zürich, Switzerland
phone +41 44 268 15 75, fax +41 44 268 15 68
,
http://www.switch.ch
- failoverDataConnector error, Jim Fox, 02/22/2008
- Re: failoverDataConnector error, Chad La Joie, 02/26/2008
Archive powered by MHonArc 2.6.16.