knobboll Posted July 23, 2007 Share Posted July 23, 2007 Hi, I try to add a scheduled report to Jasper Server 1.2.1 but when it get triggered I get an error message saying: Access is denied What am I missing can any help? Thanks ****************************************** Job: REP(ID: 24)Report unit: /Report/CR/REPQuartz Job: ReportJobs.job_24Quartz Trigger: ReportJobs.trigger_25_0Access is deniedorg.acegisecurity.AccessDeniedException: Access is denied at org.acegisecurity.vote.AffirmativeBased.decide(AffirmativeBased.java:68) at org.acegisecurity.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:275) at org.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:63) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210) at $Proxy2.getResource(Unknown Source) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.saveToRepository(ReportExecutionJob.java:441) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.sendToDestinations(ReportExecutionJob.java:295) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.execute(ReportExecutionJob.java:138) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Link to comment Share on other sites More sharing options...
lucianc Posted July 24, 2007 Share Posted July 24, 2007 The user that created the job is not allowed to write in the job's output folder. HTH,Lucian Link to comment Share on other sites More sharing options...
knobboll Posted July 24, 2007 Author Share Posted July 24, 2007 Thanks a lot for the reply.I presume you mean the output folder in JS.I run the job as jasperadmin and have given Administer rights for the folder where the output file should go to - but no luck :( Do you have another idea what the reason could be? Cheers, Clem Link to comment Share on other sites More sharing options...
lucianc Posted July 24, 2007 Share Posted July 24, 2007 Then it's this (I had forgotten about this issue). HTH,Lucian Link to comment Share on other sites More sharing options...
knobboll Posted July 25, 2007 Author Share Posted July 25, 2007 Yep. It works. You made my day :) Thanks a lot. Clem Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now