Application tunit creation failed unexpectedly - Contributor

Post Reply
TF34375
Posts: 16
Joined: Thu Jul 04, 2013 11:57 am
OLAP Product: tm1
Version: 10.1
Excel Version: 2007

Application tunit creation failed unexpectedly - Contributor

Post by TF34375 »

Hi,

I am getting below error when I clicking the "Deploy" button in Performance Modeller to deploy an Application.

" java.lang.RuntimeException: Application tunit creation failed unexpectedly "

- I have DistributedPlanningOutputDir=..\tunit in tm1s.cfg. But as I was not able to see 'tunit' folder, I created it manually. But that didn't work.
- This error is only showing when I am deploying Application of type : "Approval". No error on Deploy for "Central" and "Responsibility" type applications
- Even though I an getting above error, applications are getting deployed and even running properly.

Any one faced this error before ?

thanks.
roy2087
Posts: 40
Joined: Wed Feb 06, 2013 9:53 am
OLAP Product: cognos tm1
Version: 10.1.1
Excel Version: 2007
Location: Bangalore,India

Re: Application tunit creation failed unexpectedly - Contrib

Post by roy2087 »

Hi,

Do not create the "tunit" folder.
TM1 will create the folder for you automatically when the "DistributedPlanningOutputDir"
parameter is mentioned in the .cfg file.

Follow this link:
http://pic.dhe.ibm.com/infocenter/ctm1/ ... 503fe.html

Regards,
Roy.
TF34375
Posts: 16
Joined: Thu Jul 04, 2013 11:57 am
OLAP Product: tm1
Version: 10.1
Excel Version: 2007

Re: Application tunit creation failed unexpectedly - Contrib

Post by TF34375 »

TM1 was not creating TUNIT folder automatically. So I tried creating it manually. But it didn't work.

Also, does Performance Modeller create TUNIT for all the Contributor applications deployment ?
If yes, then how did it successfully deployed "Central" and "Responsibility" type Contributor applications without creating "TUNIT" folder ?
.... and showing error only for 'Approval' application.
failurehappening
Posts: 78
Joined: Tue Nov 30, 2010 1:18 am
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2010

Re: Application tunit creation failed unexpectedly - Contrib

Post by failurehappening »

TM1 was not creating TUNIT folder automatically. So I tried creating it manually. But it didn't work.
Does the user that TM1 is running under have the permission to create folders in that directory? Try logging on as the user the TM1 server is running as, create a folder somewhere and then configuring TM1 to use that folder as the tUnit folder. This will ensure that the TM1 user has write permission to that folder.
RHR
TF34375
Posts: 16
Joined: Thu Jul 04, 2013 11:57 am
OLAP Product: tm1
Version: 10.1
Excel Version: 2007

Re: Application tunit creation failed unexpectedly - Contrib

Post by TF34375 »

failurehappening wrote:
TM1 was not creating TUNIT folder automatically. So I tried creating it manually. But it didn't work.
Does the user that TM1 is running under have the permission to create folders in that directory? Try logging on as the user the TM1 server is running as, create a folder somewhere and then configuring TM1 to use that folder as the tUnit folder. This will ensure that the TM1 user has write permission to that folder.
Yes, I am an Admin user on TM1 server.

I think, the creation of TUNIT folder will be handled by TM1, if a particular TM1 user has access to Performance Modeller.
failurehappening
Posts: 78
Joined: Tue Nov 30, 2010 1:18 am
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2010

Re: Application tunit creation failed unexpectedly - Contrib

Post by failurehappening »

Yes, I am an Admin user on TM1 server.
That's great, but not relevant, as writing to the file system is done by the account that TM1 is running under the user that is logged into TM1. What user is the TM1 service running under, goto Control Panel, Administrator Tools Services, scroll down to IBM.... and you will see your service - what account is that running under? This is (probably) not the user that you logon to TM1 with, but the windows account that the service is running under. If it is Local System, TM1 may not have access to the folder that you have configured to write out the tUnit to. Have a look at this for why preveliges the service account needs:

User accounts for running Cognos TM1 services on Windows
http://pic.dhe.ibm.com/infocenter/ctm1/ ... 701df.html
RHR
Post Reply