Problem Note 62997: SAS® Environment Manager Service Architecture scripts might fail when Unicode characters are in the platform "Description" field
The emi_init.sh|.bat and apm_init.sh|.bat scripts in SAS Environment Manager Service Architecture can fail because of an exception caused by Unicode characters in the Description field. In the emiInit and apmInit logs, you see an error similar to the following:
2018-09-18 08:32:21,422 DEBUG [main] [XmlResponseHandler] - Unable to seserialize result
javax.xml.bind.UnmarshalException
- with linked exception:
[org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 120; An invalid XML
character (Unicode: 0x1c) was found in the value of attribute "description" and
element is "Resource".]
To verify that the Unicode characters in the Description field are the problem, follow these steps:
- Log on to SAS Environment Manager.
- Select Resources.
- Select Platforms.
- For each platform, inspect the Description field to see whether it contains Unicode characters.
The following figure shows Unicode characters in the Description field:

Workaround
Eliminate the Unicode characters and replace them with values that correspond to the operating system of the platform. Follow these steps:
- Log on to SAS Environment Manager.
- Select Resources.
- Select Platforms.
- In the list of platforms, select each platform where the Description field contains Unicode characters.
- Select Inventory.
- In the General Properties section, select Edit.
- In the Description field, edit the contents to describe the operating system of the platform that you are editing. For example, if the platform is Microsoft Windows 2012R, type Microsoft Windows 2012R in the Description field.
- Click OK to save the new description.
- Re-run the emi_init and apm_init scripts.
Operating System and Release Information
SAS System | SAS Environment Manager | Microsoft® Windows® for x64 | | |
64-bit Enabled AIX | | |
64-bit Enabled Solaris | | |
HP-UX IPF | | |
Linux for x64 | | |
Solaris for x64 | | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2018-11-05 10:42:21 |
Date Created: | 2018-09-27 14:06:40 |