|
Re: upgraded to 3.0.6 final, redirects stopped: msg#00156java.jasig.cas.user
Actually I think this most recent issue is being triggered by the "indexOf" in this line in login-webflow.xml on the server: <end-state id="redirect" view="externalRedirect:${ externalContext.requestParameterMap['service']}${requestScope.ticket == null ? '' : (externalContext.requestParameterMap['service'].indexOf('?') != -1 ? '&' : '?') + 'ticket=' + requestScope.ticket}" /> The exception I am getting is : 2006-12-21 18:05:31,480 DEBUG [org.acegisecurity.adapters.cas3.CasAuthenticationHandler] - <Authentication request for xxx successful.> 2006-12-21 18:05:31,481 INFO [org.jasig.cas.authentication.AuthenticationManagerImpl] - <AuthenticationHandler: org.acegisecurity.adapters.cas3.CasAuthenticationHandler successfully authenticated the user which provided the following credentials: xxx> 2006-12-21 18:05:31,482 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - <Granted service ticket [ST-5-3Yk5aOAAndRmvXSaRiF2JrPr2Ew4xBsiR6N-20] for service [ https://demo.xxx.com/ProjectBuilder/j_acegi_cas_security_check] for user [vstoessel]> [18:05:31.496] org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.binding._expression_.EvaluationException : _expression_ [EvaluationAttempt@99e98c _expression_ = (requestScope.ticket == null) ? "" : (((externalContext.requestParameterMap["service"].indexOf('?') != -1) ? '&' : '?') + "ticket=" + requestScope.ticket), target = [RequestControlContextImpl@b3f813 externalContext = [ServletExternalContext@63bb3e requestParameterMap = map['lt' -> '_cCDB5067F-28F5-085C-2A83-521065C289DA_kB1E777B5-5491-FE83-F0FE-18C17DC4F416', 'service' -> array<String>[' https://demo.xxx.com/ProjectBuilder/j_acegi_cas_security_check;jsessionid=abcp4lqggln11fk6TqN_q', 'https%3A%2F%2Fdemo.xxx.com%2FProjectBuilder%2Fj_acegi_cas_security_check'], 'username' -> 'xxx', '_eventId' -> 'submit', 'password' -> 'aaxis1']], requestScope = map['ticket' -> 'ST-5-3Yk5aOAAndRmvXSaRiF2JrPr2Ew4xBsiR6N-20', 'ticketGrantingTicketId' -> 'TGT-5-wljZ9sNRXyPauL1m2Q4tT9F7ORLFvuOIBFr-50'], attributes = map[[empty]], flowExecution = [ FlowExecutionImpl@9a1d9a flow = 'login-webflow', flowSessions = list[[FlowSessionImpl@d8fb9 flow = 'login-webflow', state = 'redirect', scope = map['credentials' -> vstoessel, 'currentFormObject' -> xxx], flashMap = map[' org.springframework.validation.BindException.credentials' -> org.springframework.validation.BindException: org.springframework.validation.BeanPropertyBindingResult: 0 errors, 'org.springframework.validation.BindException.currentFormObject ' -> org.springframework.validation.BindException: org.springframework.validation.BeanPropertyBindingResult: 0 errors], status = Active]]]], evaluationAttributes = map[[empty]]] failed - make sure the _expression_ is evaluatable on the target object; nested exception is ognl.MethodFailedException: Method "indexOf" failed for object [Ljava.lang.String;@4c6578 [java.lang.NoSuchMethodException: indexOf(java.lang.Character)] [18:05:31.496] Caused by: org.springframework.binding._expression_.EvaluationException : _expression_ [EvaluationAttempt@99e98c _expression_ = (requestScope.ticket == null) ? "" : (((externalContext.requestParameterMap["service"].indexOf('?') != -1) ? '&' : '?') + "ticket=" + requestScope.ticket), target = [RequestControlContextImpl@b3f813 externalContext = [ServletExternalContext@63bb3e requestParameterMap = map['lt' -> '_cCDB5067F-28F5-085C-2A83-521065C289DA_kB1E777B5-5491-FE83-F0FE-18C17DC4F416', 'service' -> array<String>[' https://demo.xxx.com/ProjectBuilder/j_acegi_cas_security_check;jsessionid=abcp4lqggln11fk6TqN_q', 'https%3A%2F%2Fdemo.xxx.com%2FProjectBuilder%2Fj_acegi_cas_security_check'], 'username' -> 'xxx', '_eventId' -> 'submit', 'password' -> 'xxx']], requestScope = map['ticket' -> 'ST-5-3Yk5aOAAndRmvXSaRiF2JrPr2Ew4xBsiR6N-20', 'ticketGrantingTicketId' -> 'TGT-5-wljZ9sNRXyPauL1m2Q4tT9F7ORLFvuOIBFr-50'], attributes = map[[empty]], flowExecution = [ FlowExecutionImpl@9a1d9a flow = 'login-webflow', flowSessions = list[[FlowSessionImpl@d8fb9 flow = 'login-webflow', state = 'redirect', scope = map['credentials' -> vstoessel, 'currentFormObject' -> vstoessel], flashMap = map[' org.springframework.validation.BindException.credentials' -> org.springframework.validation.BindException: org.springframework.validation.BeanPropertyBindingResult: 0 errors, 'org.springframework.validation.BindException.currentFormObject ' -> org.springframework.validation.BindException: org.springframework.validation.BeanPropertyBindingResult: 0 errors], status = Active]]]], evaluationAttributes = map[[empty]]] failed - make sure the _expression_ is evaluatable on the target object; nested exception is ognl.MethodFailedException: Method "indexOf" failed for object [Ljava.lang.String;@4c6578 [java.lang.NoSuchMethodException: indexOf(java.lang.Character)] Names and hosts have been changed to
On 12/21/06, Vinny <xaymaca-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> wrote:
I went ahead and upgraded my Resin server from 3.0.17 to 3.0.22 (been meaning to for a while now) -- Ghetto Java: http://www.ghettojava.com
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: upgraded to 3.0.6 final, redirects stopped, Vinny |
|---|---|
| Next by Date: | Ludovic Albert/INFORMATIQUE/PARYSEINE/INTRA est absent(e)., Ludovic . Albert-LJXR+mMEy2/mhTEjv2tBEw |
| Previous by Thread: | Re: upgraded to 3.0.6 final, redirects stopped, Vinny |
| Next by Thread: | Ludovic Albert/INFORMATIQUE/PARYSEINE/INTRA est absent(e)., Ludovic . Albert-LJXR+mMEy2/mhTEjv2tBEw |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |