Question & Answer
Question
We are trying to use the script encrypt.sh located in ../ASBNode/bin to encrypt the password to use in ISDadmin.sh and we are receiving an error: We use the following steps to encrypt the password /opt/IBM/ASBNode/bin>encrypt.sh Enter the text to encrypt: Enter the text again to confirm: {iisenc}2qskmrMVgGXdsdcbgLc2hQ== Then when we run the script with the encrypted we see the following. /opt/IBM/ASBNode/bin>ISDAdmin.sh -action disable -ur isduser -pw {iisenc}2qskmrMVgGXdsdcbgLc2hQ== -application MyApp Error Exception in thread "P=906680:O=0:CT" java.lang.NullPointerException at com.ibm.is.isd.tools.admin.RunTimeEnableDisableTask.processCommand (RunTimeEnableDisableTask.java:436) at com.ibm.is.isd.tools.admin.ISDAdmin.processArgs(ISDAdmin.java:76) at com.ibm.is.isd.tools.admin.ISDAdmin.main(ISDAdmin.java:120)
Answer
The best way to do this is to simply use an authorization file
This is the command for using the authorization file.
ISDAdmin.sh -action deploy -authfile
/home/dsadm/dsadmcredential.txt -p MyProject -a MyApp
here's what authorization file dsadmcredential.txt looks like
# dsadm credentials
user=isduser
password={iisenc}wFFjdkpR7NGbbD93AUC2Ag==
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21608299