Unable to read metadata from http://www.testshib.org/metadata/testshib-providers.xml attempting to read it from local backup

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Unable to read metadata from http://www.testshib.org/metadata/testshib-providers.xml attempting to read it from local backup

dghutake
Hi,
I am trying set Shibboleth 2 IDP on my local environment using apache2.2 and tomcat 6.0. and I am trying to test through using TestShib Service.
I have modified relying-party.xml , attribute-filter.xml, and attribute-resolver.xml etc according to the instructions given on wiki.
I am getting following exception when star my tomcat and apache server.
Can some body help to resolve this Issue?

Thanks in Advance

11:33:21.496 - WARN [org.opensaml.saml2.metadata.provider.FileBackedHTTPMetadataProvider:101] - Unable to read metadata from http://www.testshib.org/metadata/testshib-providers.xml attempting to read it from local backup
java.net.ConnectException: Connection timed out: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method) [na:1.6.0_18]
        at java.net.PlainSocketImpl.doConnect(Unknown Source) [na:1.6.0_18]
        at java.net.PlainSocketImpl.connectToAddress(Unknown Source) [na:1.6.0_18]
        at java.net.PlainSocketImpl.connect(Unknown Source) [na:1.6.0_18]
        at java.net.SocksSocketImpl.connect(Unknown Source) [na:1.6.0_18]
        at java.net.Socket.connect(Unknown Source) [na:1.6.0_18]
        at java.net.Socket.connect(Unknown Source) [na:1.6.0_18]
        at java.net.Socket.<init>(Unknown Source) [na:1.6.0_18]
        at java.net.Socket.<init>(Unknown Source) [na:1.6.0_18]
        at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) [commons-httpclient-3.1.jar:na]
        at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122) [commons-httpclient-3.1.jar:na]
        at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) [commons-httpclient-3.1.jar:na]
        at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) [commons-httpclient-3.1.jar:na]
        at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) [commons-httpclient-3.1.jar:na]
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) [commons-httpclient-3.1.jar:na]
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) [commons-httpclient-3.1.jar:na]
        at org.opensaml.saml2.metadata.provider.HTTPMetadataProvider.fetchMetadata(HTTPMetadataProvider.java:277) [opensaml-2.3.1.jar:na]
        at org.opensaml.saml2.metadata.provider.FileBackedHTTPMetadataProvider.fetchMetadata(FileBackedHTTPMetadataProvider.java:99) [opensaml-2.3.1.jar:na]
        at org.opensaml.saml2.metadata.provider.HTTPMetadataProvider.refreshMetadata(HTTPMetadataProvider.java:231) [opensaml-2.3.1.jar:na]
        at org.opensaml.saml2.metadata.provider.HTTPMetadataProvider.initialize(HTTPMetadataProvider.java:110) [opensaml-2.3.1.jar:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_18]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_18]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_18]
        at java.lang.reflect.Method.invoke(Unknown Source) [na:1.6.0_18]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414) [spring-beans-2.5.6.jar:2.5.6]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375) [spring-beans-2.5.6.jar:2.5.6]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335) [spring-beans-2.5.6.jar:2.5.6]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473) [spring-beans-2.5.6.jar:2.5.6]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) [spring-beans-2.5.6.jar:2.5.6]
        at java.security.AccessController.doPrivileged(Native Method) [na:1.6.0_18]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) [spring-beans-2.5.6.jar:2.5.6]
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) [spring-beans-2.5.6.jar:2.5.6]
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [spring-beans-2.5.6.jar:2.5.6]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) [spring-beans-2.5.6.jar:2.5.6]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) [spring-beans-2.5.6.jar:2.5.6]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) [spring-beans-2.5.6.jar:2.5.6]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) [spring-beans-2.5.6.jar:2.5.6]
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) [spring-context-2.5.6.jar:2.5.6]
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380) [spring-context-2.5.6.jar:2.5.6]
        at edu.internet2.middleware.shibboleth.common.config.BaseService.loadContext(BaseService.java:170) [shibboleth-common-1.1.4.jar:na]
        at edu.internet2.middleware.shibboleth.common.config.BaseReloadableService.initialize(BaseReloadableService.java:147) [shibboleth-common-1.1.4.jar:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_18]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_18]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_18]
        at java.lang.reflect.Method.invoke(Unknown Source) [na:1.6.0_18]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414) [spring-beans-2.5.6.jar:2.5.6]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375) [spring-beans-2.5.6.jar:2.5.6]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335) [spring-beans-2.5.6.jar:2.5.6]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473) [spring-beans-2.5.6.jar:2.5.6]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) [spring-beans-2.5.6.jar:2.5.6]
        at java.security.AccessController.doPrivileged(Native Method) [na:1.6.0_18]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) [spring-beans-2.5.6.jar:2.5.6]
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) [spring-beans-2.5.6.jar:2.5.6]
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [spring-beans-2.5.6.jar:2.5.6]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) [spring-beans-2.5.6.jar:2.5.6]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) [spring-beans-2.5.6.jar:2.5.6]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) [spring-beans-2.5.6.jar:2.5.6]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) [spring-beans-2.5.6.jar:2.5.6]
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) [spring-context-2.5.6.jar:2.5.6]
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380) [spring-context-2.5.6.jar:2.5.6]
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255) [spring-web-2.5.6.jar:2.5.6]
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199) [spring-web-2.5.6.jar:2.5.6]
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45) [spring-web-2.5.6.jar:2.5.6]
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972) [catalina.jar:na]
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467) [catalina.jar:na]
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) [catalina.jar:na]
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) [catalina.jar:na]
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526) [catalina.jar:na]
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637) [catalina.jar:na]
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563) [catalina.jar:na]
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498) [catalina.jar:na]
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) [catalina.jar:na]
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) [catalina.jar:na]
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) [catalina.jar:na]
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) [catalina.jar:na]
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:722) [catalina.jar:na]
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) [catalina.jar:na]
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) [catalina.jar:na]
        at org.apache.catalina.core.StandardService.start(StandardService.java:516) [catalina.jar:na]
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) [catalina.jar:na]
        at org.apache.catalina.startup.Catalina.start(Catalina.java:593) [catalina.jar:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_18]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_18]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_18]
        at java.lang.reflect.Method.invoke(Unknown Source) [na:1.6.0_18]
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) [bootstrap.jar:na]
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) [bootstrap.jar:na]
11:33:21.684 - INFO [edu.internet2.middleware.shibboleth.common.config.BaseService:179] - shibboleth.RelyingPartyConfigurationManager service configuration loaded

Dinesh