Unable to switch sites on WebSphere (Doc ID 2031752.1)

Last updated on OCTOBER 31, 2016

Applies to:

Oracle WebCenter Sites - Version 11.1.1.8.0 and later
Information in this document applies to any platform.

Symptoms

The Sites selector dropdown on the top right does not allow the user to switch sites. At login we are taken to the last site we accessed. However if we try and switch to another site it does not work and remains on the current site.

The following error is seen in the Sites log file:

 [ERROR] [WebContainer : 12] [fatwire.logging.cs.jsp] Failure executing JSPfatwire/wem/ui/addUserPreference Exception calling include: page:/jsp/cs_deployed/fatwire/wem/ui/addUserPreference.jsp
java.io.UnsupportedEncodingException tossed:UTF-8;PostOnly=true
 [ERROR] [WebContainer : 12] [fatwire.logging.cs.request] COM.FutureTense.Common.ContentServerException: Unable to evaluate element fatwire/wem/ui/addUserPreference Error code:UNABLE TO EVAL ELEMENT
[WARN ] [WebContainer : 3] [cas.client.util.CommonUtils] safeGetParameter called on a POST HttpServletRequest for LogoutRequest. Cannot complete check safely. Reverting to standard behavior for this Parameter
[fatwire.logging.cs.request] Exception initializing the output stream
java.io.UnsupportedEncodingException: UTF-8;PostOnly=true
  at sun.nio.cs.StreamEncoder.forOutputStreamWriter(StreamEncoder.java:83)
  at java.io.OutputStreamWriter.(OutputStreamWriter.java:91)
  at com.ibm.ws.webcontainer.srt.SRTServletResponse.getWriter(SRTServletResponse.java:772)
  at COM.FutureTense.Servlet.ServletRequest.getOutput(ServletRequest.java:732)
  at COM.FutureTense.Servlet.FRequestObj.initContext(FRequestObj.java:318)
  at COM.FutureTense.Servlet.FRequestObj.include(FRequestObj.java:1420)
  at COM.FutureTense.Servlet.JSPServices.runJSP(JSPServices.java:111)
  at COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager.runJSP(FILESYSTEMJSPManager.java:463)
  at COM.FutureTense.Servlet.JSPServices.runJSPObject(JSPServices.java:50)
  at COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager$JSPDataFile.run(FILESYSTEMJSPManager.java:190)
  at COM.FutureTense.Common.ContentServer.jspExecute(ContentServer.java:3036)
  at COM.FutureTense.Common.ContentServer.evalTemplate(ContentServer.java:2630)
  at COM.FutureTense.Common.ContentServer.generatePage(ContentServer.java:1649)
  at COM.FutureTense.Common.ContentServer.evalPage(ContentServer.java:1278)
  at COM.FutureTense.Common.ContentServer.execute(ContentServer.java:467)
  at COM.FutureTense.Servlet.FTServlet.execute(FTServlet.java:129)
  at COM.FutureTense.Servlet.FTServlet.doGet(FTServlet.java:53)
  ...

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