Again, sorry for the reposting, but the situation is even simpler. I
have eliminated Guice from the equation, but I am still getting the same
problem.
I have downloaded cas-client-3.2.0-release onto a RHEL5 box, and I have
tomcat7 installed. Here is my web.xml file
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app id="WebApp_ID" version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>Map Up Submission App</display-name>
<filter>
<filter-name>CAS Authentication Filter</filter-name>
<filter-class>org.jasig.cas.client.authentication.AuthenticationFilter</filter-class>
<init-param>
<param-name>casServerLoginUrl</param-name>
<param-value>https://auth-test.berkeley.edu/cas/login</param-value>
</init-param>
<init-param>
<param-name>serverName</param-name>
<param-value>linuxdev.lib.berkeley.edu:7654</param-value>
</init-param>
</filter>
<filter>
<filter-name>Ticket Validation Filter</filter-name>
<filter-class>org.jasig.cas.client.validation.Cas20ProxyReceivingTicketValidationFilter</filter-class>
<init-param>
<param-name>casServerUrlPrefix</param-name>
<param-value>https://auth-test.berkeley.edu/cas</param-value>
</init-param>
<init-param>
<param-name>serverName</param-name>
<param-value>linuxdev.lib.berkeley.edu:7654</param-value>
</init-param>
</filter>
<filter>
<filter-name>Http Servlet Request Wrapper Filter</filter-name>
<filter-class>org.jasig.cas.client.util.HttpServletRequestWrapperFilter</filter-class>
</filter>
<filter>
<filter-name>Assertion Thread Local Filter</filter-name>
<filter-class>org.jasig.cas.client.util.AssertionThreadLocalFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>CAS Authentication Filter</filter-name>
<url-pattern>/in/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>Ticket Validation Filter</filter-name>
<url-pattern>/in/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>Http Servlet Request Wrapper Filter</filter-name>
<url-pattern>/in/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>Assertion Thread Local Filter</filter-name>
<url-pattern>/in/*</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>Velocity Servlet</servlet-name>
<servlet-class>org.apache.velocity.tools.view.VelocityViewServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>Gis User Form</servlet-name>
<servlet-class>edu.berkeley.library.mapup.servlets.GisRegisterServlet</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet>
<servlet-name>Contributor Dashboard</servlet-name>
<servlet-class>edu.berkeley.library.mapup.servlets.ContributorDashboardServlet</servlet-class>
<load-on-startup>3</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Velocity Servlet</servlet-name>
<url-pattern>*.vm</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Gis User Form</servlet-name>
<url-pattern>/in/gisuserform</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Contributor Dashboard</servlet-name>
<url-pattern>/in/contributorDashboard</url-pattern>
</servlet-mapping>
<resource-ref>
<description>
Resource reference to a factory for java.sql.Connection
instances that may be used for talking to a particular
database that is configured in the Context
configuration for the web application.
</description>
<res-ref-name>
jdbc/mapupdb
</res-ref-name>
<res-type>
javax.sql.DataSource
</res-type>
<res-auth>
Container
</res-auth>
</resource-ref>
</web-app>
When I comment out the CAS filters everything works, when I put it in,
the underlying
servlet is not entered and the browser receives some control characters
in lieu of
a page.
Any help would be appreciated;
Garey Mills
--
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