Permission denied for relation jiresourcefolder after upgrading jasper server from 7.2 to 8.1
search cancel

Permission denied for relation jiresourcefolder after upgrading jasper server from 7.2 to 8.1

book

Article ID: 269958

calendar_today

Updated On:

Products

CA Service Management - Service Desk Manager CA Service Desk Manager

Issue/Introduction

After upgrade to JasperSoft 8.1.1, login page shows a 404 error and the following message in the log: ERROR: permission denied for relation jiresourcefolder.

jasperserver.log

ERROR SqlExceptionHelper,localhost-startStop-2:131 - ERRORE: permission denied for relation jiresourcefolder.
ERROR EhCacheImpl,localhost-startStop-2:557 -  -- JasperServer:  EhCacheImpl shutdown called.  This normal shutdown operation. 
ERROR EhCacheImpl,localhost-startStop-2:560 -  -- JasperServer:  EhCacheImpl calling cleanerTimer.cancel().  This normal shutdown operation. 
ERROR ContextLoader,localhost-startStop-2:350 - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'proOnStartPropagator' defined in ServletContext resource [/WEB-INF/applicationContext-onStart-web-pro.xml]: Invocation of init method failed; nested exception is com.jaspersoft.jasperserver.api.JSExceptionWrapper: could not extract ResultSet; SQL [n/a]; nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet
Arguments: 
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1631)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
...
    at java.lang.Thread.run(Thread.java:748)
Caused by: com.jaspersoft.jasperserver.api.JSExceptionWrapper: could not extract ResultSet; SQL [n/a]; nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet

Environment

Release : 17.3 RU22+

Jasper: 8.1.1

Cause

Jasper Tomcat services are running during the installation

Resolution

1. Ensure to stop the Jasper Tomcat service before starting the JasperSoft upgrade process

2. Re-run the JasperSoft upgrade process