Upgrade 4.15.07 to 4.16.01 - maleformed \uxxxx encoding

Got following error when i upgrading edge on management server:

/opt/apigee/apigee-migrate/bin/migrate.sh -c edge -f /data/config-test

Using defaults from /data/config-test
Please enter old apigee root directory (/opt): /data
Please enter old apigee data directory (/opt): /data
Checking for required variables
Checking required variable RUN_USER...OK
Checking required variable OLD_APIGEE_ROOT...OK
Checking required variable OLD_DATA_ROOT...OK

apigee-service: apigee-migrate: Not running (NO_PIDFILE)

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

Service upgrade: Apigee Enterprise management-server

Loaded plugins: product-id, rhnplugin, search-disabled-repos, security
This system is receiving updates from RHN Classic or Red Hat Satellite.
Setting up Install Process
Package edge-management-server-4.16.01-0.0.892.noarch already installed and latest version
Nothing to do
apigee-configutil: edge-management-server: # OK
Server Stopped Successfully.
apigee-service: edge-management-server: Not running (DEAD)

java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
at java.util.Properties.loadConvert(Properties.java:568)
at java.util.Properties.load0(Properties.java:391)
at java.util.Properties.load(Properties.java:341)
at com.apigee.config.util.CompareProperties.loadByFilename(CompareProperties.java:211)
at com.apigee.config.util.CompareProperties.loadByFilenameWithNamespace(CompareProperties.java:193)
at com.apigee.config.util.CompareProperties.combinePropertiesWithNameSpace(CompareProperties.java:139)
at com.apigee.config.util.CompareProperties.compareFolders(CompareProperties.java:60)
at com.apigee.config.util.DiffUtil.main(DiffUtil.java:21)
Malformed \uxxxx encoding.
usage: com.apigee.config.util.DiffUtil -o <output> -f1 <folder1> -f2 <folder2> [-i <ignore pattern file>]
-cm,--camelcase-mapping <file> [Optional] Camel case mapping. Defaults to <empty>
-f1,--folder1 <file> Folder 1
-f2,--folder2 <file> Folder 2
-h,--help [Optional] print this message and exit
-i,--ignore-patterns-file <file> [Optional] Ignore patterns file. Defaults to /tmp/ignore_patterns.txt
-o,--output-report <file> Output report file
Error: sudo-apigee-service: /data/jdk/bin/java exited with unexpected status 255
Error: migrate.sh: /opt/apigee/apigee-service/bin/apigee-service exited with unexpected status 255

I checked the /data/config-test file, this looks fine. (it's the same as on all other servers and ther it is working)

How can i find the properties which has this error?

Thanks,

Pascal

0 2 851
2 REPLIES 2

Not applicable

Without looking at your config-test it is difficult to know what is wrong.

I recommend adding double quotes (") around very value on the file and make sure that if you copy this file from Windows to Linux run dos2unix.

This error occurs when there are unexpected or corrupted files under /opt/apigee4/conf/apigee/management-server

If there are certs or any other files that you created, move them out and rerun the migration script.

To setup certs follow instructions here http://docs.apigee.com/private-cloud/latest/configuring-ssl-management-api and http://docs.apigee.com/private-cloud/latest/configuring-ssl-management-ui