In TM1 10.2.2, I created a new instance of tm1web - //servername:9510/A/
I have updated tm1_config.xml for new TM1web instance under (..webapps\A\WEB-INF\Configuration\ ) with 1)TM1 server to connect to, 2) homeobject
Did a restart of TM1 Application server
And now, when I am trying to access TM1 server via new TM1web instance - A, following happens
In IE, //servername:9510/A --> Login page appears (no need to select TM1 server, which is expected) --> login --> login is completed with no issues.
I am struggling to understand why I see below results:
1) Homeobject refers to homeobject parameter in webapps\tm1web\WEB-INF\Configuration\tm1_config.xml ( default TM1web instance)
After having a close look, I also found
2) Web address after login: Is //servername:9510/tm1web/applications.jsp (default TM1web )
instead of
//servername:9510/A/applications.jsp (with new TM1web instance)
Any suggestions on
1)How can I point the new TM1web instance to use the correct tm1_config.xml ( having different homeobject i.e. landing page than in default TM1web)
2)and why after login,web address change and point to default "tm1web" instances and not the new one created
Multiple TM1web Instances - TM1 10.2.2
-
- Posts: 20
- Joined: Tue Feb 05, 2013 2:58 am
- OLAP Product: Cognos TM1
- Version: 10.2.2
- Excel Version: 2010
-
- Posts: 78
- Joined: Wed Jul 31, 2013 4:32 am
- OLAP Product: Cognos TM1, EP, Analyst
- Version: 10.2.2
- Excel Version: 2013
- Location: Sydney AU
Re: Multiple TM1web Instances - TM1 10.2.2
When a default tm1web instance is specified in the configuration file, users will get redirected to that default instance upon loading of tm1web page (without the option of selection an instance).
When you need multiple instances to be available (from the instance selection dropdown on landing page), you will need to remove the default server instance from the configuration file. i.e. leaving it as ''.
When you need multiple instances to be available (from the instance selection dropdown on landing page), you will need to remove the default server instance from the configuration file. i.e. leaving it as ''.
MK
-
- Posts: 20
- Joined: Tue Feb 05, 2013 2:58 am
- OLAP Product: Cognos TM1
- Version: 10.2.2
- Excel Version: 2010
Re: Multiple TM1web Instances - TM1 10.2.2
Thanks for your resposne.
But, i am here referring to TM1web instances and not a TM1 server instance.
But, i am here referring to TM1web instances and not a TM1 server instance.
-
- Posts: 20
- Joined: Tue Feb 05, 2013 2:58 am
- OLAP Product: Cognos TM1
- Version: 10.2.2
- Excel Version: 2010
Re: Multiple TM1web Instances - TM1 10.2.2
Ok, so I was finally able to make it work as expected. Solution below in case someone is looking at similar problem:
By default, in tm1web.html file, the program is creating the link with tm1web ( default Tm1 web instance), and that is why even though after creating new TM1 web instances, i was taken to default Tm1web instance.
so, to use multiple Tm1web instances in parallel, you will have to update tm1web.html with some IF conditions to take new web instance into account depending on which server you are connecting to. ( this IF conditions can vary from case to case, in my case it was needed like below)
For Eg: TM1WEB instance A is used to connect to Tm1 server A. then,
in tm1web.html file, somewhere around line no. 70, that is where tm1web instance is attached to the web address.
default tm1web.html file :
if (sPS != "") {
var sUrl = sPS + "/tm1web/";
To be added:
var sPS1 = decodeURIComponent(getQueryVariable("server")).toLowerCase();
if (sPS1 == "A") { var sUrl = sPS + "/A/";}
else { var sUrl = sPS + "/tm1web/";}
(* server parameter will be same as TM1ServerName parameter in tm1web_config.xml)
By default, in tm1web.html file, the program is creating the link with tm1web ( default Tm1 web instance), and that is why even though after creating new TM1 web instances, i was taken to default Tm1web instance.
so, to use multiple Tm1web instances in parallel, you will have to update tm1web.html with some IF conditions to take new web instance into account depending on which server you are connecting to. ( this IF conditions can vary from case to case, in my case it was needed like below)
For Eg: TM1WEB instance A is used to connect to Tm1 server A. then,
in tm1web.html file, somewhere around line no. 70, that is where tm1web instance is attached to the web address.
default tm1web.html file :
if (sPS != "") {
var sUrl = sPS + "/tm1web/";
To be added:
var sPS1 = decodeURIComponent(getQueryVariable("server")).toLowerCase();
if (sPS1 == "A") { var sUrl = sPS + "/A/";}
else { var sUrl = sPS + "/tm1web/";}
(* server parameter will be same as TM1ServerName parameter in tm1web_config.xml)