5 Replies Latest reply: Oct 5, 2009 3:58 PM by Clemens Stich RSS

com.sap.portal.navigation.portallauncher.anonymous: Access Denied exception

Clemens Stich
Currently Being Moderated

Hi,

 

There occurs a strange problem with anonymous users (UME-Login: Guest). When accessing a portal page with the URL XYZ sometimes there occurs an exception stating the following message:

"com.sapportals.portal.prt.runtime.PortalRuntimeException: Access is denied: com.sap.portal.navigation.portallauncher.anonymous - user: Guest, Guest"

 

The URL is however valid, because when I make a browser refresh (for the same URL), then it is correctly displayed. So it's just on the first call... and this is not really reproducable... this occurs only sometimes...

 

Such URLs are opened programmatically from a self-developed IView. The only thing that is done, before such an URL is opened, some session values are changed.

 

Maybe someone has a suggestion what could be done to solve this problem? Or just some suggestions how to further analyze this problem...

 

P.S. Here is also the complete Exception stacktrace:

com.sapportals.portal.prt.runtime.PortalRuntimeException: Access is denied: com.sap.portal.navigation.portallauncher.anonymous - user: Guest, Guest

     at com.sapportals.portal.prt.deployment.DeploymentManager.checkPermissions(DeploymentManager.java:1977)

     at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:251)

     at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:316)

     at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:387)

     at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:488)

     at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:607)

     at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)

     at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)

     at java.security.AccessController.doPrivileged(AccessController.java:246)

     at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)

     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

     at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)

     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

     at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)

     at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)

     at com.sap.portal.navigation.Gateway.service(Gateway.java:126)

     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)

     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)

     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)

     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)

     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)

     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)

     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)

     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)

     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

     at java.security.AccessController.doPrivileged(AccessController.java:219)

     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

Actions