Skip to Main Content

Java Development Tools

Request context path for portlet has wrong port number

779711Jun 16 2010 — edited Jun 17 2010
I have a JSF application deployed as a portlet on the WLS_Portlet domain with port 8889. The portlet is being consumed in WebCenter Spaces, which lives in the WLS_Spaces domain with port 8888.

In my code, I am trying to get the request context path:


I expect this to return http://host:8889/contextroot (where I am able to access my app resources). Instead, it is returning http://host:8888/contextroot.

Any ideas why this is happening?

Edited by: user9171296 on Jun 16, 2010 10:32 AM
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 15 2010
Added on Jun 16 2010