If you are using the overlay upgrade procedure with PostgreSQL as your database and you installed an earlier version of JasperReports Server, you might see an HTTP Status 404 error. The jasperserver-por.log file will show something like:
ERROR ContextLoader,Thread-1:307 - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'proMaintenanceSchedulerTriggers' defined in ServletContext resource [/WEB-INF/applicationContext-audit.xml]: Cannot resolve reference to bean 'heartbeatTrigger' while setting constructor argument with key [1];
The occurs because if you use the Installer, in the default master properties file we have the user postgres and in context.xml we have the user jasperdb.
If this occurs, perform the following procedure:
1. | Back up your existing master properties. |
2. | Change the DB user in the master properties to jasperdb. |
3. | Run the overlay upgrade. |
Recommended Comments
There are no comments to display.