command to encrypt user_keystore_config returns error "cannot execute binary file"
search cancel

command to encrypt user_keystore_config returns error "cannot execute binary file"

book

Article ID: 233368

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

Running the command to encrypt the user_keystore_config file results in the below error:

[xyz@myhost classes]$ java -DAW_HOME=${AW_HOME} -cp AppWorx.jar:uc4-ra.jar com.appworx.util.EncryptKeystoreFile testpassword
bash: ./uc4-ra.jar: cannot execute binary file


Environment

Release : 9.4

Component : APPLICATIONS MANAGER

Resolution

In Windows, the command should contain a semicolon:

java -DAW_HOME=${AW_HOME} -cp AppWorx.jar;uc4-ra.jar com.appworx.util.EncryptKeystoreFile password

In Unix/Linux, the command should contain a colon:

java -DAW_HOME=${AW_HOME} -cp AppWorx.jar:uc4-ra.jar com.appworx.util.EncryptKeystoreFile password