Here is the offending pom.xml.
On Fri, Feb 26, 2010 at 3:50 PM, <[email protected]> wrote:
> Ill give it a whirl tomorrow and see what shakes out. Thanks for trying.
> Cheers
> Scott
>
> Sent from my Verizon Wireless BlackBerry
> ------------------------------
> *From: * Patrick Berry <[email protected]>
> *Date: *Fri, 26 Feb 2010 15:25:21 -0800
> *To: *<[email protected]>
> *Subject: *Re:[cas-dev] 3.4 RC1 and web.xml
>
> Okay, I found at least one way to (reliably?) reproduce this.
>
> Start with the pom.xml from the Maven overlay howto, set the version to
> 3.4-RC1, and then simply add:
>
> <dependency>
> <groupId>org.jasig.cas</groupId>
> <artifactId>cas-server-support-ldap</artifactId>
> <version>${cas.version}</version>
> <type>jar</type>
> <scope>runtime</scope>
> </dependency>
>
> War files built after this is introduced experience the problem.
>
> On Fri, Feb 26, 2010 at 3:07 PM, Patrick Berry <[email protected]> wrote:
>
>> I bet I'm just missing something completely obvious. I just did an out of
>> the box build of RC1 and it runs just fine. Attaching pom.xml and
>> web.xml...
>>
>>
>> On Fri, Feb 26, 2010 at 2:48 PM, Patrick Berry <[email protected]> wrote:
>>
>>> I wanted to make sure this wasn't some problem with Tomcat 5.5.x, so I
>>> fired up Tomcat 6 and got the same error.
>>>
>>> java version "1.6.0_17"
>>> Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248-10M3025)
>>> Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode)
>>>
>>> Good times.
>>>
>>>
>>> On Fri, Feb 26, 2010 at 2:12 PM, Patrick Berry <[email protected]> wrote:
>>>
>>>> I did a diff between my 3.3.5 config and the 3.4 RC1 web.xml and I'm
>>>> just not seeing what's wrong here:
>>>>
>>>> 2010-02-26 14:04:43,080 ERROR
>>>> [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/cas]] -
>>>> SafeDispatcherServlet:
>>>> The Spring DispatcherServlet we wrap threw on init.
>>>> But for our having caught this error, the servlet would not have
>>>> initialized.
>>>> org.springframework.beans.PropertyBatchUpdateException; nested
>>>> PropertyAccessException details (1) are:
>>>> PropertyAccessException 1:
>>>> org.springframework.beans.MethodInvocationException: Property
>>>> 'publishContext' threw exception; nested exception is
>>>> java.lang.reflect.MalformedParameterizedTypeException
>>>> at
>>>> org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:1143)
>>>> at
>>>> org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:857)
>>>> at
>>>> org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:76)
>>>> at
>>>> org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:62)
>>>> at
>>>> org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:119)
>>>> at javax.servlet.GenericServlet.init(GenericServlet.java:212)
>>>> at
>>>> org.jasig.cas.web.init.SafeDispatcherServlet.init_aroundBody0(SafeDispatcherServlet.java:64)
>>>> at
>>>> org.jasig.cas.web.init.SafeDispatcherServlet.init_aroundBody1$advice(SafeDispatcherServlet.java:44)
>>>> at
>>>> org.jasig.cas.web.init.SafeDispatcherServlet.init(SafeDispatcherServlet.java:1)
>>>> at
>>>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
>>>> at
>>>> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
>>>> at
>>>> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3996)
>>>> at
>>>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4266)
>>>> 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:831)
>>>> at
>>>> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:720)
>>>> at
>>>> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
>>>> at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1218)
>>>> 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:637)
>>>> Caused by: java.lang.reflect.MalformedParameterizedTypeException
>>>> at
>>>> sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl.validateConstructorArguments(ParameterizedTypeImpl.java:42)
>>>> at
>>>> sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl.<init>(ParameterizedTypeImpl.java:35)
>>>> at
>>>> sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl.make(ParameterizedTypeImpl.java:77)
>>>> at
>>>> sun.reflect.generics.factory.CoreReflectionFactory.makeParameterizedType(CoreReflectionFactory.java:86)
>>>> at
>>>> sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:122)
>>>> at
>>>> sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:31)
>>>> at
>>>> sun.reflect.generics.repository.ClassRepository.getSuperInterfaces(ClassRepository.java:82)
>>>> at java.lang.Class.getGenericInterfaces(Class.java:794)
>>>> at
>>>> org.springframework.core.GenericTypeResolver.getTypeVariableMap(GenericTypeResolver.java:231)
>>>> at
>>>> org.springframework.core.GenericTypeResolver.resolveParameterType(GenericTypeResolver.java:81)
>>>> at
>>>> org.springframework.beans.GenericTypeAwarePropertyDescriptor.getWriteMethodParameter(GenericTypeAwarePropertyDescriptor.java:147)
>>>> at
>>>> org.springframework.beans.GenericTypeAwarePropertyDescriptor.getPropertyType(GenericTypeAwarePropertyDescriptor.java:129)
>>>> at
>>>> org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:154)
>>>> at
>>>> org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:1066)
>>>> ... 26 more
>>>>
>>>>
>>>
>>
> --
> You are currently subscribed to [email protected] as:
> [email protected]
>
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-dev
>
> --
> You are currently subscribed to [email protected] as: [email protected]
>
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-dev
>
>
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-dev<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>edu.csuchico.cas</groupId>
<artifactId>local-cas</artifactId>
<packaging>war</packaging>
<version>1.0-SNAPSHOT</version>
<build>
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<warName>cas</warName>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.jasig.cas</groupId>
<artifactId>cas-server-webapp</artifactId>
<version>${cas.version}</version>
<type>war</type>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.jasig.cas</groupId>
<artifactId>cas-server-support-ldap</artifactId>
<version>${cas.version}</version>
<type>jar</type>
<scope>runtime</scope>
</dependency>
</dependencies>
<properties>
<cas.version>3.4-RC1</cas.version>
</properties>
<repositories>
<repository>
<id>ja-sig</id>
<url>http://developer.ja-sig.org/maven2/</url>
</repository>
</repositories>
</project>