Edit your cas.properties file to ensure that cas host points to your domain. Reading that exception is pointed to "login.test-domain.edu"
If after login you have problems with session lossing... review all view jsp and remove @page "session=true" attribute. Also, in cas-servlet.xml, remove or comment the TerminateWebSessionListener reference from SWF configuration. 2013/8/2 Brian Gold <[email protected]> > Hi all,**** > > ** ** > > I’ve recently set up my first cas server. I’ve got it successfully authing > against my openldap server, but I can’t seem to access the service > management system. I’ve tried with both the default in-memory managed list > of static users and by changing over to an ldap-server managed list of > users (per https://wiki.jasig.org/display/CASUM/Configuring). I appear to > be authenticating correctly, but I’m getting the same error regardless. I’m > fairly new to both cas and java in general, so any advice would be > appreciated.**** > > ** ** > > OS: Centos 6.4**** > > Tomcat 7.0.42**** > > CAS 3.5.2**** > > Proxying through AJP**** > > ProxyPass /cas ajp://localhost:8009/cas**** > > ProxyPassReverse /cas ajp://localhost:8009/cas**** > > ** ** > > ** ** > > > -------------------------------------------------------------------------------------------- > **** > > CAS.log**** > > ** ** > > ** ** > > 2013-08-02 10:01:59,198 INFO > [org.jasig.cas.CentralAuthenticationServiceImpl] - Granted service ticket > [ST-1-gCVIoSbLKNMpLodWbJ1d-cas01] for service [https://login.test-domain** > ** > > .edu/cas/services/j_acegi_cas_security_check] for user [testcasadmin]**** > > 2013-08-02 10:01:59,204 INFO > [com.github.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - Audit > trail record BEGIN**** > > =============================================================**** > > WHO: testcasadmin**** > > WHAT: ST-1-gCVIoSbLKNMpLodWbJ1d-cas01 for > https://login.test-domain.edu/cas/services/j_acegi_cas_security_check**** > > ACTION: SERVICE_TICKET_CREATED**** > > APPLICATION: CAS**** > > WHEN: Fri Aug 02 10:01:59 EDT 2013**** > > CLIENT IP ADDRESS: 10.30.2.44**** > > SERVER IP ADDRESS: login.test-domain.edu**** > > =============================================================**** > > ** ** > > ** ** > > 2013-08-02 10:01:59,757 INFO > [com.github.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - Audit > trail record BEGIN**** > > =============================================================**** > > WHO: audit:unknown**** > > WHAT: ST-1-gCVIoSbLKNMpLodWbJ1d-cas01**** > > ACTION: SERVICE_TICKET_VALIDATED**** > > APPLICATION: CAS**** > > WHEN: Fri Aug 02 10:01:59 EDT 2013**** > > CLIENT IP ADDRESS: 192.168.1.80**** > > SERVER IP ADDRESS: login.test-domain.edu**** > > =============================================================**** > > ** ** > > ** ** > > 2013-08-02 10:02:00,328 ERROR [org.jasig.cas.client.util.CommonUtils] - > Server returned HTTP response code: 500 for URL: > https://login.test-domain.edu/cas/serviceValidate?tic**** > > ket=ST-1-gCVIoSbLKNMpLodWbJ1d-cas01&service=https%3A%2F% > 2Flogin.test-domain.edu%2Fcas%2Fservices%2Fj_acegi_cas_security_check**** > > java.io.IOException: Server returned HTTP response code: 500 for URL: > https://login.test-domain.edu/cas/serviceValidate?ticket=ST-1-gCVIoSbLKNMpLodWbJ1d-cas01&service=https%3 > **** > > A%2F%2Flogin.test-domain.edu%2Fcas%2Fservices%2Fj_acegi_cas_security_check > **** > > at > sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1625) > **** > > at > sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254) > **** > > at > org.jasig.cas.client.util.CommonUtils.getResponseFromServer(CommonUtils.java:326) > **** > > at > org.jasig.cas.client.util.CommonUtils.getResponseFromServer(CommonUtils.java:305) > **** > > at > org.jasig.cas.client.validation.AbstractCasProtocolUrlBasedTicketValidator.retrieveResponseFromServer(AbstractCasProtocolUrlBasedTicketValidator.java:50) > **** > > at > org.jasig.cas.client.validation.AbstractUrlBasedTicketValidator.validate(AbstractUrlBasedTicketValidator.java:207) > **** > > at > org.springframework.security.cas.authentication.CasAuthenticationProvider.authenticateNow(CasAuthenticationProvider.java:140) > **** > > at > org.springframework.security.cas.authentication.CasAuthenticationProvider.authenticate(CasAuthenticationProvider.java:126) > **** > > at > org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:156) > **** > > at > org.springframework.security.cas.web.CasAuthenticationFilter.attemptAuthentication(CasAuthenticationFilter.java:242) > **** > > at > org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:194) > **** > > at > org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) > **** > > at > org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105) > **** > > at > org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) > **** > > at > org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) > **** > > at > org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) > **** > > at > org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173) > **** > > at > org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) > **** > > at > org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) > **** > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) > **** > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > **** > > at > com.github.inspektr.common.web.ClientInfoThreadLocalFilter.doFilter(ClientInfoThreadLocalFilter.java:63) > **** > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) > **** > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > **** > > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) > **** > > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) > **** > > at > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) > **** > > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) > **** > > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) > **** > > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)* > *** > > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) > **** > > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) > **** > > at > org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200)**** > > at > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) > **** > > at > org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) > **** > > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > **** > > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > **** > > at java.lang.Thread.run(Thread.java:724)**** > > -- > 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 > > -- 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
