When I put the web.xml in my overlay (exact copy of the one in cas-server-webapp) I get the following error when I try and log in:
[#|2011-06-20T07:16:07.061-0600|WARNING|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterpri
se.web|_ThreadID=27;_ThreadName=Thread-1;|StandardWrapperValve[default]: PWC1406: Servlet.service() for servl
et default threw exception
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'characterEncodingFilter' is d
efined
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultList
ableBeanFactory.java:509)
at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(Abstrac
tBeanFactory.java:1041)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:2
73)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193
)
Any ideas what would cause this?
Thanks,
Bryan
--
You are currently subscribed to cas-...@lists.jasig.org as: jasig-cas-user...@googlegroups.com
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
<filter> <filter-name>characterEncodingFilter</filter-name> <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class> </filter>
<listener> <listener-class> org.jasig.cas.web.init.SafeContextLoaderListener </listener-class> </listener>
<context-param> <param-name>contextConfigLocation</param-name> <param-value> /WEB-INF/spring-configuration/*.xml /WEB-INF/deployerConfigContext.xml </param-value> </context-param>
<bean id="characterEncodingFilter" class="org.springframework.web.filter.CharacterEncodingFilter" p:encoding="UTF-8" p:forceEncoding="true" />
When I put the web.xml in my overlay (exact copy of the one in cas-server-webapp) I get the following error when I try and log in:
[#|2011-06-20T07:16:07.061-0600|WARNING|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterpri
se.web|_ThreadID=27;_ThreadName=Thread-1;|StandardWrapperValve[default]: PWC1406: Servlet.service() for servl
et default threw exception
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'characterEncodingFilter' is d
efined
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultList
ableBeanFactory.java:509)
at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(Abstrac
tBeanFactory.java:1041)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:2
73)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193
)
Any ideas what would cause this?
Thanks,
Bryan
-- You are currently subscribed to cas-...@lists.jasig.org as: ape...@unicon.net
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
Thanks Andrew,
I have fixed the problem, but it doesn't really make any sense. I simply copied BOTH filters.xml and web.xml to my overlay and now everything works.
This has me really scratching my head, but I am not inclined to dig deeper as it works now.
Cheers,
Bryan
--
You are currently subscribed to cas-...@lists.jasig.org as: bryan....@utah.edu
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user