cancel
Showing results for 
Search instead for 
Did you mean: 

Portal Runtime Error

Former Member
0 Kudos

Hi all,

I need your help to resolve this issue ASAP. Hope I can get some light on this one since I'm pretty new on this one.

I've deployed a J2EE apps into the portal, using deploy tool. It shows up alright when accessed through: http://<server.host>:50000/<apps.name>;

Now, I want to show it inside the portal as worksets & pages. I've created systems -> iviews -> pages -> worksets -> and later assigned them in a role. And I assigned a user to that role. i.e: UserA.

When I logged in as UserA, I see the <apps.name> tag based on what I've set as an entry point. Now when I check on the content, it gave me these errors:

! Portal Runtime Error

An exception occurred while processing a request for:

iView : N/A

Component Name : N/A

Unable to lookup System '<system.alias>'. Please check the system object and the alias..

See the details for the exception ID in the log file

com.sap.portal.appintegrator.sap.Generic::Generic/SSOLayer

(and so on...its properties)

I've previewed each page & worksets (as administrator) and it's shows just fine.

I'm clueless after trying a tiny bit of clues from google and changing here and there.

Hope I can get a help/hint from you since I'm practically a newbie.

Thank you very much in advance.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi,

Your IView uses system object to access some backend datas.

So the newly created user, does not have access to this system object.

So check this to know how to give permissions to your new user to this system:

http://help.sap.com/saphelp_nw70/helpdata/EN/ba/18df3d2cae445ae10000000a11405a/frameset.htm

So also if User Mapping is defined properly:

http://help.sap.com/saphelp_nw70/helpdata/EN/f8/3b514ca29011d5bdeb006094191908/frameset.htm

http://help.sap.com/saphelp_nw70/helpdata/EN/0d/fd76a0c4e0834ba1a17698d0b5553d/frameset.htm

Regards,

Praveen Gudapati

Former Member
0 Kudos

Hi Praveen,

You've saved my day....

Once I tried assigning "super admin role" to UserA, the iView appeared just like I want it to. Thanks a lot.

Can I make the "No user mapping defined for system, and then it asks for User ID & Password to be filled with anything" gone? I know I'm supposed to do the user mapping thing...this is one of the most confusing thing for me.

One more thing, how can I create user/group that can have access to back-end data of a specific system?

Thanks a lot.

Regards,

Charles A.

0 Kudos

Hi,

Define the Logon Method of your System to be UIDPW and User Mapping Type to be 'user'.

http://help.sap.com/saphelp_nw04/helpdata/en/59/12f73b7803b009e10000000a114084/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/0d/fd76a0c4e0834ba1a17698d0b5553d/frameset.htm

Now you can assign your user EU_ROLE, by assigning this role, users have personalize link in portal masthead.

There you will find User Mapping, for your system. If the user does not define it there, then a logon screen popsup. If User Mapping defined, then the backend does not require login.

http://help.sap.com/saphelp_nw04/helpdata/en/46/a1be96f7bf407db6ac78e343b8cef1/frameset.htm

Regards,

Praveen Gudapati

Former Member
0 Kudos

Hi Praveen,

Thanks for your reply.

I've assigned the role to the System folder I made and checked it as end user. But adding the role to the system folder's permission seems to break the inheritance from the parent folder. I only changed the permission on the system I've made, not in the root folder.

I've assigned the eu_role as well, but when I click on the personalize link on the masthead it gave me another portal run time error. Yesterday I can click on the personalize link and it worked just fine.

I've tried looking in the user administration -> roles section and I have no idea what to do since I'm afraid that trying another role to another groups/users might cause further damage and unable to revert role to its initial state.

I've seen [another thread|; in this forum about the same error, but that don't seem to work for my case. I got the exact same error. Tried assigning admin role to the user and personalize did work. I'm afraid that somehow eu_role role has been corrupt or something because another user assigned as eu_role also unable to personalize his/her content.

Here's the stack trace

com.sapportals.portal.prt.runtime.PortalRuntimeException: Access is denied: pcd:portal_content/every_user/general/personalize_portal - user: Aries, Charles

at com.sapportals.portal.prt.deployment.DeploymentManager.getPropertyContentProvider(DeploymentManager.java:1936)

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

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

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

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

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:545)

at java.security.AccessController.doPrivileged(Native Method)

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.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)

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

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

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

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

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

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

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

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(Native Method)

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

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

Caused by: com.sapportals.portal.pcd.gl.PermissionControlException: Access denied (Object: portal_content/every_user/general/personalize_portal)

at com.sapportals.portal.pcd.gl.PcdFilterContext.filterLookup(PcdFilterContext.java:416)

at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1095)

at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1101)

at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1101)

at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1101)

at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookupLink(PcdProxyContext.java:1197)

at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookup(PcdProxyContext.java:1144)

at com.sapportals.portal.pcd.gl.PcdProxyContext.lookup(PcdProxyContext.java:918)

at com.sapportals.portal.pcd.gl.PcdGlContext.lookup(PcdGlContext.java:68)

at com.sapportals.portal.pcd.gl.PcdURLContext.lookup(PcdURLContext.java:238)

at javax.naming.InitialContext.lookup(InitialContext.java:347)

at com.sapportals.portal.prt.deployment.DeploymentManager.getPropertyContentProvider(DeploymentManager.java:1923)

... 26 more

Regards,

Charles A.

0 Kudos

Hi,

There is a PermissionControlException while making PCD Lookup. So this is clearly a permissions problem.

Go to Portal Content and navigate to Portal Content --> Portal Users folder.

Open permissions of this folder and set Everyone group Read and check EndUser permissions.

Also set these permissions to all the objects below the folder Portal Users.

You can also press Reset Child Permissions button, so that all the permissions are inherited to children.

So at the end the page Portal Content --> Portal Users --> Standard Portal Users --> Personalize Portal

Should have permissions to Everyone group Read and EndUser permissions checked.

Regards,

Praveen Gudapati

Former Member
0 Kudos

Hi Praveen,

That solved it. I've tried clicking "Reset Child Permission" button before my last post but that don't work. Or maybe I clicked it on the wrong folder. I thought that all sub folders of Portal Content inherits permission from Portal Content folder. That leaves only super_admin_role in all sub folders.

Thanks a lot for bearing with me. I will definitely post here if I do find another problems I can't figure out after many hours of trying.

Thanks again.

Regards,

Charles A.

Answers (0)