Cannot Use SSXA <wcm:url> Tag To Link To Another Site (Doc ID 1378796.1)

Last updated on SEPTEMBER 16, 2015

Applies to:

Oracle WebCenter Content - Version 11.1.1.4.0 and later
Information in this document applies to any platform.

Symptoms

Using wcm:url tag, unable to link to a site that is different from the one in which the code is written.
eg:

<wcm:url var="site2URL" type="node" url="8" siteID="Site2" />

 

<UrlInvoker> <handleResponse> Invalid site ID 'Site2'
oracle.stellent.wcm.server.request.RequestException: Invalid site ID 'Site2'
at oracle.stellent.wcm.server.request.logic.RequestLogic.setRequestSiteID(RequestLogic.java:79)
at oracle.stellent.wcm.server.request.logic.url.UrlLogic.getUrl(UrlLogic.java:146)
at oracle.stellent.wcm.server.request.logic.url.UrlHandler.handleLogicCommand(UrlHandler.java:39)
at oracle.stellent.wcm.server.request.logic.url.UrlHandler.handleLogicCommand(UrlHandler.java:22)
at oracle.stellent.wcm.server.request.impl.RequestLogicHandlerSupport.handleRequest(RequestLogicHandlerSupport.java:55)
at oracle.stellent.wcm.server.request.impl.RequestProcessorImpl._executeRequest(RequestProcessorImpl.java:260)
at oracle.stellent.wcm.server.request.impl.RequestProcessorImpl$1.processChain(RequestProcessorImpl.java:151)
at oracle.stellent.wcm.server.request.filters.SiteContextValidationFilter.processFilter(SiteContextValidationFilter.java:75)
at oracle.stellent.wcm.server.request.impl.RequestProcessorImpl$1.processChain(RequestProcessorImpl.java:147)
at oracle.stellent.wcm.server.request.impl.RequestProcessorImpl.executeRequest(RequestProcessorImpl.java:144)
at oracle.stellent.wcm.client.invokers.RequestInvoker.invokeRequest(RequestInvoker.java:143)
at oracle.stellent.wcm.javaee.taglib.BaseTag.doTag(BaseTag.java:127)

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