Skip to Content.
Sympa Menu

shibboleth-dev - Re: [Shib-Dev] ERROR DEPLOYING IDP.WAR

Subject: Shibboleth Developers

List archive

Re: [Shib-Dev] ERROR DEPLOYING IDP.WAR


Chronological Thread 
  • From: Chad La Joie <>
  • To:
  • Subject: Re: [Shib-Dev] ERROR DEPLOYING IDP.WAR
  • Date: Thu, 10 Mar 2011 16:02:43 +0100

The error is from the relying-party.xml, it's invalid. If you
compiled from source you'll need to debug that file. The one in the
IdP distribution that we have works properly as shipped and installed.

2011/3/10 Daniel Mérida
<>:
> I have compiled Shibboleth IDP source 2.1.5, installed it and when I am
> going to deploy it in Tomcat, I get the following error:
>
> 12:44:27.924 [main] ERROR e.i.m.s.c.c.SpringConfigurationUtils - Unable to
> locate NamespaceHandler for namespace
> [urn:mace:shibboleth:2.0:idp:profile-handler]
> Mar 10, 2011 12:44:31 PM org.apache.catalina.core.StandardContext start
> SEVERE: Error listenerStart
> Mar 10, 2011 12:44:31 PM org.apache.catalina.core.StandardContext start
> SEVERE: Context [/idp] startup failed due to previous errors
> WARN: The method class
> org.apache.commons.logging.impl.SLF4JLogFactory#release() was invoked.
> WARN: Please see http://www.slf4j.org/codes.html#release for an explanation.
>
> The trace of idp-process.log is the following:
>
> 12:44:30.919 - INFO
> [edu.internet2.middleware.shibboleth.common.config.security.ShibbolethSecurityPolicyBeanDefinitionParser:58]
> - Parsing configuration for SecurityPolicyType security policy with id:
> shibboleth.SAML2SLOSecurityPolicy
> 12:44:31.434 - INFO
> [edu.internet2.middleware.shibboleth.common.config.BaseService:179] -
> shibboleth.RelyingPartyConfigurationManager service configuration loaded
> 12:44:31.444 - ERROR
> [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/idp]:3799]
> - Exception sending context initialized event to listener instance of class
> org.springframework.web.context.ContextLoaderListener
> org.springframework.beans.factory.BeanCreationException: Error creating bean
> with name
> 'edu.internet2.middleware.shibboleth.common.config.service.ServletContextAttributeExporter#0':
> Invocation of init method failed; nested exception is
> org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
> named 'shibboleth.HandlerManager' is defined
>   at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
> [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_22]
>   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:3795)
> [catalina.jar:na]
>   at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4252)
> [catalina.jar:na]
>   at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
> [catalina.jar:na]
>   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
> [catalina.jar:na]
>   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
> [catalina.jar:na]
>   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:884)
> [catalina.jar:na]
>   at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:737)
> [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:1203)
> [catalina.jar:na]
>   at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319)
> [catalina.jar:na]
>   at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
> [catalina.jar:na]
>   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
> [catalina.jar:na]
>   at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
> [catalina.jar:na]
>   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
> [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:448)
> [catalina.jar:na]
>   at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
> [catalina.jar:na]
>   at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
> [catalina.jar:na]
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [na:1.6.0_22]
>   at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [na:1.6.0_22]
>   at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [na:1.6.0_22]
>   at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_22]
>   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
> [bootstrap.jar:na]
>   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
> [bootstrap.jar:na]
> Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException:
> No bean named 'shibboleth.HandlerManager' is defined
>   at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:387)
> [spring-beans-2.5.6.jar:2.5.6]
>   at
> org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:971)
> [spring-beans-2.5.6.jar:2.5.6]
>   at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:246)
> [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.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:880)
> [spring-context-2.5.6.jar:2.5.6]
>   at
> edu.internet2.middleware.shibboleth.common.config.service.ServletContextAttributeExporter.initialize(ServletContextAttributeExporter.java:82)
> [shibboleth-common-1.1.4.jar:na]
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [na:1.6.0_22]
>   at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [na:1.6.0_22]
>   at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [na:1.6.0_22]
>   at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_22]
>   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]
>   ... 39 common frames omitted
>
> Any idea?
> Thanks in advance.
>
> Dani
>



--
Chad La Joie
www.itumi.biz
trusted identities, delivered



Archive powered by MHonArc 2.6.16.

Top of Page