Skip to Content.
Sympa Menu

shibboleth-dev - aacli in Shibboleth RC2?

Subject: Shibboleth Developers

List archive

aacli in Shibboleth RC2?


Chronological Thread 
  • From: <>
  • To: <>
  • Subject: aacli in Shibboleth RC2?
  • Date: Wed, 20 Feb 2008 15:23:00 -0500

When I try to use aacli with the Shibboleth RC2, I get the following failure (I have not tried deploying it to my servlet container yet):

 

# ./aacli.sh --configDir /opt/shib-idp-rc2/conf/ --principal=krug

Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shibboleth.ServiceServletContextAttributeExporter': Invocation of init method failed; nested exception is edu.internet2.middleware.shibboleth.common.service.ServiceException: This service may only be used when services are loaded within a WebApplicationContext

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1260)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:438)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:383)

        at java.security.AccessController.doPrivileged(Native Method)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:353)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)

        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:169)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)

        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:400)

        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:736)

        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:369)

        at edu.internet2.middleware.shibboleth.common.attribute.AttributeAuthorityCLI.loadConfigurations(AttributeAuthorityCLI.java:174)

        at edu.internet2.middleware.shibboleth.common.attribute.AttributeAuthorityCLI.main(AttributeAuthorityCLI.java:84)

Caused by: edu.internet2.middleware.shibboleth.common.service.ServiceException: This service may only be used when services are loaded within a WebApplicationContext

        at edu.internet2.middleware.shibboleth.common.config.service.ServletContextAttributeExporter.initialize(ServletContextAttributeExporter.java:68)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1325)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1294)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1257)




Archive powered by MHonArc 2.6.16.

Top of Page