If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Cognos 8 and Cognos 10 installed on same machine - issues

Started by DrDamn, 07 Jul 2011 09:26:48 AM

Previous topic - Next topic

DrDamn

I have had a working Cognos 8.4 install on my laptop for some time and recently also installed Cognos 10. I want to keep the 8.4 release in place for reference and other purposes, but I've had a few problems getting the Cognos 10 install to work ok.

I have kept port numbers the same as I was under the impression that as long as the other Cognos is shut down (and installed in a separate directory) this should be ok?

Initially Cognos 10 failed to start up as expected failing when trying to start the IBM Cognos service. Eventually I thought I had tracked this down to JAVA_HOME being set to an older version used by the Cognos 8 install. I uninstalled Cognos 10 and reinstalled it then started it up for the first time with the JAVA_HOME environment variable set undefined so the JRE supplied with Cognos 10 was used. This worked fine.

I then tried stopping the Cognos 10 install to check Cognos 8 still worked. It did if JAVA_HOME was set back to the older version. Now I can't get Cognos 10 to start up again - what ever I do with JAVA_HOME and numerous machine reboots. It freezes on Starting the service 'IBM Cognos' then eventually times out before getting further.

The cogserver.log file never gets written to as it doesn't get past the Cognos Bootstrap process.

Any ideas on how to get the two installs happy on one machine - I only ever need to run one at a time.


DrDamn

Ok - managed to restart Cognos 10 now. I was trying to avoid updating JAVA_HOME all the time by running the Configuration Manager using cogconfig.bat -java:local to get it to default to the Cognos JRE. This seems to only half work as it gets past the decryption ok and appears to be using the correct version when you check process command line arguments - but it doesn't fully work.

I removed the JAVA_HOME definition from my environment variables, rebooted the machine and ran the Configuration Manager directly - this seems to have done the trick. To switch back to Cognos 8 I'll need to add the JAVA_HOME pointing to the older java and reboot. If anyone knows any more clever ways to do this then please let me know.

NB: I have the two Cognos services per install set to manual rather than automatically start-up on boot.

mtroyano

In my case, I Eliminated the JAVA_HOME variable, and disable the automatic startup of services at Cognos. Once the server is started, start the Cognos 8 Service First and Then the Cognos 10. In Cognos Configuration 10 Must change the ports to Operate Following the two environments at once:
  - Local log server port number
  - Shutdown port number
  - All ports 9300 Through 9400

I hope it is helpful.
Regards.

pkrishnaq

I would suggest you have them configured on different ports. I had a similar issue and it works now after the change.

Erik

Changing the ports should not be necessary.
I have a virtual system consisting of 8.1, 8.2, 8.3, 8.4, 8.4.1, 10.1, 10.1 fp1 and 10.1.1 with the ports set to their default values because I know that I will never run more than once instance at a time. I set the Cognos services to not start automatically or system startup and nowhere did I specify the JAVA_HOME variable...

MFGF

Quote from: Erik on 10 Nov 2011 11:08:11 AM
Changing the ports should not be necessary.
I have a virtual system consisting of 8.1, 8.2, 8.3, 8.4, 8.4.1, 10.1, 10.1 fp1 and 10.1.1 with the ports set to their default values because I know that I will never run more than once instance at a time. I set the Cognos services to not start automatically or system startup and nowhere did I specify the JAVA_HOME variable...

If you had ReportNet 1.0 and 1.1 as well, it would be a CR1 straight flush! :-)

MF.
Meep!