PCK.AUTOMIC_ARTIFACTORY Jobs fail if Agent resource directory path contains a space

Document ID : KB000087989
Last Modified Date : 14/04/2018
Show Technical Document Details
Affects Release version(s): 6;7

Error Message :
Error: Unable to access jarfile C:\Program

When using the Package Artifactory (PCK.AUTOMIC_ARTIFACTORY), Jobs fail if the Agent's resource directory path contains a space, such as:

C:\Program Files (x86)\automic_test\Agents\Windows\Resources

The following error messages are displayed.
20170615/143505.194 - U02001096 Job '1540020' uses client-wide resource '100:PCK.ITPA_SHARED.PRV.STORE/ITPATOOL.JAR' - 'C:\Program Files (x86)\automic_test\Agents\Windows\Resources\0100\itpa-tool.jar'. 
20170615/143505.198 - U02001096 Job '1540020' uses client-wide resource '100:PCK.AUTOMIC_NEXUS.PRV.STORE/NEXUSTOOL' - 'C:\Program Files (x86)\automic_test\Agents\Windows\Resources\0100\nexus-tool.jar'. 

c:\>"C:\Program Files (x86)\automic_test\agents\windows\bin\UCXJWX6M.EXE" JNR=0001540020 MNR=0100 PNR=2300 IPA= TYP=S TXT=" Job started" 
Program 'UC4 Job Messenger' version '12.0.0+build.3427' started 
UCMDJP: ********************************************************************* 
UCMDJP: ** JOB 0001540020 (ProcID:0000004584) START AT 15.06.2017/14:35:05 ** 
UCMDJP: ** UTC TIME 15.06.2017/13:35:05 ** 
UCMDJP: ********************************************************************* 
Connected with agent 'XXXXXXX' 
Program 'UC4 Job Messenger' version '12.0.0+build.3427' terminated normally 
"PARAM: Nexus URL = xxxx" 
"PARAM: Username = xxxx" 
"PARAM: Password = --108A62B8BB9F6676E257DE45B7E1695317" 
"PARAM: Group ID = xxx" 
"PARAM: Artifact ID =xxxx" 
"PARAM: Version = 1.6.0" 
"PARAM: Repository = xxxxxx" 
"PARAM: Packaging type = " 
"PARAM: Artifact Classifier = " 
"PARAM: Artifact Extension = zip" 
"PARAM: Folder to save in ="C:/RISK_RSSRM_PKG_1.0" 

Error: Unable to access jarfile C:\Program
OS: Windows
OS Version: N/A
Cause type:
Root Cause: Missing double quotes when calling the java command which includes the resource path.
Update to a fix version listed below or a newer version if available.

Fix Status: Released

Fix Version(s):
Package Artifactory 1.1.1 - Available
Additional Information:
Workaround :
Install Windows Agent in a different location, one without a space in the resource path name.