"Malformed input or input contains unmappable characters" error when generating backup reports
Article ID
2043
Product Version
AhsayCBS: 8.1 or above
Operating System
All Platforms
Symptom
The following error message is shown in the AhsayCBS obs_context_yyyy-mm-dd.log when a backup report cannot be generated, when AhsayOBM/AhsayACB client is running on a Windows machine.
dd-mon-yyyy hh:mm:ss.SEVERE [tomcatThreadPool-https-0.0.0.0-443-3] org.apache.catalina.core.ApplicationContext.log Target path: "null". com.ahsay.c: [FileService.preList] Access is denied for path "db/ClientLogs/F4-8E-6A-8B-FC-3C-Atal?a/log". Error: Malformed input or input contains unmappable characters: /%user_home_path%/%username%/db/ClientLogs/F4-8E-6A-8B-FC-3C-Atal?a/log. |
Cause
The issue is caused by a Windows login name which contains non-ascii character(s) from a machine where AhsayOBM/AhsayACB client is installed on.
Resolution
AhsayCBS default installation path is %AhsayCBS_INSTALL_PATH%.
- Windows: C:\Program Files\AhsayCBS
- Linux/Unix: /usr/local/cbs
- AhsayUBS: /ubs/mnt/eslsfw/obsr
To resolve the issue:
- Stop the AhsayCBS service.
- Stop the AhsayCBS NFS service.
-
Use a text editor to open the %AhsayCBS_INSTALL_PATH%\conf\cbssvc.ini file.
-
Add the following entries to the file.
- -Dfile.encoding=UTF-8
- -Dsun.jnu.encoding=UTF-8
- Save the new settings.
- Start the AhsayCBS service.
- Start the AhsayCBS NFS service.