EnableBulkLoadMode() stopping TM1Web for other instances

Post Reply
failurehappening
Posts: 78
Joined: Tue Nov 30, 2010 1:18 am
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2010

EnableBulkLoadMode() stopping TM1Web for other instances

Post by failurehappening »

Hi

We have a windows server running one Admin Server, one Web Application Server hosting multiple tm1sd.exe instances.

Normally when users want to access the system, they can goto http://servername/tm1web/TM1WebLogin.aspx, this then gives them a drop down box to select which instance they want to logon to. All pretty usual behavior.

I then put one of the instances into bulk load mode with the following process:

Prolog:

Code: Select all

EnableBulkLoadMode() ;
Sleep ( 5mins);
Epilog:

Code: Select all

DisableBulkLoadMode() ;
This process runs no problem, it enters bulk mode, waits for 5 mins and then exists bulk mode. Ops Console shows that the instance is in BulkMode & unless a connection was established before the process was started tm1top can't connect.

Architect users can logon to the other instances no problem and carry on developing, running processes etc

Contributor uses can access the the Applications through http://servername:9510/pmpsvc/applications.jsp, however, they do get a pop up telling them that instance 1 is not available as it is bulk mode. So all good.

However, if while this is running if I try and enter tm1web through the same URL (http://servername/tm1web/TM1WebLogin.aspx) i get the error:
TM1APIDOTNET Exception: - Cannot find security Service
And can progress no further into TM1Web. As soon as the instance exits out of bulk mode, everything returns to normal

I have tried specifying the AdminHost and TM1ServerName in the url, but this just brings me back to the main page with the dropdown (http://servername/TM1Web/TM1WebLogin.as ... =Instance2)

The web.config file has the line
<add key="TM1ServerName" value=""/>

The log tm1web.log has the following entries:
2014-04-02 15:50:27,438 [8] ERROR Applix.TM1.Web.Page.TM1WebError - Error in: http://ausyd01mt652/TM1Web/TM1WebMiniLo ... TM1Server=
2014-04-02 15:50:27,438 [8] ERROR Applix.TM1.Web.Page.TM1WebError - Request Info - Browser: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36, User Host Name: 172.19.28.100, Method: GET, Encoding: System.Text.UTF8Encoding, Content Length: 0, Content Type:
2014-04-02 15:50:27,438 [8] ERROR Applix.TM1.Web.Page.TM1WebError - Action Type:
2014-04-02 15:50:27,438 [8] ERROR Applix.TM1.Web.Page.TM1WebError - Value:
2014-04-02 15:50:27,438 [8] ERROR Applix.TM1.Web.Page.TM1WebError - Error Details:
Applix.TM1.API.Internal._TM1ApiDotNetException: TM1APIDOTNET Exception: - Cannot find security service.
at Applix.TM1.API.Internal._TM1Main.GetServerConfigInfo(String serverName)
at Applix.TM1.API.Internal._TM1Main.GetCAMLoginEnabled(String serverName)
at Applix.TM1.Web.Page.TM1WebMiniLogin.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2014-04-02 15:50:44,162 [5] ERROR Applix.TM1.Web.Page.TM1WebError - Error in: http://ausyd01mt652/TM1Web/TM1WebMiniLo ... TM1Server=
2014-04-02 15:50:44,162 [5] ERROR Applix.TM1.Web.Page.TM1WebError - Request Info - Browser: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; MS-RTC LM 8; Tablet PC 2.0), User Host Name: 172.19.28.100, Method: GET, Encoding: System.Text.UTF8Encoding, Content Length: 0, Content Type:
2014-04-02 15:50:44,162 [5] ERROR Applix.TM1.Web.Page.TM1WebError - Action Type:
2014-04-02 15:50:44,162 [5] ERROR Applix.TM1.Web.Page.TM1WebError - Value:
2014-04-02 15:50:44,162 [5] ERROR Applix.TM1.Web.Page.TM1WebError - Error Details:
Applix.TM1.API.Internal._TM1ApiDotNetException: TM1APIDOTNET Exception: - Cannot find security service.
at Applix.TM1.API.Internal._TM1Main.GetServerConfigInfo(String serverName)
at Applix.TM1.API.Internal._TM1Main.GetCAMLoginEnabled(String serverName)
at Applix.TM1.Web.Page.TM1WebMiniLogin.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Has anyone seen BulkMode affect TM1Web for other instances?

TM1 Build Number: 10.1.10000.26473
RHR
declanr
MVP
Posts: 1831
Joined: Mon Dec 05, 2011 11:51 am
OLAP Product: Cognos TM1
Version: PA2.0 and most of the old ones
Excel Version: All of em
Location: Manchester, United Kingdom
Contact:

Re: EnableBulkLoadMode() stopping TM1Web for other instances

Post by declanr »

http://www.tm1forum.com/viewtopic.php?f=3&t=9640

As per above i logged this issue with IBM but they set the issue to resolved after I hadn't replied for a few days (since I was busy putting a workaround in place.)

You can try logging it with IBM and seeing if anything comes out of it.
Declan Rodger
failurehappening
Posts: 78
Joined: Tue Nov 30, 2010 1:18 am
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2010

Re: EnableBulkLoadMode() stopping TM1Web for other instances

Post by failurehappening »

Thanks Declan

We'll try with IBM, but I have a feeling I know what the default answer will be.

Our work around is to create a separate TM1Web application in IIS for each instance on TM1, therefore each has a separate web.config file that is directed at the instance. Not ideal as a number of upsteam systems are generating URLs that point to TM1web - which may now need to be changed as well.
RHR
Post Reply