<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Planit CPM TechBlog</title>
	<atom:link href="http://www.planitcpm.com/techblog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.planitcpm.com/techblog</link>
	<description>Technical musings relating to daily technical work within the Corporate Performance Management world.</description>
	<lastBuildDate>Thu, 17 May 2012 11:35:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Problem installing Xcelerator Client with Cognos Express 9.5</title>
		<link>http://www.planitcpm.com/techblog/2012/05/problem-installing-xcelerator-client-with-cognos-express-9-5/</link>
		<comments>http://www.planitcpm.com/techblog/2012/05/problem-installing-xcelerator-client-with-cognos-express-9-5/#comments</comments>
		<pubDate>Thu, 17 May 2012 11:35:00 +0000</pubDate>
		<dc:creator>Blog Admin</dc:creator>
				<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Cognos Express]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Errors]]></category>
		<category><![CDATA[IBM Cognos]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Citrix Error]]></category>
		<category><![CDATA[Cognos Express Error]]></category>
		<category><![CDATA[Could not create the Java virtual machine]]></category>
		<category><![CDATA[Java Error]]></category>

		<guid isPermaLink="false">http://www.planitcpm.com/techblog/?p=184</guid>
		<description><![CDATA[This week, during an installation of IBM Cognos Express, I needed to install the clients onto a Citrix Server.  The one that gave me the problem was the Xcelerator client, each time we tried to install it we got a Java error: &#8220;Could not create the Java virtual machine&#8221;. We did numerous searches to try [...]]]></description>
			<content:encoded><![CDATA[<p>This week, during an installation of IBM Cognos Express, I needed to install the clients onto a Citrix Server.  The one that gave me the problem was the Xcelerator client, each time we tried to install it we got a Java error:</p>
<p>&#8220;Could not create the Java virtual machine&#8221;.</p>
<div id="attachment_185" class="wp-caption aligncenter" style="width: 287px"><a href="http://www.planitcpm.com/techblog/wp-content/uploads/2012/05/could_not_create_the_java_virtual_machine.gif"><img class="size-full wp-image-185" title="could_not_create_the_java_virtual_machine" src="http://www.planitcpm.com/techblog/wp-content/uploads/2012/05/could_not_create_the_java_virtual_machine.gif" alt="" width="277" height="119" /></a><p class="wp-caption-text">Could not create the Java virtual machine</p></div>
<p>We did numerous searches to try and find some help, we even enlisted the services of one of the best TM1 Support guys in Europe but with no success in solving the problem.</p>
<p>Fortunately I thought to try and see if this was a Citrix problem rather than a Cognos Express problem, and there I found my answer.  There is a bug in Presentation Server 4.0 and 4.5.</p>
<p>You can easily replicate the error on problematic systems by opening a command prompt and entering the following:</p>
<pre>java -Xmx1024M -version</pre>
<p>The result of this will return the &#8220;Could not create the Java virtual machine&#8221; error.</p>
<p>Entering the same command with a lower memory setting, so:</p>
<pre>java -Xmx584M -version</pre>
<p>should bring success in the form of:</p>
<pre><em>java version "1.5.0_09" Java(TM) 2 Runtime Environment,</em></pre>
<pre><em>Standard Edition (build 1.5.0_09-b01) Java HotSpot(TM) Client VM (build 1.5.0_09-b01, mixed mode)</em></pre>
<p>Anyway, if you follow the link below, you will find yourself on the Citrix KB article for the problem, there you can also find the patch to resolve the issue.</p>
<p><a title="Citrix / Cognos Express - Could not create the Java virtual machine error" href="http://support.citrix.com/article/CTX115868">http://support.citrix.com/article/CTX115868</a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.planitcpm.com/techblog/2012/05/problem-installing-xcelerator-client-with-cognos-express-9-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TM1 10.1 &#8211; side-by-side error</title>
		<link>http://www.planitcpm.com/techblog/2012/02/tm1-10-1-side-by-side-error/</link>
		<comments>http://www.planitcpm.com/techblog/2012/02/tm1-10-1-side-by-side-error/#comments</comments>
		<pubDate>Tue, 14 Feb 2012 16:22:09 +0000</pubDate>
		<dc:creator>Justin_Thomas</dc:creator>
				<category><![CDATA[10.1]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[IBM Cognos]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[TM1]]></category>

		<guid isPermaLink="false">http://www.planitcpm.com/techblog/?p=175</guid>
		<description><![CDATA[Over a week after it was first released I finally found some time to start playing with the new IBM Cognos TM1 10.1 software. The first thing I noticed was that the installer is now the same as that used by the other Cognos products, the Install Stream software. I remember from the beta test [...]]]></description>
			<content:encoded><![CDATA[<p>Over a week after it was first released I finally found some time to start playing with the new IBM Cognos TM1 10.1 software.</p>
<p>The first thing I noticed was that the installer is now the same as that used by the other Cognos products, the Install Stream software.<br />
I remember from the beta test almost a year ago that this was the case and so now we can use IBM Cognos Configuration to get some of the Tomcat and TM1 Service configuration done.</p>
<p>Having run through the installation and configuration I went to load TM1 Architect only to find that I have an error:</p>
<p>&#8220;c:\Program Files\ibm\cognos\tm1_64\bin\tm1a.exe</p>
<p>The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail.&#8221;</p>
<div id="attachment_178" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.planitcpm.com/techblog/wp-content/uploads/2012/02/Screen-Shot-2012-02-14-at-16.03.14.png"><img class="size-medium wp-image-178" title="TM1 Architect &quot;side-by-side&quot; error." src="http://www.planitcpm.com/techblog/wp-content/uploads/2012/02/Screen-Shot-2012-02-14-at-16.03.14-300x88.png" alt="" width="300" height="88" /></a><p class="wp-caption-text">Side-by-side error on TM1 Architect 10.1</p></div>
<p>&nbsp;</p>
<p>I had already installed the pre-requisisite Microsoft .net Framework 3.5SP1 and Microsoft Chart Controls for .net 3.5.  I then added the Microsoft Visual C++ 2005 SP1 Runtime x64.</p>
<p>After re-testing the error persisted.  As a guess I decided to install the x86 version of the Microsoft Visual C++ 2005 SP1 Runtime and bingo!  The problem is resolved!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.planitcpm.com/techblog/2012/02/tm1-10-1-side-by-side-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Switch error decoding URL&#8221; in IBM Cognos 10.1 Controller Client</title>
		<link>http://www.planitcpm.com/techblog/2011/12/switch-error-decoding-url-in-ibm-cognos-10-1-controller-client/</link>
		<comments>http://www.planitcpm.com/techblog/2011/12/switch-error-decoding-url-in-ibm-cognos-10-1-controller-client/#comments</comments>
		<pubDate>Wed, 14 Dec 2011 12:33:06 +0000</pubDate>
		<dc:creator>Blog Admin</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Controller Installation]]></category>
		<category><![CDATA[Errors]]></category>
		<category><![CDATA[IBM Cognos]]></category>
		<category><![CDATA[IBM Cognos Controller 10.1]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.planitcpm.com/techblog/?p=170</guid>
		<description><![CDATA[A very spurious error occurred this week at a customer site when attempting to use some of the newer Java based features of the IBM Cognos 10.1 Controller Local Client. The error contained the message &#8220;Switch error decoding URL&#8221; when attempting to run some of the following tasks: "Company -&#62; Reports -&#62; Intercompany Reports" "Maintain [...]]]></description>
			<content:encoded><![CDATA[<p>A very spurious error occurred this week at a customer site when attempting to use some of the newer Java based features of the IBM Cognos 10.1 Controller Local Client.</p>
<p>The error contained the message &#8220;Switch error decoding URL&#8221; when attempting to run some of the following tasks:</p>
<pre>"Company -&gt; Reports -&gt; Intercompany Reports"</pre>
<pre>"Maintain -&gt; System Audit Log -&gt; Configuration"</pre>
<div id="attachment_171" class="wp-caption aligncenter" style="width: 180px"><a href="http://www.planitcpm.com/techblog/wp-content/uploads/2011/12/switch-error-decoding-URL.png"><img class="size-full wp-image-171" title="switch-error-decoding-URL" src="http://www.planitcpm.com/techblog/wp-content/uploads/2011/12/switch-error-decoding-URL.png" alt="Switch error decoding URL" width="170" height="110" /></a><p class="wp-caption-text">IBM Cognos 10.1 Controller error - Switch Error Decoding URL</p></div>
<p>This occurred because of an inaccessible folder having been set for the CCR CACHE directory at install time.</p>
<p>To resolve the problem, remove the &#8220;IBM Cognos Controller Local Client&#8221; and re-install it specifying a valid path during the URL input screen.</p>
<p>Typically we use %appdata%\ccr as all users should have full rights to their own user profiles, however this will cause a 200mb or so download for each user logging on to Controller on a given computer.</p>
<pre></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.planitcpm.com/techblog/2011/12/switch-error-decoding-url-in-ibm-cognos-10-1-controller-client/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring SSL / HTTPS with IBM Cognos 10.1 BI and TM1 9.5.2</title>
		<link>http://www.planitcpm.com/techblog/2011/09/configuring-ssl-https-with-ibm-cognos-10-1-bi-and-tm1-9-5-2/</link>
		<comments>http://www.planitcpm.com/techblog/2011/09/configuring-ssl-https-with-ibm-cognos-10-1-bi-and-tm1-9-5-2/#comments</comments>
		<pubDate>Tue, 27 Sep 2011 15:07:31 +0000</pubDate>
		<dc:creator>Blog Admin</dc:creator>
				<category><![CDATA[BI and TM1 Integration]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Contributor]]></category>
		<category><![CDATA[HTTPS / SSL]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Integration]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[TM1 Contributor]]></category>
		<category><![CDATA[HTTPS]]></category>
		<category><![CDATA[IBM Cognos 10.1]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[TM1]]></category>

		<guid isPermaLink="false">http://www.planitcpm.com/techblog/?p=106</guid>
		<description><![CDATA[It&#8217;s been a long few days. A customer who wanted not just to integrate IBM Cognos 10.1 Business Intelligence with TM1 9.5.2, but also wanted to do it using SSL / HTTPS rather than the out of the box HTTP protocol.  Nice. I would have said that what follows is not for the faint hearted [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a long few days. A customer who wanted not just to integrate IBM Cognos 10.1 Business Intelligence with TM1 9.5.2, but also wanted to do it using SSL / HTTPS rather than the out of the box HTTP protocol.  Nice.</p>
<p>I would have said that what follows is not for the faint hearted however with the right steps set out in-front of you its a lot easier than it seemed at the time!</p>
<p><strong>This is a fairly complex task which will need you to have a pretty good level of understanding of a lot of technologies.  I have tried to write this in a simple way but I think I will need to refine this over time based on comments made.  Please feel free to add any feedback at the end so that I can improve this article as required</strong></p>
<p>We will assume a few things before we start:</p>
<ul>
<li> You have your own SSL certificate either purchased or created for IIS.</li>
<li>The SSL certificate is configured and is working (able to serve up a basic HTML page via HTTPS)</li>
<li>You have basic installations of IBM Cognos 10.1 BI and TM1 9.5.2 already integrated (<a href="http://www.planitcpm.com/techblog/2011/06/tm1-9-5-2-and-bi-10-1-integration/">help on integration here</a>)</li>
</ul>
<h2>Getting Cognos BI working via HTTPS</h2>
<p>With IIS already configured to work on HTTPS its a simple task to get the Cognos Gateway components up and running.</p>
<p>First of all you must get all of your dispatchers up and running using the HTTPS protocol and the secured port 9343.  See the screenshot below for an example.</p>
<p><a href="http://www.planitcpm.com/techblog/wp-content/uploads/2011/09/screenshot-2011-09-27-at-14.26.26.jpg"><img class="aligncenter size-medium wp-image-110" title="SSL Dispatcher URI's" src="http://www.planitcpm.com/techblog/wp-content/uploads/2011/09/screenshot-2011-09-27-at-14.26.26-300x129.jpg" alt="Cognos Configuration - Dispatcher URI's for SSL Configuration" width="300" height="129" /></a></p>
<p>&nbsp;</p>
<p>Now that this is done, navigate to the <em>Cryptography -&gt; Cognos </em>section of the tree-view.  Here we need to make sure that the server name is listed for the <em>Server Common Name </em>property.  As below this should be set to the exact name of the server as specified in your dispatcher URI fields.</p>
<p><a href="http://www.planitcpm.com/techblog/wp-content/uploads/2011/09/screenshot-2011-09-27-at-14.29.14.jpg"><img class="aligncenter size-medium wp-image-111" title="SSL Cryptography Setting" src="http://www.planitcpm.com/techblog/wp-content/uploads/2011/09/screenshot-2011-09-27-at-14.29.14-300x244.jpg" alt="Settings for Cognos Configuration - SSL Cryptography" width="300" height="244" /></a></p>
<p>Whilst you are there, make sure you set a password for each of the key stores.  It is advisable to use a single, strong password here or else you may find it difficult later on to know which password to use.</p>
<p>The <em> server common name </em>value above is used in the certificate creation, if this does not match the name of the server specified in the dispatcher URI&#8217;s then you will get a prompt due to an invalid certificate during certain operations.  This could stop the integration between TM1 and BI from working correctly.</p>
<p>With IBM Cognos Configuration updated its now time to save and restart the services.  If you have just changed an existing installation from HTTP to HTTPS you will find that the <strong>IBM Cognos 10</strong> service is re-registered and so you will have to input the service account credentials again to get things to start up properly.</p>
<p>Saving will take some time as the cryptography settings will be recreated.</p>
<p>Now is a good time to check that IBM Cognos 10 is up and running on HTTPS.  Check <em>IBM Cognos Connection </em>by visiting your gateway URI which should be in the form of<strong> </strong></p>
<p><code>https://bi101.planitcpm.local/ibmcognos</code></p>
<p>This should return the familiar IBM Cognos portal screen.</p>
<p><a href="http://www.planitcpm.com/techblog/wp-content/uploads/2011/09/screenshot-2011-09-27-at-14.38.44.jpg"><img class="aligncenter size-medium wp-image-113" title="IBM Cognos Connection on SSL" src="http://www.planitcpm.com/techblog/wp-content/uploads/2011/09/screenshot-2011-09-27-at-14.38.44-300x253.jpg" alt="" width="300" height="253" /></a></p>
<p>If all is well, now try connecting to the dispatcher direct.  This is best done on the server its self as we can then ensure that the SSL certificate is imported at the same time.</p>
<p>The URI to enter is similar to this:</p>
<p><code>https://bi101.planitcpm.local:9343/p2pd/servlet/dispatch</code></p>
<p>Because the self-created certificate is not from a trusted root authority you will get the following screen in Internet Explorer.  For now click &#8220;Continue to this website (not recommended)&#8221;.</p>
<p><a href="http://www.planitcpm.com/techblog/wp-content/uploads/2011/09/screenshot-2011-09-27-at-14.46.19.jpg"><img class="aligncenter size-medium wp-image-114" title="certificate warning screen" src="http://www.planitcpm.com/techblog/wp-content/uploads/2011/09/screenshot-2011-09-27-at-14.46.19-300x126.jpg" alt="" width="300" height="126" /></a></p>
<p>You will now see the bare dispatcher login screen.  Notice that the address bar is in pink and you have a certificate error to the right.</p>
<p><a href="http://www.planitcpm.com/techblog/wp-content/uploads/2011/09/screenshot-2011-09-27-at-14.49.01.jpg"><img class="aligncenter size-medium wp-image-115" title="IBM Cognos Dispatcher logon" src="http://www.planitcpm.com/techblog/wp-content/uploads/2011/09/screenshot-2011-09-27-at-14.49.01-300x203.jpg" alt="" width="300" height="203" /></a></p>
<p>Click on &#8220;Certificate Error&#8221; to view and install the certificate.</p>
<p><a href="http://www.planitcpm.com/techblog/wp-content/uploads/2011/09/screenshot-2011-09-27-at-14.58.19.jpg"><img class="aligncenter size-medium wp-image-118" title="Untrusted Certificate error" src="http://www.planitcpm.com/techblog/wp-content/uploads/2011/09/screenshot-2011-09-27-at-14.58.19-300x203.jpg" alt="" width="300" height="203" /></a></p>
<p>When the pop-up screen shows, click on &#8220;View Certificate&#8221;</p>
<p><a href="http://www.planitcpm.com/techblog/wp-content/uploads/2011/09/screenshot-2011-09-27-at-14.59.38.jpg"><img class="aligncenter size-medium wp-image-119" title="SSL Certificate" src="http://www.planitcpm.com/techblog/wp-content/uploads/2011/09/screenshot-2011-09-27-at-14.59.38-257x300.jpg" alt="" width="257" height="300" /></a></p>
<p>You will now see the certificate, click &#8220;Install Certificate&#8221;.</p>
<p>On the <em>Certificate Store </em>selection screen select &#8220;Place all certificates in the following store&#8221; and make sure <strong>Trusted Root Certification Authorities </strong>is selected.</p>
<p><a href="http://www.planitcpm.com/techblog/wp-content/uploads/2011/09/screenshot-2011-09-27-at-15.02.59.jpg"><img class="aligncenter size-medium wp-image-120" title="Certificate Store Selection " src="http://www.planitcpm.com/techblog/wp-content/uploads/2011/09/screenshot-2011-09-27-at-15.02.59-300x229.jpg" alt="" width="300" height="229" /></a></p>
<p>Complete the Wizard.  You will be warned that you are about to install the certificate.  Click &#8220;Yes&#8221; to complete the process.</p>
<p><a href="http://www.planitcpm.com/techblog/wp-content/uploads/2011/09/screenshot-2011-09-27-at-15.04.24.jpg"><img class="aligncenter size-medium wp-image-121" title="certificate install warning" src="http://www.planitcpm.com/techblog/wp-content/uploads/2011/09/screenshot-2011-09-27-at-15.04.24-300x114.jpg" alt="" width="300" height="114" /></a></p>
<p>Now on the Certificate view, switch to the &#8220;Certification Path&#8221; tab and complete the same process for the <strong>CA Root Certificate</strong>.</p>
<p><a href="http://www.planitcpm.com/techblog/wp-content/uploads/2011/09/screenshot-2011-09-27-at-15.06.21.jpg"><img class="aligncenter size-medium wp-image-122" title="CA Root Certificate" src="http://www.planitcpm.com/techblog/wp-content/uploads/2011/09/screenshot-2011-09-27-at-15.06.21-257x300.jpg" alt="" width="257" height="300" /></a></p>
<p>Now with both certificates installed and trusted, exit from Internet Explorer and visit the <em>Dispatcher URI </em>again.  This time there should be no warnings etc.</p>
<p><strong>IBM Cognos 10.1</strong> is now working using <strong>SSL</strong> at both the <strong>Gateway</strong> and the <strong>Dispatcher</strong> levels.</p>
<h2></h2>
<h2>Enabling TM1 to connect to IBM Cognos 10.1 via SSL</h2>
<p>TM1 will need to trust and access the certificate used in the IBM Cognos 10.1 dispatchers,  for this to work we must export the certificate from the CA Keystore.  IBM provides a tool for this <strong>ThirdPartyCertificateTool.bat </strong>(or on Linux / Unix ThirdPartyCetificateTool.sh).</p>
<p>Open a <strong>Command Prompt</strong> and navigate to your IBM Cognos 10.1 installation directory / bin folder (in my case c:\Program Files\IBM\Cognos\c10\bin).</p>
<p>You will need to set the <strong>JAVA_HOME</strong> variable so that it can use the IBM Cognos supplied JRE.  Enter the command:<br />
<code>set JAVA_HOME=c:\program files\ibm\cognos\c10\bin\jre\6.0\</code><br />
Now run the following command to export the keys.  You will need to substitute my paths for your own.  I am exporting the certificate file to the root of c:\ to a file called <em>cognos.cer.</em></p>
<p><code>ThirdPartyCertificateTool.bat -E -T -r c:\cognos.cer -k "c:\Program Files\ibm\cognos\c10\configuration\signkeypair\jCAKeystore" -p password</code></p>
<p>Where &#8220;password&#8221; is the password you set for your keys tores in IBM Cognos Configuration.</p>
<p>You will get a response similar to the one below.</p>
<p><a href="http://www.planitcpm.com/techblog/wp-content/uploads/2011/09/screenshot-2011-09-27-at-15.23.53.jpg"><img class="aligncenter size-medium wp-image-123" title="screenshot 2011-09-27 at 15.23.53" src="http://www.planitcpm.com/techblog/wp-content/uploads/2011/09/screenshot-2011-09-27-at-15.23.53-300x148.jpg" alt="" width="300" height="148" /></a></p>
<p>&nbsp;</p>
<p><strong>Note: If you get an error message with number CAM-CRP-1201 it seems to indicate that the password specified is incorrect.  Strangely if you actually omit the password you get an error that tells you that the password is wrong.</strong></p>
<p>The file cognos.cer should now be in your output location.  Locate this file and copy it to a secure location on your TM1 Server.</p>
<p>With the file copied to your TM1 Server you will now need to edit the TM1s.cfg file to ensure that it knows where to find the certificate file.</p>
<p>You should have the following lines, edited for your installation.<br />
<code></code></p>
<p><code>ServerCAMURI=https://bi101.planitcpm.local:9343/p2pd/servlet/dispatch<br />
ClientCAMURI=https://bi101.planitcpm.local/ibmcognos/cgi-bin/cognosisapi.dll<br />
ClientPingCAMPassport=900<br />
#Optional CAM parameters<br />
CAMSSLCertificate=c:\cognos.cer<br />
#CAMSSLCertRevList=<br />
SkipSSLCAMHostCheck=TRUE<br />
</code><br />
Once that has been updated you will need to save the file and restart your TM1 Services to allow the changes to be picked up.</p>
<p>Now, to ensure that TM1 and BI can integrate correctly there are a few more steps to complete, these have been discussed in another blog article which can be found here:</p>
<p><a title="TM1 and BI Integration " href="http://www.planitcpm.com/techblog/2011/06/tm1-9-5-2-and-bi-10-1-integration/">TM1 and BI Integration</a></p>
<p>There are a few differences now however, importantly, these are that the URL&#8217;s specified in the various configuration files must contain the <strong>HTTPS </strong>protocol not <strong>HTTP</strong> and that  you must reference the new port <strong>9343</strong> in place of <strong>9300.</strong></p>
<p>The files to update are on the <strong>BI / Gateway Server</strong>:</p>
<ul>
<li>variables_TM1.xml</li>
</ul>
<p>Which should now contain the following lines instead:</p>
<p><code></p>
<p>https://bi101.planitcpm.local/TM1Web/TM1WebMiniLogin.aspx</p>
<p>https://bi101.planitcpm.local/TM1Web/TM1WebLoginHandler.aspx</p>
<p>https://bi101.planitcpm.local/TM1Web/TM1WebMain.aspx</p>
<p>https://bi101/TM1Web/TM1WebMiniLogin.aspx</p>
<p>https://bi101/TM1Web/TM1WebLoginHandler.aspx</p>
<p>https://bi101/TM1Web/TM1WebMain.aspx</p>
<p></code></p>
<ul>
<li><strong>planning.html</strong></li>
</ul>
<p>Which should now contain the following line</p>
<p><code>// Update the following to point to the location of the planning service(s)<br />
var planningServices = ["https://bi101.planitcpm.local:9343"];<br />
</code></p>
<h3>Allowing TM1 Web to trust the BI Certificate</h3>
<p>If you now run the <strong>initialize.jsp </strong>script from your installation of <strong>TM1 Contributor</strong> you will find that you get an error.</p>
<p>&nbsp;</p>
<p><a href="http://www.planitcpm.com/techblog/wp-content/uploads/2011/09/screenshot-2011-09-20-at-15.20.17.jpg"><img class="aligncenter size-full wp-image-133" title="TM1 Contributor - Gateway URI not available" src="http://www.planitcpm.com/techblog/wp-content/uploads/2011/09/screenshot-2011-09-20-at-15.20.17.jpg" alt="" width="271" height="129" /></a></p>
<p>You are getting this error because the SSL Certificate that was applied to your IIS servers not trusted by the IBM Cognos supplied JAVA environment.  We must run a command line application to import this file.</p>
<p>On the BI Server open a command prompt and navigate to <em>c:\Program Files\IBM\Cognos\c10\bin\jre\6.0\bin</em> and execute the following command:</p>
<p><code>keytool -import -alias caWeb -keystore "c:/program files/ibm/cognos/c10/bin/jre/6.0/lib/security/cacerts” -trustcacerts -file c:\CertificateName.cer</code></p>
<p>You will be prompted for a password, this is the default password used by the keytool app &#8211; enter &#8220;changeit&#8221; in lower-case.</p>
<p>We also need to run the command to import the certificate created by IBM Cognos 10.1 or we will see an error stating:</p>
<p><a href="http://www.planitcpm.com/techblog/wp-content/uploads/2011/09/screenshot-2011-09-20-at-16.48.07.jpg"><img class="aligncenter size-full wp-image-134" title="tm1 contributor dispatcher uri not available" src="http://www.planitcpm.com/techblog/wp-content/uploads/2011/09/screenshot-2011-09-20-at-16.48.07.jpg" alt="" width="275" height="125" /></a></p>
<p>&nbsp;</p>
<p>We must run a command line application to import the <strong>cognos.cer</strong> file.</p>
<p>On the BI Server open a command prompt and navigate to c:\Program Files\IBM\Cognos\c10\bin\jre\6.0\bin and execute the following command:</p>
<p><code>keytool -import -alias caRoot -keystore "c:/program files/ibm/cognos/c10/bin/jre/6.0/lib/security/cacerts” -trustcacerts -file <strong>c:\cognos.cer</strong></code></p>
<p>You will be prompted for a password, this is the default password used by the keytool app &#8211; enter &#8220;changeit&#8221; in lower-case.</p>
<p>With this all completed you should now find that you can access TM1 Contributor using HTTPS as shown below:</p>
<p><a href="http://www.planitcpm.com/techblog/wp-content/uploads/2011/09/screenshot-2011-09-27-at-16.38.09.jpg"><img class="aligncenter size-medium wp-image-136" title="TM1 Contriburor working with HTTPS" src="http://www.planitcpm.com/techblog/wp-content/uploads/2011/09/screenshot-2011-09-27-at-16.38.09-300x148.jpg" alt="" width="300" height="148" /></a></p>
<p>As stated at the beginning of the article, please do comment or ask questions.  I know this article needs some refinement but I really did want to keep it as short and to the point as possible whilst still explaining the steps involved to get this working.</p>
<p>I would also like to thank Keith Faulkner from IBM Support who helped me get this working and organised the relevant people behind the scenes at IBM to get the right information out to me.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.planitcpm.com/techblog/2011/09/configuring-ssl-https-with-ibm-cognos-10-1-bi-and-tm1-9-5-2/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Say No to multiple Admin Servers</title>
		<link>http://www.planitcpm.com/techblog/2011/08/say-no-to-multiple-admin-servers/</link>
		<comments>http://www.planitcpm.com/techblog/2011/08/say-no-to-multiple-admin-servers/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 07:28:56 +0000</pubDate>
		<dc:creator>Blog Admin</dc:creator>
				<category><![CDATA[Cognos Planning]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Contributor]]></category>
		<category><![CDATA[Errors]]></category>
		<category><![CDATA[IBM Cognos 8]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Admin Server]]></category>
		<category><![CDATA[Copy Load Prepare]]></category>

		<guid isPermaLink="false">http://www.planitcpm.com/techblog/?p=98</guid>
		<description><![CDATA[Recently a customer requested that we review their self-installed IBM Cognos Planning environment due to poor performance and regular job failures.  There were a number of installation, configuration and sizing issues with the environment (which was on a vastly underpowered VMware platform), but one of the key recommendations that we made was to disable the [...]]]></description>
			<content:encoded><![CDATA[<p>Recently a customer requested that we review their self-installed IBM Cognos Planning environment due to poor performance and regular job failures.  There were a number of installation, configuration and sizing issues with the environment (which was on a vastly underpowered VMware platform), but one of the key recommendations that we made was to disable the Planning Administration Console Service on all but one of the Application Servers.</p>
<p><a href="http://www.planitcpm.com/techblog/wp-content/uploads/2011/08/screenshot-2011-08-23-at-08.25.30.jpg"><img class="aligncenter size-medium wp-image-99" title="Planning Administration Console Service Enabled" src="http://www.planitcpm.com/techblog/wp-content/uploads/2011/08/screenshot-2011-08-23-at-08.25.30-300x148.jpg" alt="" width="300" height="148" /></a></p>
<p>Additional CPU&#8217;s were added, but beyond that most of our recommendations are yet to be implemented.  In the meantime the environment continues to perform poorly and job failures are almost as frequent.</p>
<p>One of the latest issues that has been reported to us is that during the copy-load-prepare process, once you have completed the &#8220;copy&#8221; stage and switch to the &#8220;load&#8221; tab they are finding that different cubes are displayed each time.</p>
<ul>
<li>Copy five files, switch to the load tab and find that cubes &#8220;A, C, D&#8221; show.</li>
<li>Try again with the same five files and find that cubes &#8220;D and E&#8221; show.</li>
</ul>
<div>This is a typical symptom of having multiple Administration Servers configured in the environment, what is happening here is that a different Admin Server is processing each of the file copies, then when switching to the &#8220;load&#8221; tab just one of the servers is being used and so only a selection of the copied files are being detected.</div>
<div>The fix for this is a simple one, disable the Planning Administration Console Service on all but one of the Application Servers in your Planning server environment.</div>
<div><a href="http://www.planitcpm.com/techblog/wp-content/uploads/2011/08/screenshot-2011-08-23-at-08.25.50.jpg"><img class="aligncenter size-medium wp-image-100" title="Planning Administration Console Service Disabled" src="http://www.planitcpm.com/techblog/wp-content/uploads/2011/08/screenshot-2011-08-23-at-08.25.50-300x144.jpg" alt="" width="300" height="144" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.planitcpm.com/techblog/2011/08/say-no-to-multiple-admin-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running an IBM Cognos Analyst Macro from a Contributor Macro</title>
		<link>http://www.planitcpm.com/techblog/2011/08/running-an-ibm-cognos-analyst-macro-from-a-contributor-macro/</link>
		<comments>http://www.planitcpm.com/techblog/2011/08/running-an-ibm-cognos-analyst-macro-from-a-contributor-macro/#comments</comments>
		<pubDate>Thu, 04 Aug 2011 08:41:32 +0000</pubDate>
		<dc:creator>Blog Admin</dc:creator>
				<category><![CDATA[administrator]]></category>
		<category><![CDATA[Cognos Planning]]></category>
		<category><![CDATA[Contributor]]></category>
		<category><![CDATA[IBM Cognos]]></category>
		<category><![CDATA[IBM Cognos 8]]></category>
		<category><![CDATA[Macros]]></category>

		<guid isPermaLink="false">http://www.planitcpm.com/techblog/?p=74</guid>
		<description><![CDATA[The usual way to run an IBM Cognos Analyst macro from within a Contributor macro is to use the &#8220;Execute Analyst Macro&#8221; step, however for some customers this seems to fail without logging any good reasons.  The error logging is minimal, though you will typically find errors such as: Unable to execute macro 'ApplicationName.MacroName'. The [...]]]></description>
			<content:encoded><![CDATA[<p>The usual way to run an IBM Cognos Analyst macro from within a Contributor macro is to use the &#8220;Execute Analyst Macro&#8221; step, however for some customers this seems to fail without logging any good reasons.  The error logging is minimal, though you will typically find errors such as:</p>
<pre>Unable to execute macro 'ApplicationName.MacroName'.</pre>
<pre>The return code was 1107.</pre>
<p>One alternative I find to work more robustly is to use the &#8220;Execute Command Line&#8221; macro step, we can use this step to launch an Analyst Batch Utility job just like in the &#8220;good old days&#8221;.  This method seems to be a bit more reliable and also logs a little bit more detail.</p>
<p>To maximise the success rate the wizard to create the batch job should be  run on the Admin Server.  The wizard creates two files in the c:\Program Files\cognos\c8\bin (or equivalent IBM Cognos 10 location) and are called:</p>
<ul>
<li>bujobs.bin</li>
<li>bulibmap.lut</li>
</ul>
<div>If the wizard is run on a machine other than the Admin Server they can be copied to the relevant location on the Admin Server to allow the Batch Job to be called by the macro.</div>
<p>To set up the Batch Utility job, open Analyst and to to the &#8220;Tools&#8221; menu.  Near the bottom you can select the option &#8220;Batch Utility Wizard&#8221;.</p>
<p><a href="http://www.planitcpm.com/techblog/wp-content/uploads/2011/08/screenshot-2011-08-03-at-21.02.30.jpg"><img class="aligncenter size-medium wp-image-75" title="screenshot 2011-08-03 at 21.02.30" src="http://www.planitcpm.com/techblog/wp-content/uploads/2011/08/screenshot-2011-08-03-at-21.02.30-300x222.jpg" alt="" width="300" height="222" /></a></p>
<p>The Wizard Welcome Page will be shown, click &#8220;Next&#8221;.</p>
<p><a href="http://www.planitcpm.com/techblog/wp-content/uploads/2011/08/screenshot-2011-08-03-at-21.03.11.jpg"><img class="aligncenter size-medium wp-image-76" title="screenshot 2011-08-03 at 21.03.11" src="http://www.planitcpm.com/techblog/wp-content/uploads/2011/08/screenshot-2011-08-03-at-21.03.11-300x217.jpg" alt="" width="300" height="217" /></a></p>
<p>Select &#8220;Create a new batch job&#8221;.</p>
<p><a href="http://www.planitcpm.com/techblog/wp-content/uploads/2011/08/screenshot-2011-08-03-at-21.03.32.jpg"><img class="aligncenter size-medium wp-image-77" title="screenshot 2011-08-03 at 21.03.32" src="http://www.planitcpm.com/techblog/wp-content/uploads/2011/08/screenshot-2011-08-03-at-21.03.32-300x217.jpg" alt="" width="300" height="217" /></a></p>
<p>On the &#8220;Select a macro&#8221; screen, choose your Library and Macro from the drop-down menus and then give a descriptive name for this batch job.</p>
<p>You can also enter the name of the Namespace you want the batch-job to use.</p>
<p><a href="http://www.planitcpm.com/techblog/wp-content/uploads/2011/08/screenshot-2011-08-03-at-21.04.44.jpg"><img class="aligncenter size-medium wp-image-78" title="screenshot 2011-08-03 at 21.04.44" src="http://www.planitcpm.com/techblog/wp-content/uploads/2011/08/screenshot-2011-08-03-at-21.04.44-300x218.jpg" alt="" width="300" height="218" /></a></p>
<p>Finally set up a log file location so you can review the Batch Job&#8217;s status.</p>
<p><a href="http://www.planitcpm.com/techblog/wp-content/uploads/2011/08/screenshot-2011-08-03-at-21.05.56.jpg"><img class="aligncenter size-medium wp-image-79" title="screenshot 2011-08-03 at 21.05.56" src="http://www.planitcpm.com/techblog/wp-content/uploads/2011/08/screenshot-2011-08-03-at-21.05.56-300x218.jpg" alt="" width="300" height="218" /></a></p>
<p>The completion screen gives you the options to run the job right away or to print a summary of the job.</p>
<p>Click &#8220;Finish&#8221; to exit the Wizard.</p>
<p><a href="http://www.planitcpm.com/techblog/wp-content/uploads/2011/08/screenshot-2011-08-03-at-21.06.12.jpg"><img class="aligncenter size-medium wp-image-80" title="screenshot 2011-08-03 at 21.06.12" src="http://www.planitcpm.com/techblog/wp-content/uploads/2011/08/screenshot-2011-08-03-at-21.06.12-300x218.jpg" alt="" width="300" height="218" /></a></p>
<p>The command line for the Batch Utility job will be copied to the clipboard automatically, this will be useful as we can use this when we set up the Contributor Macro to call it.</p>
<p><a href="http://www.planitcpm.com/techblog/wp-content/uploads/2011/08/screenshot-2011-08-03-at-21.06.23.jpg"><img class="aligncenter size-medium wp-image-81" title="screenshot 2011-08-03 at 21.06.23" src="http://www.planitcpm.com/techblog/wp-content/uploads/2011/08/screenshot-2011-08-03-at-21.06.23-300x96.jpg" alt="" width="300" height="96" /></a></p>
<p>Open the Contributor Administration Console and navigate to &#8220;Macros&#8221; in the tree on the left.</p>
<p>Then click &#8220;New&#8221; to create a new macro.<br />
<a href="http://www.planitcpm.com/techblog/wp-content/uploads/2011/08/screenshot-2011-08-03-at-21.07.37.jpg"><img class="aligncenter size-medium wp-image-82" title="screenshot 2011-08-03 at 21.07.37" src="http://www.planitcpm.com/techblog/wp-content/uploads/2011/08/screenshot-2011-08-03-at-21.07.37-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>You will be prompted to enter a name for the macro.</p>
<p><a href="http://www.planitcpm.com/techblog/wp-content/uploads/2011/08/screenshot-2011-08-03-at-21.07.57.jpg"><img class="aligncenter size-medium wp-image-83" title="screenshot 2011-08-03 at 21.07.57" src="http://www.planitcpm.com/techblog/wp-content/uploads/2011/08/screenshot-2011-08-03-at-21.07.57-300x114.jpg" alt="" width="300" height="114" /></a></p>
<p>Then you will be given a list of macro step types.  Select the &#8220;Execute Command Line&#8221; macro step.</p>
<p><a href="http://www.planitcpm.com/techblog/wp-content/uploads/2011/08/screenshot-2011-08-03-at-21.08.26.jpg"><img class="aligncenter size-medium wp-image-84" title="screenshot 2011-08-03 at 21.08.26" src="http://www.planitcpm.com/techblog/wp-content/uploads/2011/08/screenshot-2011-08-03-at-21.08.26-257x300.jpg" alt="" width="257" height="300" /></a></p>
<p>You will need to name the macro step, a descriptive name is best here, some people find it useful to prefix the step names with a code to indicate what type of macro step it is for example &#8220;ECL&#8221; for Execute Command Line, or &#8220;EAL&#8221; for Execute Administration Link&#8221;.</p>
<p>Place your cursor into the &#8220;Command to execute&#8221; text box and use CTRL-V on the keyboard to paste in the command line that was generated by the Batch Utility Wizard.</p>
<p>Finally you can chose to either enter a success code, typically success is determined by a code of &#8220;0&#8243; (Zero).<br />
<a href="http://www.planitcpm.com/techblog/wp-content/uploads/2011/08/screenshot-2011-08-03-at-21.09.21.jpg"><img class="aligncenter size-medium wp-image-85" title="screenshot 2011-08-03 at 21.09.21" src="http://www.planitcpm.com/techblog/wp-content/uploads/2011/08/screenshot-2011-08-03-at-21.09.21-300x269.jpg" alt="" width="300" height="269" /></a></p>
<p>With the macro created you can now execute this and check that it works as expected.</p>
<p><a href="http://www.planitcpm.com/techblog/wp-content/uploads/2011/08/screenshot-2011-08-03-at-21.09.35.jpg"><img class="aligncenter size-medium wp-image-86" title="screenshot 2011-08-03 at 21.09.35" src="http://www.planitcpm.com/techblog/wp-content/uploads/2011/08/screenshot-2011-08-03-at-21.09.35-300x106.jpg" alt="" width="300" height="106" /></a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.planitcpm.com/techblog/2011/08/running-an-ibm-cognos-analyst-macro-from-a-contributor-macro/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Controller 10.1 &#8211; DBCONV.EXE error &#8211; ERROR 429 (HEX 1AD)</title>
		<link>http://www.planitcpm.com/techblog/2011/06/controller-10-1-dbconv-exe-error/</link>
		<comments>http://www.planitcpm.com/techblog/2011/06/controller-10-1-dbconv-exe-error/#comments</comments>
		<pubDate>Tue, 28 Jun 2011 13:17:20 +0000</pubDate>
		<dc:creator>Blog Admin</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Controller 8.5]]></category>
		<category><![CDATA[Controller Installation]]></category>
		<category><![CDATA[Errors]]></category>
		<category><![CDATA[IBM Cognos Controller 10.1]]></category>
		<category><![CDATA[Installation]]></category>

		<guid isPermaLink="false">http://www.planitcpm.com/techblog/?p=65</guid>
		<description><![CDATA[During a recent upgrade to IBM Cognos 10.1 Controller we discovered that it was necessary to use the bundled &#8220;legacy&#8221; version of the DBCONV.EXE utility to upgrade databases from 8.4 or below. This was all very well, the files are easy to find in the c10\legacy folder of the installation, but unfortunately on running the [...]]]></description>
			<content:encoded><![CDATA[<p>During a recent upgrade to IBM Cognos 10.1 Controller we discovered that it was necessary to use the bundled &#8220;legacy&#8221; version of the DBCONV.EXE utility to upgrade databases from 8.4 or below.</p>
<p>This was all very well, the files are easy to find in the c10\legacy folder of the installation, but unfortunately on running the utility against our database we came up against the following error:</p>
<p><a href="http://www.planitcpm.com/techblog/wp-content/uploads/2011/06/controller-10-dbconv-err.jpg"><img class="aligncenter size-full wp-image-66" title="Controller 10.1 DBCONV.EXE Error" src="http://www.planitcpm.com/techblog/wp-content/uploads/2011/06/controller-10-dbconv-err.jpg" alt="" width="216" height="115" /></a></p>
<pre>ERROR 429 (HEX 1AD):
ActiveX Component can't create object.</pre>
<p>It turns out that the error message is caused by a .DLL file that has not been correctly registered.  The details to fix this as below:</p>
<ol>
<li>Launch a command prompt by clicking &#8220;<strong>Start</strong>&#8221; &#8211; &#8220;<strong>Run</strong>&#8221; and then typing in &#8220;<strong>CMD</strong>&#8221; &lt;Enter&gt;</li>
<li>Change directory to the c10\common folder (for example using: <strong>cd &#8220;C:\Program Files\ibm\cognos\c10\common&#8221;)</strong></li>
<li>Register the DLL file using: <strong>regsvr32.exe FrCrypto.dll</strong></li>
<li>Test&#8221;</li>
</ol>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.planitcpm.com/techblog/2011/06/controller-10-1-dbconv-exe-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TM1 9.5.2 and BI 10.1 Integration</title>
		<link>http://www.planitcpm.com/techblog/2011/06/tm1-9-5-2-and-bi-10-1-integration/</link>
		<comments>http://www.planitcpm.com/techblog/2011/06/tm1-9-5-2-and-bi-10-1-integration/#comments</comments>
		<pubDate>Thu, 23 Jun 2011 17:50:16 +0000</pubDate>
		<dc:creator>Blog Admin</dc:creator>
				<category><![CDATA[BI and TM1 Integration]]></category>
		<category><![CDATA[Business Intelligence]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Contributor]]></category>
		<category><![CDATA[IBM Cognos]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[IntegratedSecurityMode]]></category>
		<category><![CDATA[Integration]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[TM1]]></category>
		<category><![CDATA[TM1 Contributor]]></category>

		<guid isPermaLink="false">http://www.planitcpm.com/techblog/?p=42</guid>
		<description><![CDATA[Having spent quite some time trying to figure out why our installation of TM1 Contributor would not work when using IBM Cognos 10 Integrated Security we figured it may be worth a blog entry to make sure that others coming across this problem don&#8217;t run into the same issues. There are a number of steps [...]]]></description>
			<content:encoded><![CDATA[<p>Having spent quite some time trying to figure out why our installation of TM1 Contributor would not work when using IBM Cognos 10 Integrated Security we figured it may be worth a blog entry to make sure that others coming across this problem don&#8217;t run into the same issues.</p>
<p>There are a number of steps involved with getting the installation up and running but first, lets just outline the server topology.</p>
<ul>
<li>1x 32-bit BI Server (Gateway, Application Tier and Content Manager) with TM1 Portlets and TM1 Web and TM1 Contributor installed.</li>
<li>1x 64-bit TM1 Application Server (Running as a TM1 Admin Server and also hosting the individual TM1 Servers)</li>
<li>1x SQL Server hosting the Content Store database and miscellaneous other databases not directly related to the install.</li>
</ul>
<p>We are assuming here that you can (and have) installed the different IBM Cognos products correctly and are now focussing on integrating these products.</p>
<h4>Enabling IBM Cognos Security on the TM1 Server</h4>
<p>On your TM1 Application Server you will have a number of TM1 Servers such as the Planning Sample TM1 Server.  Each TM1 Server has a file called tm1s.cfg that contains parameters used during the startup of your TM1 Server.  An example file is below:</p>
<p class="code_scroll">
<code># Security mode<br />
## If IntegratedSecurityMode is set to 1. All clients must provide a database<br />
# username and password. This is traditionally done through a login screen.<br />
## If IntegratedSecurityMode is set to 2. The clients will have the choice<br />
# to connect provide a database username and password or use the single-login<br />
# mechanism for authentication.<br />
## If IntegratedSecurityMode is set to 3. All clients must use the single-login<br />
# mechanism for authentication.<br />
## If this is not set the parameter will be set to 1 by default.<br />
# GroupsCreationLimit<br />
## Note: The GroupsCreationLimit server configuration parameter pre-allocates<br />
# memory and should not be set higher than needed. Please see TM1 technical<br />
# bulletin: GroupsCreationLimit Recommendations for more information on<br />
# how this parameter works.<br />
[TM1S]ServerLogging=F<br />
SecurityPackageName=Kerberos<br />
IntegratedSecurityMode=5<br />
UseSSL=T<br />
ServerName=Planning Sample<br />
DataBaseDirectory=C:\Program Files\Cognos\TM1\Custom\TM1Data\PlanSamp\<br />
AdminHost=TM1952<br />
PortNumber=12345<br />
Language=ENG<br />
SaveTime=<br />
DownTime=<br />
ProgressMessage=True<br />
AuditLogOn=F<br />
AuditLogMaxFileSize= 100 MB<br />
AuditLogUpdateInterval=60<br />
PersistentFeeders=F<br />
ParallelInteraction=F<br />
ServerCAMURI=http://bi101:9300/p2pd/servlet/dispatch<br />
ClientCAMURI=http://bi101/ibmcognos/cgi-bin/cognosisapi.dll<br />
ClientPingCAMPassport=900<br />
#Optional CAM parameters<br />
#CAMSSLCertificate=<br />
#CAMSSLCertRevList=<br />
#SkipSSLCAMHostCheck=TRUE<br />
#CAMPortalVariableFile=portal\variables_plan.xml</code>
</p>
<pre><span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px; white-space: normal;">To enable IBM Cognos 10.1 BI Integrated Security we need to change the value of "IntegratedSecurityMode" from 1 to 5.</span></pre>
<p>Also by default the &#8220;ServerCAMURI&#8221;, &#8220;ClientCAMURI&#8221; and  &#8221;ClientPingCAMPassport&#8221; values are commented out.  These need to be given the values for your server which can be obtained from IBM Cognos Configuration.</p>
<p>The TM1 Server will need to be restarted to pick up these values.</p>
<p>More detailed information on setting up the integrated security can be found here:</p>
<p><a href="http://www.ibm.com/developerworks/data/library/cognos/page413.html">http://www.ibm.com/developerworks/data/library/cognos/page413.html</a></p>
<h3>Installing the TM1 Portlets</h3>
<p>The TM1 Portlets are used to provide integration between TM1 Web and IBM Cognos Connection, these are available as a separate download &#8220;TM1Portlets_10.1_mp.tar.gz&#8221; &#8211; the full list of part numbers is here:</p>
<table border="1">
<tbody>
<tr valign="top">
<td width="273"><strong>Parts and Platforms</strong></td>
<td width="96"><strong>Required/<br />
Optional</strong></td>
<td width="192"><strong>Details</strong></td>
<td width="87"><strong>Part number</strong></td>
</tr>
<tr valign="top">
<td width="273">IBM Cognos TM1 Quick Start Guide 9.5.2 Multilingual</td>
<td width="96">Required</td>
<td width="192">Describes the general steps required to install TM1.</td>
<td width="87">CZW15ML</td>
</tr>
<tr valign="top">
<td width="273">IBM Cognos TM1 Widget Updater 9.5.2 for BI 10.1.0 Multiplatform Multilingual</td>
<td width="96">Optional</td>
<td width="192">Updates the Cognos BI 10.1 TM1 Widgets, providing the TM1 CubeViewer and Websheet Widgets with new toolbars.</td>
<td width="87">CZW16ML</td>
</tr>
<tr valign="top">
<td width="273">IBM Cognos TM1 Portlets 9.5.2 for BI 8.4.0 Multiplatform Multilingual</td>
<td width="96">Optional</td>
<td width="192">Allows you to create portlets to view TM1 cube views and websheets in BI 8.4.0.</td>
<td width="87">CZW1NML</td>
</tr>
<tr valign="top">
<td width="273">IBM Cognos TM1 Portlets 9.5.2 for BI 8.4.1 Multiplatform Multilingual</td>
<td width="96">Optional</td>
<td width="192">Allows you to create portlets to view TM1 cube views and websheets in BI 8.4.1.</td>
<td width="87">CZW1PML</td>
</tr>
<tr valign="top">
<td width="273">IBM Cognos TM1 Portlets 9.5.2 for BI 10.1.0 Multiplatform Multilingual</td>
<td width="96">Optional</td>
<td width="192">Allows you to create portlets to view TM1 cube views and websheets in BI 10.1.0.</td>
<td width="87">CZW1MML</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>Once extracted and installed using the usual IBM Cognos InstallStream installer you will need to move around and edit some files as follows: -</p>
<p><em>From the location C:\Program Files\Cognos\TM1\Cadmin\gateway take the files</em></p>
<pre style="padding-left: 30px;">pmpsvc.war -&gt; c:\Program Files\IBM\Cognos\c10\webapps</pre>
<pre style="padding-left: 30px;">planning.html -&gt; c:\Program Files\IBM\Cognos\c10\webcontent</pre>
<pre style="padding-left: 30px;">variables_plan.xml -&gt; c:\Program Files\IBM\Cognos\c10\templates\ps\portal</pre>
<p>Once the files are moved in to place we need to perform some actions upon them.</p>
<h4>pmpsvc.war</h4>
<p>This file has been copied into the IBM Cognos 10 webapps folder, if the IBM Cognos 10.1 BI service is running it will automatically be extracted and loaded into memory.  This forms the TM1 Contributor Web Application and is now running into the bundled Tomcat instance.  It can also be deployed manually to another instance of Tomcat if you so choose.</p>
<h4>planning.html</h4>
<p>This file needs to be edited to contain the path to your PMPSVC application.  By default the file has the following line:</p>
<pre style="padding-left: 30px;">// Update the following to point to the location of the planning service(s)</pre>
<pre style="padding-left: 30px;">var planningServices = ["http://localhost:8080"];</pre>
<p>We must change the path to one that is correct for your installation such as:</p>
<pre style="padding-left: 30px;">// Update the following to point to the location of the planning service(s)</pre>
<pre style="padding-left: 30px;">var planningServices = ["http://YOUR-BI-SERVER.DOMAIN.COM:9300"];</pre>
<p>Be sure to get this exactly right as this is something that caught us out during our first installation.  Due to a number of other errors we were troubleshooting at the time we ended up with the &#8220;/pmpsvc&#8221; added to the end of the URL.  This is very bad and will result in the following error:</p>
<pre style="padding-left: 30px;">The planning service parameter was not specified or is not one of the configured locations</pre>
<h4>variables_plan.xml</h4>
<p>This file does not need to be edited, the default file as below is correct and works out of the box:</p>
<pre style="padding-left: 30px;">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</pre>
<pre style="padding-left: 30px;">&lt;CRNenv&gt;</pre>
<pre style="padding-left: 30px;">	&lt;urls&gt;</pre>
<pre style="padding-left: 30px;">		  &lt;url&gt;../planning.html&lt;/url&gt;</pre>
<pre style="padding-left: 30px;"> 	&lt;/urls&gt;</pre>
<pre style="padding-left: 30px;">&lt;/CRNenv&gt;</pre>
<h4>variables_tm1.xml.sample</h4>
<p>This file already exists in the c:\Program Files\IBM\Cognos\c10\temlates\ps\portal folder but needs to be renamed to &#8220;variables_tm1.xml&#8221; and it also needs to be edited.  The default file looks like this:</p>
<pre style="padding-left: 30px;">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</pre>
<pre style="padding-left: 30px;">&lt;CRNenv&gt;</pre>
<pre style="padding-left: 30px;">	&lt;urls&gt;</pre>
<pre style="padding-left: 120px;"><span style="color: #ff0000;">&lt;url&gt;</span></pre>
<pre style="padding-left: 30px;">		&lt;url&gt;http://tm1webhostname/tm1web/tm1weblogin.aspx&lt;/url&gt;</pre>
<pre style="padding-left: 30px;">		&lt;url&gt;http://tm1webhostname/tm1web/tm1webloginhandler.aspx&lt;/url&gt;</pre>
<pre style="padding-left: 30px;">		&lt;url&gt;http://tm1webhostname/tm1web/tm1webmain.aspx&lt;/url&gt;</pre>
<pre style="padding-left: 120px;"><span style="color: #ff0000;">&lt;/url&gt;</span></pre>
<pre style="padding-left: 30px;">	&lt;/urls&gt;</pre>
<pre style="padding-left: 30px;">	&lt;cookies&gt;</pre>
<pre style="padding-left: 30px;">		&lt;param name="cam_passport"/&gt;</pre>
<pre style="padding-left: 30px;">	&lt;/cookies&gt;</pre>
<pre style="padding-left: 30px;">&lt;/CRNenv&gt;</pre>
<p>One thing to look out for is that in our initial installation there was an extra set of &lt;url&gt;&lt;/url&gt; tags that had to be removed.  They are shown in red in the file above, these were not correct.</p>
<p>To ensure that TM1 Web is working correctly we need to add in all the permutations of the three URL&#8217;s above.  Namely using the NETBIOS name and the full DNS name of the servers as well as and DNS aliases that my may have set up.</p>
<p>In our test server setup we had the following as an example:</p>
<pre style="padding-left: 30px;">&lt;url&gt;http://bi101.planitcpm.local/TM1Web/TM1WebMiniLogin.aspx&lt;/url&gt;</pre>
<pre style="padding-left: 30px;">&lt;url&gt;http://bi101.planitcpm.local/TM1Web/TM1WebLoginHandler.aspx&lt;/url&gt;</pre>
<pre style="padding-left: 30px;">&lt;url&gt;http://bi101.planitcpm.local/TM1Web/TM1WebMain.aspx&lt;/url&gt;</pre>
<pre style="padding-left: 30px;">&lt;url&gt;http://bi101/TM1Web/TM1WebMiniLogin.aspx&lt;/url&gt;</pre>
<pre style="padding-left: 30px;">&lt;url&gt;http://bi101/TM1Web/TM1WebLoginHandler.aspx&lt;/url&gt;</pre>
<pre style="padding-left: 30px;">&lt;url&gt;http://bi101/TM1Web/TM1WebMain.aspx&lt;/url&gt;</pre>
<h3>Restart the services</h3>
<p>With these files copied into place and edited correctly you should restart the IBM Cognos 10 service so that the new files are picked up.</p>
<h3>Initialising the TM1 Contributor Web Application</h3>
<p>We need to set the parameters for the TM1 Contributor application now, to do this navigate to the URL set up earlier, e.g. http://servername.domain.com:9300/pmpsvc/ &#8211; assuming this is the first time you have run this it will redirect automatically to the initialize.jsp page as shown below:</p>
<p style="text-align: center;"><a href="http://www.planitcpm.com/techblog/wp-content/uploads/2011/06/screenshot-2011-06-23-at-18.20.471.jpg"><img class="aligncenter size-full wp-image-49" title="TM1 Contributor initialise.jsp" src="http://www.planitcpm.com/techblog/wp-content/uploads/2011/06/screenshot-2011-06-23-at-18.20.471.jpg" alt="TM1 Contributor initialise.jsp" width="576" height="434" /></a></p>
<p>Ensure that you get all of the correct URL&#8217;s in the fields and also be sure to put the the DNS name for your TM1 Admin Server into the Admin Host field as it defaults to the local machine and won&#8217;t list any of your TM1 Servers.</p>
<p>The TM1 installation and IBM Cognos Business Intelligence will now be integrated.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.planitcpm.com/techblog/2011/06/tm1-9-5-2-and-bi-10-1-integration/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>IBM Cognos 10.1 Controller Installation</title>
		<link>http://www.planitcpm.com/techblog/2011/06/ibm-cognos-10-1-controller-installation/</link>
		<comments>http://www.planitcpm.com/techblog/2011/06/ibm-cognos-10-1-controller-installation/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 21:01:42 +0000</pubDate>
		<dc:creator>Blog Admin</dc:creator>
				<category><![CDATA[64-bit]]></category>
		<category><![CDATA[Controller Installation]]></category>
		<category><![CDATA[IBM Cognos]]></category>
		<category><![CDATA[IBM Cognos Controller 10.1]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[JDBC]]></category>
		<category><![CDATA[JRE]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Windows 2008]]></category>

		<guid isPermaLink="false">http://www.planitcpm.com/techblog/?p=37</guid>
		<description><![CDATA[Please accept my apologies if there is some information missing from this post, I just wanted to get something out there for the changes I have come across already to try and make sure that others can benefit, I will add to this post as I find more to keep it up to date. Back with IBM Cognos Controller [...]]]></description>
			<content:encoded><![CDATA[<p>Please accept my apologies if there is some information missing from this post, I just wanted to get something out there for the changes I have come across already to try and make sure that others can benefit, I will add to this post as I find more to keep it up to date.</p>
<p>Back with IBM Cognos Controller version 8.5.1 the installation process was a fairly complex affair.  Armed with the Proven Practice document (01. Installing &amp; Configuring IBM Cognos Controller 8.5.1 server &#8211; Proven Practice), all 71 pages of it, it was possible to get a fully working installation of the product.</p>
<p>Now, with the release of IBM Cognos 10.1 Controller, the process has some additional steps to complete.</p>
<h3>Case Sensitive Database Provider name</h3>
<p>Setting your SQL Server Provider is now case sensitive, this is the setting applied within IBM Cognos Controller Configuration.  If you get the following error message:</p>
<div>
<pre style="padding-left: 30px;"><strong>Unsupported OLEDB provider </strong><strong>sqlncli.1</strong></pre>
<p>It seems you may need to to ensure that the provider name is specified in upper case letters as SQLNCLI.1</p>
<p>A description of the problem can be found in this IBM Cognos KB article:</p>
<p><a href="https://www-304.ibm.com/support/docview.wss?uid=swg21503064&amp;wv=1">https://www-304.ibm.com/support/docview.wss?uid=swg21503064&amp;wv=1</a></p>
<h3>New Version of the DBCONV tool</h3>
<p>The DBCONV tool is now a Java based application, on the first run, if you have no Java provider installed it asks to be pointed at your JRE6 location on the file system.  As we already had the IBM Cognos 10.1 server components installed we could simply point at this location in order to launch the tool.  The standard location is %installdir%\IBM\Cognos\c10\bin\JRE\6.0</p>
<h3>JDBC Drivers Required</h3>
<p>On our Microsoft SQL Server 2008 R2 based system we were unable to connect to the Controller database due to the following error:</p>
<div>
<pre><strong>** ERROR: java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver</strong></pre>
</div>
<p>We resolved this by downloading the Microsoft SQL Server 3.0 JDBC driver from the following URL:</p>
<p><a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=a737000d-68d0-4531-b65d-da0f2a735707">http://www.microsoft.com/downloads/en/details.aspx?FamilyID=a737000d-68d0-4531-b65d-da0f2a735707</a></p>
<p>Once downloaded and extracted the file <strong>sqljdbc4.jar </strong>needed to be copied to the folder %installdir%\IBM\Cognos\c10 next to the DBCONV.EXE application so that this would work.</p>
<p>&nbsp;</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.planitcpm.com/techblog/2011/06/ibm-cognos-10-1-controller-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enabling ISAPI in IIS on Windows 7</title>
		<link>http://www.planitcpm.com/techblog/2011/06/enabling-isapi-in-iis-on-windows-7/</link>
		<comments>http://www.planitcpm.com/techblog/2011/06/enabling-isapi-in-iis-on-windows-7/#comments</comments>
		<pubDate>Fri, 17 Jun 2011 18:46:24 +0000</pubDate>
		<dc:creator>Blog Admin</dc:creator>
				<category><![CDATA[IIS 7]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.planitcpm.com/techblog/?p=30</guid>
		<description><![CDATA[An associate recently asked me if I could help him figure out why his Cognos application would not work under Windows 7, he told me that he was getting error messages saying that support for ISAPI was not installed. The good news was that he was right, so I put together a very short guide [...]]]></description>
			<content:encoded><![CDATA[<p>An associate recently asked me if I could help him figure out why his Cognos application would not work under Windows 7, he told me that he was getting error messages saying that support for ISAPI was not installed.</p>
<div>The good news was that he was right, so I put together a very short guide to help him install support for ISAPI under his Windows 7 installation.</div>
<div>
<div>From Control Panel, launch the Programs and Features applet.</div>
<div>Once opened, select “Turn Windows features on or off” from the left hand side.</div>
<div></div>
<div><a href="http://www.planitcpm.com/techblog/wp-content/uploads/2011/06/screenshot-2010-07-27-at-12.07.05.jpg"><img class="aligncenter size-medium wp-image-31" title="Control Panel (Programs and Features)" src="http://www.planitcpm.com/techblog/wp-content/uploads/2011/06/screenshot-2010-07-27-at-12.07.05-300x240.jpg" alt="" width="300" height="240" /></a></div>
<div><a href="http://1.bp.blogspot.com/_ypGvZ3-puS8/TE7AvEtQcdI/AAAAAAAAAAs/RPa9y6wiKuQ/s1600/screenshot+2010-07-27+at+12.07.05.jpg"></a></div>
<div>When the “Windows Features” window opens, expand</div>
<div></div>
<div>“Internet Information Services”</div>
<div>and then expand</div>
<div></div>
<div>“World Wide Web Services”</div>
<div></div>
<div><a href="http://www.planitcpm.com/techblog/wp-content/uploads/2011/06/screenshot-2010-07-27-at-12.08.36.jpg"><img class="aligncenter size-medium wp-image-32" title="Windows Features - ISAPI" src="http://www.planitcpm.com/techblog/wp-content/uploads/2011/06/screenshot-2010-07-27-at-12.08.36-300x266.jpg" alt="" width="300" height="266" /></a></div>
<div><a href="http://2.bp.blogspot.com/_ypGvZ3-puS8/TE7A5QpMhCI/AAAAAAAAAA0/ZB1oHD34xPk/s1600/screenshot+2010-07-27+at+12.08.36.jpg"></a></div>
<div>You will see “Application Development Features”, expand this and ensure that the following items are selected:</div>
<div></div>
<div>“ISAPI Extensions”</div>
<div>“ISAPI Filters”</div>
<div></div>
<div>Click “Ok”</div>
<div></div>
<div>You will now have installed support for ISAPI on Windows 7.</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.planitcpm.com/techblog/2011/06/enabling-isapi-in-iis-on-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

