Question & Answer
I re-installed the beta version on our development box and am getting this error :
CWWKG0014E: The configuration parser detected an XML syntax error while parsing the root of the configuration and the referenced configuration documents. Error: An invalid XML character (Unicode: 0x4c) was found in the prolog of the document. File: file:/XXX/zosconnect/v3r0/var/zosconnect/servers/XXX/server.xml Line: 1 Column: 1
It seems like the server.xml file has been encoded as EBCDIC (`0x4c` is
'<' in EBCDIC) and the file would start with
z/OS Connect EE expects server.xml to be in Unicode/UTF8 so when it sees the first character,
'<', encoded as
0x4c (EBCDIC) in the file it actually reads
'L' (Unicode/UTF8) which is an invalid character with which to start an XML file.
Something that commonly causes this is problem is using FTP in ASCII or AUTO mode to transfer files to and from zFS. This performs an ASCII to host codepage (EBCDIC) conversion as it transfers the files. As such it is important to always use BINARY mode when using FTP to transfer z/OS Connect EE server files.
07 May 2018