Attempts to access TM1 Contributor/TM1 Applications result in an error.
The planning service parameter was not specified or is not one of the configured locations
TM1 9.5.2, Cognos 10, IntegratedSecurityMode=5
Resolving the problem
Due to security requirements, starting with version 9.5.2 the location of permissible planning services must be entered into the planning.html file.
This is required to keep users from being directed to improper sites.
The following line in that file must be updated:
// Update the following to point to the location of the TM1 server running Contributor service(s)
var planningServices = http://localhost:9510;
Modify localhost:9510 to reflect the fully qualified domain name (FQDN) for the server name and port# where the TM1 Contributor/TM1 Applications service is installed in the environment (e.g Apache Tomcat, WAS cE or Cognos BI Apache):
var planningServices = http://machinename.domain.com:9510
NOTE: Do NOT add on "/pmpsvc/" to the end of the URL.
Once done, save the file, and try accessing Contributor again. It is not necessary to restart any services.
If that does not resolve it, the wrong machine name may be being used. The actual machine name used in the URL is defined in External Server URI in TM1 Application Server section of Cognos Configuration.
Alternatively to determine which machine name should go there, copy the URL that is in the browser when the error shows up (it will be a long one). Paste this URL into a text editor to look at it. Near the end of the URL there will be a "ps" followed by a machine name:port number. This is the machine name/port that should be in the planning.html file.
Here is a sample of what the URL may look like:http://machinename2.ibm.com/c10/bipoc/planning.html?cam_passport=MTsxMDE6NjNhZWViOTMtYTVmNS0zYjU2LWRkYjAtNGQxNjRmMWI3Y2JmOjI5ODM4MzY5Nzg7MDszOzA7&CRN=http%3A%2F%2Fdeveloper.cognos.com%2Fceba%2Fconstants%2FsystemOptionEnum%23accessibilityFeatures%3Dfalse%26listViewSeparator%3Dnone%26useAccessibilityFeatures%3Dfalse%26displayMode%3Dlist%26timeZoneID%3DEST%26showOptionSummary%3Dtrue%26columnsPerPage%3D3%26contentLocale%3Den-us%26showHiddenObjects%3Dfalse%26skin%3Dcorporate%26format%3DHTML%26automaticPageRefresh%3D30%26linesPerPage%3D99%26productLocale%3Den%26showWelcomePage%3Dtrue%26&ps=http%3a%2f%2fmachinename2.ibm.com%3a9510&pg=%2fapplications.jsp
This would be the important part of the URL to focus on (the machine name:port after the 'ps'):
***Note, although the above may be confusing... the URL looks exactly as it should.
So, based on that URL, the planning.html file should be modified to look like:
var planningServices = http://machinename2.ibm.com:9510
***The planning.html file should reside in your BI Gateway's /webcontent/ folder
The actual machine name used in the URL is defined in External Server URI in TM1 Application Server section of Cognos Configuration.