Any actions on RA JMS Jobs result in error message "The system cannot find the path specified."
Article ID: 84671
CA Automic Workload Automation - Automation Engine
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.
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
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
Character that separates components of a file path. This is "/" on UNIX and "\" on Windows.
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.
Installation directory for Java Runtime Environment (JRE)
JRE vendor name
JRE vendor URL
JRE version number
Sequence used by operating system to separate lines in text files
Operating system architecture
Operating system name
Operating system version
Path separator character used in java.class.path
User working directory
User home directory
User account name
Cause type: Defect Root Cause: File permission problem when trying to create sub directories under C:/Program Files (x86).
OS: Windows OS Version: N/A
Update to a fix version listed below or a newer version if available.
Fix Status: Fixed
Fix Version(s): Automation Engine 12.2.0 - Available Automation Engine 12.1.1 - Available Automation.Engine 12.0.4 - Available Automation.Engine 11.2.7 - Available
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)".