________________________________ From: Batni, Sourabh Sent: Tuesday, August 4, 2015 2:28 PM To: Misagh Moayyed; [email protected] Subject: RE: [cas-announce] CAS v.4.0.3 is released
Hi Misagh After I updated the cas.version in pom.xml to 4.0.3 from 4.0.1 the war file failed to deploy on tomcat and I was getting errors relating to characterEncodingFilter in filters.xml(WEB-INF/spring-configuration/filters.xml) on further looking into the file and comparing it with the version which was working(4.0.1) it looks like it is failing to load some properties (httprequest.web.encoding:UTF-8 and httprequest.web.encoding.force:true) in this file. Below are the 2 versions the first one is the one which has the problem (4.0.3) and the second one is from 4.0.1. I haven't changed anything else and use the same script to build both of them, <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:aop="http://www.springframework.org/schema/aop" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> <bean id="characterEncodingFilter" class="org.springframework.web.filter.CharacterEncodingFilter" p:encoding="${httprequest.web.encoding:UTF-8}" p:forceEncoding="${httprequest.web.encoding.force:true}" /> </beans> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:aop="http://www.springframework.org/schema/aop" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> <bean id="characterEncodingFilter" class="org.springframework.web.filter.CharacterEncodingFilter" p:encoding="UTF-8" p:forceEncoding="true" /> </beans> I am not sure what is going wrong with the build after I updated the cas.version ? Thanks Sourabh From: [email protected] [mailto:[email protected]] On Behalf Of Misagh Moayyed Sent: Friday, July 10, 2015 10:18 AM To: [email protected] Subject: [cas-announce] CAS v.4.0.3 is released CAS Community, CAS version 4.0.3 [1] has been released and should shortly make its way into Maven central repositories, if not already. We encourage you to integrate this release into your own CAS maven overlay environment and provide feedback. Upgrading to this release from a 4.0.x version should be totally painless. You should find the full changelog at the linked provided herein. A similar announcement will shortly be posted to the Apereo.org website as well. Misagh [1] https://github.com/Jasig/cas/releases/tag/v4.0.3 -- You are currently subscribed to [email protected]<mailto:[email protected]> as: [email protected]<mailto:[email protected]> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-announce -- 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-user
