SAP Knowledge Base Article - Preview

2315411 - Failed to show error page for session expiration

Symptom

The system defaultTrace shows many errors related to Failed to show error page for session expiration.

Example stacktrace with exception:

[...]
Failed to show error page for session expiration. RID=<...>
[EXCEPTION]
[...]

java.lang.SecurityException: User '<User ID>' is not authorized.
at com.sap.engine.interfaces.security.SecurityThreadContext.checkAuthorized(SecurityThreadContext.java:150)
at com.sap.engine.interfaces.security.SecurityThreadContext.checkAuthorized(SecurityThreadContext.java:132)
at com.sap.engine.services.adminadapter.server.AuthorizationChecker.checkAuthorization(AuthorizationChecker.java:70)
at com.sap.engine.services.adminadapter.impl.RemoteAdminInterfaceImpl.getConvenienceEngineAdministrator(RemoteAdminInterfaceImpl.java:160)
at com.sap.engine.services.webdynpro.WebDynproRuntimeServiceImpl.isDetailedErrorPageActive(WebDynproRuntimeServiceImpl.java:847)
at com.sap.tc.webdynpro.serverimpl.wdc.admin.ProductInfo.isDetailedErrorPageActive(ProductInfo.java:77)
at com.sap.tc.webdynpro.services.sal.admin.api.WDProductInfo.isDetailedErrorPageActive(WDProductInfo.java:237)
at com.sap.tc.webdynpro.services.exceptions.analyzer.ExceptionInfo.showInternalDetailsAllowed(ExceptionInfo.java:347)
at com.sap.tc.webdynpro.clientimpl.html.HtmlErrorPageRenderer.renderPageContent(HtmlErrorPageRenderer.java:373)
at com.sap.tc.webdynpro.clientimpl.html.HtmlErrorPageRenderer.renderErrorPageContent(HtmlErrorPageRenderer.java:312)
at com.sap.tc.webdynpro.clientimpl.html.HtmlErrorPageRenderer.renderErrorPageContent(HtmlErrorPageRenderer.java:293)
at com.sap.tc.webdynpro.clientimpl.ajax.AjaxUpdateClientPeer.renderErrorPage(AjaxUpdateClientPeer.java:193)
at com.sap.tc.webdynpro.clientimpl.http.client.AbstractUpdateClientPeer.sendErrorPage(AbstractUpdateClientPeer.java:137)
at com.sap.tc.webdynpro.clientimpl.http.client.AbstractHttpClient.sendError(AbstractHttpClient.java:296)
at com.sap.tc.webdynpro.clientserver.session.RequestManager$ExceptionHandler.sendErrorPage(RequestManager.java:1525)
at com.sap.tc.webdynpro.clientserver.session.RequestManager$ExceptionHandler.handleExpiration(RequestManager.java:1300)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:347)
at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)
at com.sap.tc.webdynpro.serverimpl.wdc.DispatcherServlet.doContent(DispatcherServlet.java:101)
at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doPost(AbstractDispatcherServlet.java:62)
[...]


Read more...

Environment

SAP NetWeaver Application Server Java

Product

SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP enhancement package 1 for SAP NetWeaver 7.3

Keywords

Failed, show, error, page, session, expiration, java.lang.SecurityException: User not authorized, Guest user, no permission, anonymous, anonymous user, j2eeguest, User 'Guest' is not authorized, User 'J2EE_Guest' is not authorized, not authorized, is not authorized, 'J2EE_Guest' is not authorized, 'Guest' is not authorized , KBA , BC-WD-JAV , WebDynpro Java , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.