When opening the URL for the Jaspersoft login page, below error is presented:
Checking at jasperserver.log files, there are several messages as below (in this case Oracle database is referred, but it might happen for other RDBMS).
ERROR JDBCExceptionReporter,localhost-startStop-2:101 - Cannot create PoolableConnectionFactory ([TibcoSoftwareInc][Oracle JDBC Driver][Oracle]ORA-28000: the account is locked
The explanation is that for some reason the Jaspersoft account to connect to the database has been locked.
Reset the password in both the RDBMS used (PostgreSQL, MySQL, MS-SQL, Oracle) and in Jasper Server application.
Below process documents an example of Oracle database and Jaspersoft database user named as "admjasper".
- stop Jasper Server
- make sure you can login to Oracle with that user "admjasper"
- if not, reset the password on the database user account
- make sure the same database user password is defined in context.xml file located, for example, under:
"..\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\jasperserver-pro\META-INF"
a. Open the file with a text editor:
b. Replace the details on the connection, enter the pwd in non-encrypted way for Oracle, save and restart Jaspersoft.
username="admjasper" password="<type password in plain-text here>"
- restart Jasper