It seems like if you have more then one TM1 App/server using the same webserver you will get a pick list to choose which one you would like to use. Is there a way to avoid this picklist and go straight to the App you want? Two different URLs?
Thanks
Multiple TM1 Apps
- qml
- MVP
- Posts: 1096
- Joined: Mon Feb 01, 2010 1:01 pm
- OLAP Product: TM1 / Planning Analytics
- Version: 2.0.9 and all previous
- Excel Version: 2007 - 2016
- Location: London, UK, Europe
Re: Multiple TM1 Apps
Yes, it's perfectly doable.
To skip the TM1 Server drop-down set the TM1ServerName parameter value in the TM1 Web config file: \webapps\tm1web\WEB-INF\configuration\tm1web_config.xml
If you want a separate TM1 Web address to take you directly to a specific TM1 Server then you can create a separate tomcat app by making a copy of the \webapps\tm1web folder under a different name (and of course changing the respective tm1web_config.xml files appropriately).
I should probably mention the above is accurate for TM1 10.2 or newer. For older versions the detailed steps are slightly different e.g. the file is called Web.config.
To skip the TM1 Server drop-down set the TM1ServerName parameter value in the TM1 Web config file: \webapps\tm1web\WEB-INF\configuration\tm1web_config.xml
If you want a separate TM1 Web address to take you directly to a specific TM1 Server then you can create a separate tomcat app by making a copy of the \webapps\tm1web folder under a different name (and of course changing the respective tm1web_config.xml files appropriately).
I should probably mention the above is accurate for TM1 10.2 or newer. For older versions the detailed steps are slightly different e.g. the file is called Web.config.
Kamil Arendt
-
- Posts: 28
- Joined: Thu Dec 29, 2011 4:39 pm
- OLAP Product: Cognos
- Version: 9.5.2
- Excel Version: 2003
Re: Multiple TM1 Apps
Thanks QML!
Can you provide a little more details?
I am using 10.2.2.
One app and one webserver.
In my \webapps\tm1web\WEB-INF\configuration\tm1web_config.xml I have the following parameters set/or not set.
SET
<add key="AdminHostName" value="servername.com" />
NOT SET
<add key="TM1ServerName" value="" />
By not setting TM1ServerName I get the drop-down list as I have have 2+ TM1 Servers.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
So for your solution to this you are saying to make copy of \webapps\tm1web. I am guessing the name would change to like \webapps\tm1web1
So my original URL would be this:
http://servername.com:9510/tm1web
My new one would be this:
http://servername.com:9510/tm1web1
Like you say both parameters would be SET
<add key="AdminHostName" value="servername.com" />
<add key="TM1ServerName" value="TM1Servername" />
How is Tomcat aware of second directory structure? Is there something else to set or install?
Thanks!
Can you provide a little more details?
I am using 10.2.2.
One app and one webserver.
In my \webapps\tm1web\WEB-INF\configuration\tm1web_config.xml I have the following parameters set/or not set.
SET
<add key="AdminHostName" value="servername.com" />
NOT SET
<add key="TM1ServerName" value="" />
By not setting TM1ServerName I get the drop-down list as I have have 2+ TM1 Servers.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
So for your solution to this you are saying to make copy of \webapps\tm1web. I am guessing the name would change to like \webapps\tm1web1
So my original URL would be this:
http://servername.com:9510/tm1web
My new one would be this:
http://servername.com:9510/tm1web1
Like you say both parameters would be SET
<add key="AdminHostName" value="servername.com" />
<add key="TM1ServerName" value="TM1Servername" />
How is Tomcat aware of second directory structure? Is there something else to set or install?
Thanks!
- qml
- MVP
- Posts: 1096
- Joined: Mon Feb 01, 2010 1:01 pm
- OLAP Product: TM1 / Planning Analytics
- Version: 2.0.9 and all previous
- Excel Version: 2007 - 2016
- Location: London, UK, Europe
Re: Multiple TM1 Apps
You've got it exactly right.
Another thing worth mentioning is that if you upgrade TM1 in the future you might have to redo these steps.
Tomcat will recognise the new folder as a new web app simply because this is one of the supported ways to deploy apps in Tomcat. You will however need to restart the Tomcat service for that to happen. You shouldn't need to do anything else, really. You might want to give your web apps some nicer names than tm1web/tm1web1, but that is up to you.mcguija wrote:How is Tomcat aware of second directory structure? Is there something else to set or install?
Another thing worth mentioning is that if you upgrade TM1 in the future you might have to redo these steps.
Kamil Arendt
-
- Posts: 28
- Joined: Thu Dec 29, 2011 4:39 pm
- OLAP Product: Cognos
- Version: 9.5.2
- Excel Version: 2003
Re: Multiple TM1 Apps
So I can name /tm1web anything? It would make sense to name it after my application.
i will give it a go!
j.

i will give it a go!
j.
-
- Posts: 28
- Joined: Thu Dec 29, 2011 4:39 pm
- OLAP Product: Cognos
- Version: 9.5.2
- Excel Version: 2003
Re: Multiple TM1 Apps
Hi QML,
It seems to work!!
After I login (SSO) the URL looks like this:
http://servername.com:9510/tm1web/applications.jsp.
I made copy of the folder \webapps\tm1web\ and renamed it.
Is is normal that I don't see the renamed folder? It reverted back to /tm1web after fully logged in.
Let me know.
j.
It seems to work!!
After I login (SSO) the URL looks like this:
http://servername.com:9510/tm1web/applications.jsp.
I made copy of the folder \webapps\tm1web\ and renamed it.
Is is normal that I don't see the renamed folder? It reverted back to /tm1web after fully logged in.
Let me know.
j.
- qml
- MVP
- Posts: 1096
- Joined: Mon Feb 01, 2010 1:01 pm
- OLAP Product: TM1 / Planning Analytics
- Version: 2.0.9 and all previous
- Excel Version: 2007 - 2016
- Location: London, UK, Europe
Re: Multiple TM1 Apps
Sorry, it's been a while since I did this, so my recollection wasn't fully accurate. What you need to do is copy/rename the tm1web.war file and the corresponding working folder which contains unpacked application files gets created by Tomcat automatically.mcguija wrote:Is is normal that I don't see the renamed folder? It reverted back to /tm1web after fully logged in.
Kamil Arendt
-
- Posts: 28
- Joined: Thu Dec 29, 2011 4:39 pm
- OLAP Product: Cognos
- Version: 9.5.2
- Excel Version: 2003
Re: Multiple TM1 Apps
Hi QML,
I deleted the copy of the tm1web folder I had created and renamed.
I then copied and renamed the tm1web.war. I don't know what you mean by the "corresponding working folder".
If I only make copy of Tm1web.war and restart Tomcat it creates a new folder with new name, I then modify the two entries in tm1web_config.xml. I can login but the url shows /tm1web, not my new one.
Is that correct or is it because i missed the "corresponding working folder"? Can you explain?
Thanks
J.
I deleted the copy of the tm1web folder I had created and renamed.
I then copied and renamed the tm1web.war. I don't know what you mean by the "corresponding working folder".
If I only make copy of Tm1web.war and restart Tomcat it creates a new folder with new name, I then modify the two entries in tm1web_config.xml. I can login but the url shows /tm1web, not my new one.
Is that correct or is it because i missed the "corresponding working folder"? Can you explain?
Thanks
J.
-
- Posts: 28
- Joined: Thu Dec 29, 2011 4:39 pm
- OLAP Product: Cognos
- Version: 9.5.2
- Excel Version: 2003
Re: Multiple TM1 Apps
Hi QML, I now understand your sentence "corresponding working folder". I just read that wrong.
That did work, the only issue let is like I was saying after fully authenticated I still see original folder not the new one created.
Please advise if you can.
Thanks!
j.
That did work, the only issue let is like I was saying after fully authenticated I still see original folder not the new one created.
Please advise if you can.
Thanks!
j.