on 10-22-2010 3:40 PM
Hi,
We are using Siteminder to access the portal. So while accessing the portal we are using a diiferent url and once the user gets authenticated he can login to the portal.
Now while using siteminder url, none of the portal/KM icons are displaing and showing a X. While accessing the portal using normal portal url all the icons are displaying fine.
If we check the property of the icons while accessing through normal portal url in which the icons are dsplaying, its showing http://<server>:<port>/irj/go/km/docs/etc/public/mimes/images/standard_folder.gif
But while accessing using siteminder url in which the icons are not displaying, its showing
http://<siteminder url>/irj/go/km/docs/etc/public/mimes/images/s_s_ledr.gif
Any suggestion what might be the reason. What needs to be done for icons while accessing using a different url.
Regards
Deb
Hi Debashish,
The problem could be to do with the relative URLs specified in the htmls or documents under KM. Usually, we specify only the relative path of the images in KM which starts with '/irj/go/km...'. The advantage of this is that when we transport these files from one environment to the other we do not have to change the path everytime and is also a good practice.
In your case, since the URL is <siteminder.com>, the KM is trying to resolve the path using the relative url and it resolves to siteminder.com/irj/go/km.... which is not where the KM resources (images) are stored. They are infact stored under <portal>/irj/km/go. I suggest that you specify the absolute URL for the KM images and retry.
Regards,
Prathamesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Deb,
You can try changing the following properties to absolute URLs in Sys Admin->Sys Config->Content Management:
1) File Image Path property in the Resource Renderer Settings(AdminExplorer or other Explorers too).
2) Image Path in the URL Generator Service (Global Services)(Although not many images respect the Image Path property)
Regards,
Prathamesh
Hi Prathamesh,
Can you explain in details what needs to be done and where. I have already tried with the URL Generator service and specified the portal host name against the property Host Name, but its not taking effect.
Actaully none of the KM standar icons and also the custom KM iviews are working when accessing the EP using siteminder URL. All the icons and the KM iviews are trying to resolve the URL by appending the siteminder URL to it in place of of the actual portal hostname url.
Any suggestion.
Regards
Deb
Hi debasish,
Not sure but you can try with this solution. In URL generator of KM config, in host you can specify siteminder URL and in alternative host you specify your portal hostname i.e.
say your siteminder url is siteminderportal and your portal host is sapportal
Thus in URL config for host you specify http://siteminderportal and in alternative host you can specify http://sapportal:portnumber
Regards,
Jigar Oza
Hi Jigar,
If we specify the siteminder url against the hostname under URL Generator Srevice, then portal shld append the siteminder url to resolve the url of the KM icons and iviews which should NOT be the case. It should append the portal url while resolving the full url of the KM icons and iviews.
Also it seems the KM icons and the iviews are NOT using URL generator service to resolve the full url. I mentioned some junk host name under URL generator service, but found out that it has no effect while resolving the url of the KM iviews and icons.
Regards
Deb
Edited by: Debasish Sarkar on Oct 24, 2010 4:48 PM
I haven't looked at KM for a while, but you might want to make sure the KM folders have anonymous read access...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Below is the error messages that is geting logged in the default trace file.
while establishing WDContext - com.sapportals.wcm.repository.ResourceNotFoundException: request uri does not map; servlet URI computed to be <http://<siteminder Url>/irj/go/km/docs>, request URI was <//irj/go/km/docs/etc/public/mimes/images/standard_folder.gif>
at com.sapportals.wcm.repository.ResourceException.fillInStackTrace(ResourceException.java:399)
at java.lang.Throwable.<init>(Throwable.java:56)
at java.lang.Throwable.<init>(Throwable.java:67)
at com.sapportals.wcm.WcmException.<init>(WcmException.java:59)
at com.sapportals.wcm.util.content.ContentException.<init>(ContentException.java:38)
at com.sapportals.wcm.repository.ResourceException.<init>(ResourceException.java:238)
at com.sapportals.wcm.repository.ResourceNotFoundException.<init>(ResourceNotFoundException.java:36)
at com.sapportals.wcm.protocol.webdav.server.WDContext.<init>(WDContext.java:283)
at com.sapportals.wcm.protocol.webdav.server.WDServlet.service(WDServlet.java:363)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:333)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sapportals.portal.prt.core.broker.ServletComponentItem$ServletWrapperComponent.doContent(ServletComponentItem.java:110)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:235)
at com.sapportals.wcm.portal.connection.KmConnection.handleRequest(KmConnection.java:52)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:541)
at java.security.AccessController.doPrivileged(AccessController.java:246)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:430)
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:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
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:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Any suggestions what might be the issue?
Regards
Deb
Hi Deb,
It clearly suggests that the portal is computing the absolute path based on the relative path of the image with the hostname in the URL. The 'Host' property in the URL generator service is ignored. What I suggested in the previous post was to edit the property Folder Image Path and File Image Path in the AdminExplorer Layout set and specify the complete hostname there. I am not sure if this would work but still we can give it a shot. Another suggestion is , if the image is missing on all KM iViews(which I strongly suspect is the case), to create a custom layout set and modify the properties I specified above and then apply this layout set to a KM navigation iView and instead of editing the AdminLayout Set.
Regards,
Prathamesh
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.