IBM Support

SDK - CM_Tester application does not work in browsers other than Internet Explorer

Troubleshooting


Problem

When trying to use CM_Tester application in Firefox and entering the Authentication information, an error is received back : ["Unable to send request, please insure you are running under the same server and port as the Content Manager URL(http://localhost:9300/p2pd/servlet)"] Or this error occurs : ["Error sending the request to http://servername:9300/p2pd/servlet" - Error #0 undefined HTTP Status: 0 , ReadyState : 4"]

Symptom

This error will be thrown, right after attempting to logon to the IBM Cognos Service within CM_Tester application.

This happens even if IBM Cognos BI is running on the same system and using "localhost" as the server name.

Cause

Due to the browser security model, the redirection to what is viewed as a different domain, is being prevented by the browser.

Environment

Windows, Unix, Linux

Resolving The Problem

NOTE : CM_Tester is an IBM Cognos utility delivered "as is" without any IBM Support in the installation , to view and test operation of the CM Server under guidance of IBM Development or Support. Use by customers of this utility is presenting a large use Risk , which is not covered under any IBM Support Contracts. Ensure you have a full backup of Content Store database before proceeding to use this CM_Tester utility.

CM_Tester uses AJAX to communicate between the htm page and Content Manager.
Firefox's security model, by default, does not allow for AJAX communication between what it perceives as different domains.

For example if you're running cm_tester from c:/cognos/webcontent/cm_tester.htm and sending requests to :
http://localhost:9300/p2pd/servlet , Firefox will block this communication.

Alternate Solution for use, and to allow this browser security feature to work as normal, Copy cm_tester.htm from the <install>/webcontent directory to the <install>/webapps/p2pd directory.

Then Access cm_tester.htm using the URL :
http://localhost:9300/p2pd/cm_tester.htm

This way when cm_tester sends its AJAX requests, it is sending them to the same domain, and the security model isn't violated.

Please note that cm_tester.htm has been moved starting with IBM Cognos 10.2.x versions and higher to the webapps/p2pd/ folder, to avoid the above problem and ensure availability of the Tool in the Unix / Linux installations.

[{"Product":{"code":"SSEP7J","label":"Cognos Business Intelligence"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Software Development Kit","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"},{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF027","label":"Solaris"}],"Version":"10.1;10.1.1;10.2;10.2.1;10.2.1.1;10.2.2;8.3;8.4;8.4.1","Edition":"Edition Independent","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Product":{"code":"SSTSF6","label":"IBM Cognos Analytics"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.0","Edition":"Edition Independent","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
24 February 2020

UID

swg21374776