Setting the spiuser password in HCL Commerce Developer
You must set the spiuser user password in your HCL Commerce development environment to allow
for your HCL Commerce servers to function together as expected.
About this task
The default password for the spiuser user in the provided sample DB2 Docker container is: passw0rd (with a zero)
If you specified a different password during Loading the HCL Commerce Developer database schema, then you must update your server properties so that the password is synchronized with the one that is in the database.
Procedure
-
Open a command line interface and navigate to the
WCDE_installdir\bin\ directory.
Set your spiuser user password in your HCL Commerce development environment. The method that you will use depends on the version of HCL Commerce Developer that you are using.
-
Encrypt the spiuser user password by running the following command.
Ensure that the spiuser_plain_text_password is the same plain text password that you specified in Loading the HCL Commerce Developer database schema.wcs_encrypt.bat spiuser_plain_text_password
- Copy the ASCII encoded string.
-
Update the ASCII encoded password for the Transaction server.
- Open the WCDE_installdir/wasprofile/config/cells/localhost/nodes/localhost/servers/server1/server.xml file.
- Update the value of the system property spi.password with the ASCII encoded string.
-
Generate the merchantKey encrypted password, and store it in the database.
-
Update the ASCII encoded password in the Search server and
Store server.
- Open the Liberty_installdir/usr/servers/crsServer/jvm.options file.
- Update the value of the spi.password with the ASCII encoded string.
- Open the Liberty_installdir/usr/servers/searchServer/jvm.options file.
- Update the value of the spi.password with the ASCII encrypted string.
-
Update the encrypted password in the Search server and Customization serverWebSphere Application Server V8.5.5 Liberty configuration for the
Search server and Customization server.
- If the Transaction, Search, Store, or Customization servers are running, restart the servers.