Scheduled report generates error "Access Denied"
search cancel

Scheduled report generates error "Access Denied"

book

Article ID: 186647

calendar_today

Updated On:

Products

Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

Error message when scheduled reports are run from Jasper / Advanced Reporting indicates an issue with the repository folder: Report Output.pdf was not saved to the repository

Quartz Job: ReportJobs.job_ Message: Report Output.pdf was not saved to the repository. An error interrupted the process. Exceptions: org.springframework.security.access.AccessDeniedException: Access is denied at org.springframework.security.access.vote.AffirmativeBased.decide(AffirmativeBased.java:83) at org.springframework.security.access.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:206) at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:60) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy68.saveResource(Unknown Source) at com.jaspersoft.jasperserver.multipleTenancy.PathTransformationRepositoryService.saveResource(PathTransformationRepositoryService.java:591) at sun.reflect.GeneratedMethodAccessor1149.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at 

Environment

Release : All Supported Releases

Component : CLARITY JASPERSOFT

Cause

You don't have permission to write output to the repository folder. 

Resolution

Option 1: Ensure that you have read + write permissions to the 'Output to Repository' field

Ensure you have this permission for the scheduled report. This will allow you to save the output to the repository.

  1. In Advanced Reporting, right-click on the Report and select Schedule
  2. Click 'Create Schedule'
  3. Click on the 'Output Options'
  4. Scroll down to 'Output Destination'
  5. View the 'Output to Repository' path
  6. Check to make sure you have read/write permissions to the repository path noted

Option 2: Uncheck the 'Output to Repository' setting altogether under output options

Do this if you only want the output through email. This setting can be unchecked under Output Destination.