samlServiceTicketUniqueIdGenerator error with CAS 3.1.2

Scott Battaglia scott.battaglia at gmail.com
Mon Feb 11 16:14:35 EST 2008


The OpenSAML jar appears to be missing.  I'm not sure why as it should
include it by default.  But you can download it from opensaml.org:

http://shibboleth.internet2.edu/downloads/opensaml-java-1.1b.tar.gz

-Scott

On Feb 11, 2008 4:00 PM, Pat Hennessy <lists-cas at dtcc.edu> wrote:

>
> I just downloaded and attempted to run the new version.  I made all the
> changed that I did with CAS 3.1.1.  Everything builds fine, but when I
> installed the application in Tomcat I got some errors in the catalina.log.
>
> I was looking over the applicationContext.xml files and they seem to be
> the same.  Did something else change?
>
> Pat
>
>
> ----------------------------------------------------------------------------
> 2008-02-11 15:45:24,568 ERROR
> [org.apache.catalina.core.ContainerBase.[Catalina].[hostname].[/cas]] -
> <SafeContextLoaderListener:
> The Spring ContextLoaderListener we wrap threw on contextInitialized.
> But for our having caught this error, the web application context would
> not have initialized.>
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'samlServiceTicketUniqueIdGenerator' defined in
> ServletContext resource [/WEB-INF/applicationContext.xml]: Instantiation
> of bean failed; nested exception is java.lang.NoClassDefFoundError:
> org/opensaml/artifact/SAMLArtifact
> Caused by:
> java.lang.NoClassDefFoundError: org/opensaml/artifact/SAMLArtifact
>         at java.lang.Class.getDeclaredConstructors0(Native Method)
>         at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
>         at java.lang.Class.getDeclaredConstructors(Class.java:1836)
>         at
>
> org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor
> (ConstructorResolver.java:131)
>         at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor
> (AbstractAutowireCapableBeanFactory.java:799)
>         at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance
> (AbstractAutowireCapableBeanFactory.java:717)
>         at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean
> (AbstractAutowireCapableBeanFactory.java:384)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(
> AbstractBeanFactory.java:251)
>         at
>
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton
> (DefaultSingletonBeanRegistry.java:156)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(
> AbstractBeanFactory.java:248)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(
> AbstractBeanFactory.java:160)
>         at
>
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons
> (DefaultListableBeanFactory.java:287)
>         at
> org.springframework.context.support.AbstractApplicationContext.refresh(
> AbstractApplicationContext.java:352)
>         at
> org.springframework.web.context.ContextLoader.createWebApplicationContext(
> ContextLoader.java:244)
>         at
> org.springframework.web.context.ContextLoader.initWebApplicationContext(
> ContextLoader.java:187)
>         at
> org.springframework.web.context.ContextLoaderListener.contextInitialized(
> ContextLoaderListener.java:49)
>         at
> org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized(
> SafeContextLoaderListener.java:62)
>         at
> org.apache.catalina.core.StandardContext.listenerStart(
> StandardContext.java:3764)
>         at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
>         at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java
> :760)
>         at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
>         at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
>         at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
>         at
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
>         at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
>         at
> org.apache.catalina.startup.HostConfig.check(HostConfig.java:1206)
>         at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
>         at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
> LifecycleSupport.java:120)
>         at
> org.apache.catalina.core.ContainerBase.backgroundProcess(
> ContainerBase.java:1306)
>         at
>
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren
> (ContainerBase.java:1570)
>         at
>
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren
> (ContainerBase.java:1579)
>         at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(
> ContainerBase.java:1559)
>         at java.lang.Thread.run(Thread.java:619)
>
>
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Pat Hennessy, RHCE                        (path at dtcc.edu)
>
> Senior Systems Specialist
> Division of Information and Educational Technology
> Delaware Technical and Community College
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>



-- 
-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20080211/1beb0def/attachment.html 


More information about the cas mailing list