Artifact not found when viewing job definition in idash
search cancel

Artifact not found when viewing job definition in idash

book

Article ID: 115656

calendar_today

Updated On:

Products

iDash Workload Automation

Issue/Introduction

I have just installed idash (12.0.05.00-0304) on Windows 2012 Installation is successful and got most of the things working except the ability to view job definition.
I get artifact not found error as below :
" Artifact not found: DEV_TDSYS_BOX_RESTART_AutoSys_AS^TSD "

The log shows file not found error as below

18-09-14 01.14.22 [ERROR] http-nio-8080-exec-9:com.ca.idash.ws.services.common.JobService: 
com.ca.idash.core.exception.IdashException: java.io.FileNotFoundException:D:\Program Files\CA\idash\dat\tmp\comm.out0.5887586297530001 (The system cannot find the file specified)
    at com.ca.idash.core.instance.ae.UserCommand.doCommand(UserCommand.java:363)
    at com.ca.idash.core.instance.ae.UserCommand.doCommand(UserCommand.java:226)
    at com.ca.idash.core.job.Job.getJobDefinition(Job.java:161)

At this location I don’t see any out file however I do see comm.env0 file.
D:\Program Files\CA\idash\dat\tmp\comm.env0.5887586297530001
Which shows that it is running below command command=:autorep -J DEV_TDSYS_BOX_RESTART_AutoSys_AS -q -L 0 > D:\Program Files\CA\idash\dat\tmp\comm.out0.5887586297530001 2>&1 :

In the above command there is a space in "D:\Program Files\" and command is NOT quoted that’s why it creates a file called "D:\Program" every time I click on "JOB DEFINITION" button.
And this file contains the output of autorep command.

Environment

Release:
Component: AEIDSH

Resolution

iDash installation is on D drive.
I had to explicitly create a shortname PROGRA~1 for "Program Files".

You can do this with following command
mklink /J "D:\PROGRA~1" "D:\Program Files 

Best method:
1. uninstall iDash
2. enable fsutil and create shortname
D:\fsutil file setshortname "Program Files" PROGRA~1
3. install iDash

 

Additional Information

https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/fsutil