The ReportUser password need to be changed in the below servers:
- MySQL database or Oracle database
- Application server
- Report server
For the MySQL database:
- Navigate to
%AGILIANCE_HOME%\MySQL\bin
and open the command prompt from that window. - Enter the following command:
mysql -u root -p
Enter the root password (by default the root password is agiliance).
- Check the connection for the reportuser by running the following query on the MySQL database:
SELECT * FROM USER WHERE USER = 'reportuser';
- Change the reportuser password using the following command:
SET PASSWORD FOR 'reportuser'@'REPORT_SERVER_HOST'= PASSWORD ('newpassword');
FLUSH PRIVILEGES;
Enter the exit command to exit from the MySQL DBexit;
- Run the below command on the:
> grant all on *.* to 'reportuser'@'<ip_address or hostname>' identified by 'reportuser' with grant option;
> flush privileges;
By default, the reportuser, username, and password is reportuser.
- Try logging in from MySQL with the reportuser and new password.
For the Oracle database:
ALTER user <username> IDENTIFIED BY <new_password>
For the Application Server:
- Encrypt the reportuser password with encrypt.cmd.
- Open command prompt and navigate to the
%AGILIANCE_HOME%\install\toolbox\bin
directory. - Run the command:
encrypt.cmd <password>
- Copy the encrypted password.
- Open the
%AGILIANCE_HOME%\config\agiliance.properties
file and set the following property:jasper.reportuser.password.encrypted=EncryptedString
- Restart the Application server.
For the Report Server:
- In file
%JASPER_HOME%\apache-tomcat\webapps\jasperserver-pro\WEB-INF\agiliance.properties
,
- Set the password for property
For the MySQL databasedatabase.mysql.password.encrypted=EncryptedString
For the Oracle databasedatabase.oracle.password.encrypted =SchemaUserPasswordinEncryptedString
- Restart the ReportServer
- On the RiskVision Report Server host, open a web browser, enter the URL
http://<localhost>:<port>/jasperserver-pro/-login.html
that will allow you to log in to the RiskVision Report Server in a standalone mode - Log in with sysadmin credentials (username as sysadmin and password as agiliance)
- On the View menu, click Repository
- Expand the Public folder, select Data Sources, and edit the RiskVision JDBC data source.
- Enter the new reportuser password
- Test connection
- Click Save
- Restart the jasperreportsTomcat service.