This section describes the steps to manually generate a password and copy it to %JASPER_HOME%\apache-tomcat\webapps\jasperserver-pro\META-INF\context.xml.
To generate a ciphertext password:
- Open the
default_master.properitesfile. - Set the value of RiskVision Reportuser Password to the dbPassword property (dbPassword is for the PostgreSQL database but for a workaround to generate RiskVision password we can use the dbPassword temporarily)
- Set
encrypt=true - Set
propsToEncrypt=dbPassword,sysPassword - In command line go to
%JASPER_HOME%\buildomatic - Run
js-ant refresh-configThis will replace the password value with the encrypted format. - Get the encrypted value of the dbPassword property and use that in the
context.xml - Revert the value of the dbPassword with the PostgreSQL database password.
- Change
encrypt.done=truetoencrypt=true - Run step 5 and 6 again to fix the PostgreSQL password.
