Problems with aacli.sh on IDP 2.3.5
Nate Klingenstein
ndk at internet2.edu
Thu Nov 17 22:45:50 GMT 2011
Keith,
I write only to confirm that others have experienced this exception --
the entire Installfest class at CalState a week ago. The same AACLI
command that had always succeeded for us returned the same stack trace.
The change that resulted in the stack trace was between 2.3.4 and 2.3.5.
I asked the developer about it in a back channel while at the
Installfest and never got around to posting it to the list, but learned
he's on vacation right now.
Thanks for reporting this,
Nate.
On 11/17/2011 22:24, Wessel, Keith William wrote:
> All,
>
> I know I'm overlooking something silly here, but I can't find what it is for the life of me.
>
> We recently upgraded from 2.1.5 to 2.3.5 (finally got the upgrade done), but now it seems aacli.sh doesn't work.
>
> It's worth noting that we did the upgrade on top of the previous release and told the installer not to overwrite configs. I compared the bin and lib dirs., though, to those in a freshly installed copy (one that wasn't done on top of a previous version), and they match perfectly.
>
> But when we run aaci.sh, passing it a requester and principal, we get the following lovely Java trace. Any thoughts on what might becausing this?
>
> Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shibboleth.HandlerManager': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/servlet/ServletRequest
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
> at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
> at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
> at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
> at edu.internet2.middleware.shibboleth.common.attribute.AttributeAuthorityCLI.loadConfigurations(AttributeAuthorityCLI.java:199)
> at edu.internet2.middleware.shibboleth.common.attribute.AttributeAuthorityCLI.main(AttributeAuthorityCLI.java:90)
> Caused by: java.lang.NoClassDefFoundError: javax/servlet/ServletRequest
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
> at java.lang.Class.getDeclaredMethods(Class.java:1791)
> at java.beans.Introspector$1.run(Introspector.java:1287)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1285)
> at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1151)
> at java.beans.Introspector.getBeanInfo(Introspector.java:402)
> at java.beans.Introspector.getBeanInfo(Introspector.java:168)
> at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:220)
> at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:144)
> at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:252)
> at org.springframework.beans.BeanWrapperImpl.getPropertyDescriptorInternal(BeanWrapperImpl.java:282)
> at org.springframework.beans.BeanWrapperImpl.isWritableProperty(BeanWrapperImpl.java:333)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1247)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
> ... 13 more
> Caused by: java.lang.ClassNotFoundException: javax.servlet.ServletRequest
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> ... 30 more
>
> Thanks,
> Keith
>
> --
> To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
>
More information about the users
mailing list