Since when is a container restart required to refresh DS Metadata?

Dan McLaughlin dmclaughlin at
Wed Sep 14 20:29:29 BST 2011

I have a very plain configuration using DS 1.1.2 on Tomcat (see
wayfconfig.xml below).  If I change the metadata, the only way I can
get it to immediately update is to bounce the entire container.
Restarting just the Discovery Service web application doesn't even

I do see the following message in the DS logs: refresh will
occur at approximately 2011-09-14T20:45:34.386Z  But I don't
particularly want to wait that long our bounce the container.  There's
got to be a way to tell the DS to check the metadata for changes more
often, I just haven't found it yet.  What be nice is a JMX MBean I
could poke.

<?xml version="1.0"?>
<WayfConfig xmlns="urn:mace:shibboleth:wayf:config:1.0"

	<Default jspFile="wayf.jsp" errorJspFile="wayferror.jsp"
provideList="true" provideListOfList="false" warnOnBadBinding="false"
			<IgnoreText>State </IgnoreText>

	<MetadataProvider displayName="MyFederation" identifier="myfed"

	<Plugin identifier="CookiePlugin"
alwaysFollow="TRUE" deleteCookie="FALSE" cacheExpiration="604800"/>

	<Plugin identifier="DeleteCookiePlugin"
alwaysFollow="FALSE" deleteCookie="TRUE" cacheExpiration="604800"/>

	<DiscoveryServiceHandler location=".+/WAYF" default="true">
		<PluginInstance identifier="CookiePlugin"/>

	<DiscoveryServiceHandler location=".+/ClearCache.wayf">
		<PluginInstance identifier="DeleteCookiePlugin"/>

	<DiscoveryServiceHandler location=".+/js.wayf" provideList="true"
provideListOfList="false" default="false" jspFile="/javascript.jsp">
		<Federation identifier="txdot"/>
		<PluginInstance identifier="CookiePlugin"/>



Dan McLaughlin

On Wed, Sep 14, 2011 at 1:07 PM, Peter Schober
<peter.schober at> wrote:
> * Dan McLaughlin <dmclaughlin at> [2011-09-14 19:46]:
>> I don't remember it being this way in the past, but now I have to
>> restart Tomcat in order to get the Discovery Service to pick up
>> Metadata changes.  Stopping and starting just the DS web app doesn't
>> reload the metadata either.
> I'm not using the Shib DS myself but any software that requires a full
> restart to pick up metadata changes is either misconfigured or broken,
> IMO. So I guess you'll need to be more specific in your problem
> statement.
> -peter
> --
> To unsubscribe from this list send an email to users-unsubscribe at

More information about the users mailing list