Any actions on RA JMS Jobs result in error message "The system cannot find the path specified."

Document ID : KB000084671
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Affects Release version(s): 11

Error Message :
The system cannot find the path specified.

Any actions on RA JMS Jobs result in the above error message.

The user is not able to edit or create any RA objects from the User Interface after the system has been updated to version 11.2 or greater.  This happens only if the User Interface is installed in Program Files under Windows.

On a Windows system, the User Interface should not be installed in Program Files, because that user may not have sufficient privileges to create temp folders and files.

Investigation
  • The core part is in version 11.2.2 build 622 for the test (Hadoop agent).
  • Install the RA framework (uc4-ra.jar). The version is: RA Framework 7.1.3-dev+build.3 Build: Mon Aug 22 14:17:53 PDT 2016.
  • Put this file in the UserInterface \bin directory as well as any RA agent\bin\shared directory.
  • Restart agents and GUI
System Properties

In Properties, we examined the way an application can use the Properties objects to maintain its configuration. The Java platform itself uses a Properties object to maintain its own configuration. The System class maintains a Properties object that describes the configuration of the current working environment. System properties include information about the current user, the current version of the Java runtime, and the character used to separate components of a file path name.

The following table describes some of the most important system properties


 
KeyMeaning
"file.separator"Character that separates components of a file path. This is "/" on UNIX and "\" on Windows.
"java.class.path"Path used to find directories and JAR archives containing class files. Elements of the class path are separated by a platform-specific character specified in the path.separator property.
"java.home"Installation directory for Java Runtime Environment (JRE)
"java.vendor"JRE vendor name
"java.vendor.url"JRE vendor URL
"java.version"JRE version number
"line.separator"Sequence used by operating system to separate lines in text files
"os.arch"Operating system architecture
"os.name"Operating system name
"os.version"Operating system version
"path.separator"Path separator character used in java.class.path
"user.dir"User working directory
"user.home"User home directory
"user.name"User account name
Environment:
OS: Windows
OS Version: N/A
Cause:
Cause type:
Defect
Root Cause: File permission problem when trying to create sub directories under C:/Program Files (x86).
Resolution:
Update to a fix version listed below or a newer version if available.

Fix Status: In Progress

Fix Version(s):
Automation Engine 12.2.0 - Planned release date: 2018-06-19
Automation Engine 12.1.1 - Available
Automation.Engine 12.0.4 - Available
Automation.Engine 11.2.7 - Available
Additional Information:
Workaround :
Modify file permissions to get around this.  

As far as changing the Base64JarClassLoader, add a check to see if the path contains "Program Files", if it does then use user.home.  

This way the restrictions will only happen to users who install in "Program Files" or "Program Files (x86)".