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.
- In the
default_master.properitesfile set the value of RiskVision Reportuser Password to 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-config - Step 5 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 dbPassword with the PostgreSQL database password
- Change
encrypt.done=truetoencrypt=true - Run step 4 and 5 again to fix the PostgreSQL password.
