Page 1 of 1
Application tunit creation failed unexpectedly - Contributor
Posted: Thu Dec 19, 2013 5:49 am
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.
Re: Application tunit creation failed unexpectedly - Contrib
Posted: Thu Dec 19, 2013 2:44 pm
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.
Re: Application tunit creation failed unexpectedly - Contrib
Posted: Thu Dec 19, 2013 10:45 pm
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.
Re: Application tunit creation failed unexpectedly - Contrib
Posted: Fri Dec 20, 2013 12:08 am
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.
Re: Application tunit creation failed unexpectedly - Contrib
Posted: Fri Dec 20, 2013 2:07 am
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.
Re: Application tunit creation failed unexpectedly - Contrib
Posted: Fri Dec 20, 2013 2:17 am
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