Nothing works after changing the password on the DefaultReader user (Doc ID 1565275.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle WebCenter Sites - Version 6.3.0 and later
Information in this document applies to any platform.

Symptoms

For security I changed the default password on the DefaultReader user, but now I cannot access any pages on the site or reach the login page.

When logging in the following error is shown in the browser

 

HTTP Status 500 - Request processing failed; nested exception is org.springframework.webflow.engine.ActionExecutionException: Exception thrown executing [AnnotatedAction@19fbd7c targetAction = org.jasig.cas.web.flow.AuthenticationViaFormAction@1005abc, attributes = map['method' -> 'submit']] in state 'submit' of flow 'login-webflow' -- action execution attributes were 'map['method' -> 'submit']'; nested exception is java.lang.RuntimeException: java.io.IOException: Server returned HTTP response code: 401 for URL: http://localhost:8080/cs/ContentServer?pagename=fatwire/wem/sso/ssoLogin

 

exception

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.webflow.engine.ActionExecutionException: Exception thrown executing [AnnotatedAction@19fbd7c targetAction = org.jasig.cas.web.flow.AuthenticationViaFormAction@1005abc, attributes = map['method' -> 'submit']] in state 'submit' of flow 'login-webflow' -- action execution attributes were 'map['method' -> 'submit']'; nested exception is java.lang.RuntimeException: java.io.IOException: Server returned HTTP response code: 401 for URL: http://localhost:8080/cs/ContentServer?pagename=fatwire/wem/sso/ssoLogin
    org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:583)
    org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    org.jasig.cas.web.init.SafeDispatcherServlet.service(SafeDispatcherServlet.java:115)
    org.inspektr.common.web.ClientInfoThreadLocalFilter.doFilterInternal(ClientInfoThreadLocalFilter.java:48)
    org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
    org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    com.fatwire.cas.web.CASXSSFilter.doFilter(CASXSSFilter.java:94)

root cause

org.springframework.webflow.engine.ActionExecutionException: Exception thrown executing [AnnotatedAction@19fbd7c targetAction = org.jasig.cas.web.flow.AuthenticationViaFormAction@1005abc, attributes = map['method' -> 'submit']] in state 'submit' of flow 'login-webflow' -- action execution attributes were 'map['method' -> 'submit']'; nested exception is java.lang.RuntimeException: java.io.IOException: Server returned HTTP response code: 401 for URL: http://localhost:8080/cs/ContentServer?pagename=fatwire/wem/sso/ssoLogin
    org.springframework.webflow.engine.ActionExecutor.execute(ActionExecutor.java:64)
    org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:156)
    org.springframework.webflow.engine.State.enter(State.java:191)
    org.springframework.webflow.engine.Transition.execute(Transition.java:212)
    org.springframework.webflow.engine.TransitionableState.onEvent(TransitionableState.java:107)
    org.springframework.webflow.engine.Flow.onEvent(Flow.java:534)
    org.springframework.webflow.engine.impl.RequestControlContextImpl.signalEvent(RequestControlContextImpl.java:205)

.....

root cause

java.lang.RuntimeException: java.io.IOException: Server returned HTTP response code: 401 for URL: http://localhost:8080/cs/ContentServer?pagename=fatwire/wem/sso/ssoLogin
    com.fatwire.security.common.SecurityRemotePost.securePost(SecurityRemotePost.java:102)
    com.fatwire.wem.sso.cas.plugin.CSAuthenticationHandler.authenticateUsernamePasswordInternal(CSAuthenticationHandler.java:106)
    org.jasig.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler.doAuthentication(AbstractUsernamePasswordAuthenticationHandler.java:56)
    org.jasig.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler.authenticate(AbstractPreAndPostProcessingAuthenticationHandler.java:71)
    org.jasig.cas.authentication.AuthenticationManagerImpl.authenticate(AuthenticationManagerImpl.java:88)
    org.jasig.cas.CentralAuthenticationServiceImpl.createTicketGrantingTicket(CentralAuthenticationServiceImpl.java:417)
    org.jasig.cas.web.flow.AuthenticationViaFormAction.submit(AuthenticationViaFormAction.java:107)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    org.springframework.webflow.util.DispatchMethodInvoker.invoke(DispatchMethodInvoker.java:99)
    org.springframework.webflow.action.MultiAction.doExecute(MultiAction.java:133)
    org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:192)

.....

root cause

java.io.IOException: Server returned HTTP response code: 401 for URL: http://localhost:8080/cs/ContentServer?pagename=fatwire/wem/sso/ssoLogin
    sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1491)
    java.security.AccessController.doPrivileged(Native Method)
    sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1485)
    sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1139)
    com.fatwire.security.common.SecurityRemotePost.securePost(SecurityRemotePost.java:80)
    com.fatwire.wem.sso.cas.plugin.CSAuthenticationHandler.authenticateUsernamePasswordInternal(CSAuthenticationHandler.java:106)
    org.jasig.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler.doAuthentication(AbstractUsernamePasswordAuthenticationHandler.java:56)

.....

root cause

java.io.IOException: Server returned HTTP response code: 401 for URL: http://localhost:8080/cs/ContentServer?pagename=fatwire/wem/sso/ssoLogin
    sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1436)
    java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379)
    com.fatwire.security.common.SecurityRemotePost.securePost(SecurityRemotePost.java:79)
    com.fatwire.wem.sso.cas.plugin.CSAuthenticationHandler.authenticateUsernamePasswordInternal(CSAuthenticationHandler.java:106)
    org.jasig.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler.doAuthentication(AbstractUsernamePasswordAuthenticationHandler.java:56)
    org.jasig.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler.authenticate(AbstractPreAndPostProcessingAuthenticationHandler.java:71)
    org.jasig.cas.authentication.AuthenticationManagerImpl.authenticate(AuthenticationManagerImpl.java:88)
    org.jasig.cas.CentralAuthenticationServiceImpl.createTicketGrantingTicket(CentralAuthenticationServiceImpl.java:417)
    org.jasig.cas.web.flow.AuthenticationViaFormAction.submit(AuthenticationViaFormAction.java:107)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 

Additionally the following is seen in the sites.log file:

[2015-06-10 07:19:19,161 PDT] [ERROR] [http-bio-8080-exec-9] [fatwire.logging.cs.request] COM.FutureTense.Common.ContentServerException: ContentServerException with internal exception java.lang.Exception: Unknown  username/password. Error code:LOGIN FAILED
COM.FutureTense.Common.ContentServerException: ContentServerException with internal exception java.lang.Exception: Unknown  username/password. Error code:LOGIN FAILED
        at COM.FutureTense.Common.ContentServer._doCheckLogin(ContentServer.java:594)
        at COM.FutureTense.Common.ContentServer.execute(ContentServer.java:458)
        at COM.FutureTense.Servlet.FTServlet.execute(FTServlet.java:129)
        at COM.FutureTense.Servlet.FTServlet.doPost(FTServlet.java:61)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at com.fatwire.auth.RequestAuthenticationFilter.doFilter(RequestAuthenticationFilter.java:218)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at COM.FutureTense.Servlet.URLRewriteFilter.doFilter(URLRewriteFilter.java:81)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:719)
        at com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at com.fatwire.cs.ui.framework.UIFilter.doFilter(UIFilter.java:108)
        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.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
        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$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.Exception: Unknown  username/password.
        at COM.FutureTense.Common.ftAppLogic.validUser(ftAppLogic.java:3131)
        at COM.FutureTense.Common.ftAppLogic.checkLogin(ftAppLogic.java:3271)
        at COM.FutureTense.Common.ContentServer._doCheckLogin(ContentServer.java:590)
        ... 34 more

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms