RAD shell issue connecting to the Data server

By default, you cannot use an ! (exclamation) character in the tbsmadmin password on Windows systems. It results in errors in the TBSM trace logs and the Rad Shell does not connect to the Data server. This topic outlines how to encrypt the tbsmadmin passwords that contain an ! character.

Symptoms

You cannot connect to the Data server using Rad Shell and no Rad Shell prompt is displayed. An error is created in the TBSM trace logs:
com.ibm.ws.wim.adapter.file.was.FileAdapter login
com.ibm.websphere.wim.exception.PasswordCheckFailedException: 
CWWIM4512E The password match failed.
Note: This issue does not occur when you log in from the TBSM user interface.

Cause

This is a limitation in the use of the ! character in Windows batch programming.

Resolution

To ensure that the correct encryption is generated for the tbsmadmin password when it contains an ! (exclamation) character, use the nci_crypt command, located in the $TBSM_HOME/bin directory, to generate the encrypted password and escape the ! character with a ^ character. For example, to encrypt a password, t!padm!m, execute the command:
nci_crypt "t^!padm^!n"
Add the output of this command as the value for property impact.server.vmm.admin.password in the property files in $TBSM_HOME/etc..

Dashboard server

  • $TBSM_HOME/etc/server.props
  • $TBSM_DASHBOARD_SERVER_HOME/etc/RAD_sla.props

Data server

$TBSM_HOME/etc/server.props