Errore "Access Denied" con Scheduled Report: Difference between revisions
Jump to navigation
Jump to search
New page: http://www.jasperforge.org/index.php?option=com_joomlaboard&Itemid=215&func=view&catid=10&id=25290#25290 We've identified the cause. This bug manifests when you set the "Overwrite Files" ... |
mNo edit summary |
||
| Line 1: | Line 1: | ||
Se si tenta di eseguire un Report Schedulato, che invece viene eseguito normalmente interattivamente, e si riceve l'errore (in messages): | |||
<pre> | |||
00:01:46,158 ERROR ReportExecutionJob,JasperServerScheduler_Worker-1:186 - org.acegisecurity.AccessDeniedException: Access is denied | |||
org.acegisecurity.AccessDeniedException: Access is denied | |||
</pre> | |||
==Fix sulle permission== | |||
Impostare come Permission sulla cartella '''reports''', by User | |||
Tomcat/Readonly | |||
Verificare inoltre che Tomcat possa scrivere nella "Reports_Batch" con la medesima procedura. | |||
==Fix con Patch== | |||
Precedentemente si diceva, ma la precedente procedura lo rende inutile: | |||
http://www.jasperforge.org/index.php?option=com_joomlaboard&Itemid=215&func=view&catid=10&id=25290#25290 | http://www.jasperforge.org/index.php?option=com_joomlaboard&Itemid=215&func=view&catid=10&id=25290#25290 | ||
| Line 9: | Line 28: | ||
http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/0jasperserver_api_metadata_impl_1.jar | http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/0jasperserver_api_metadata_impl_1.jar | ||
==Riferimenti== | |||
*[http://www.jasperforge.org/index.php?option=com_joomlaboard&Itemid=215&func=view&id=23780&catid=10 JasperForge - Re:Scheduled: org.acegisecurity.AccessDeniedExcept - JasperForge.org Forum] | |||
Latest revision as of 09:27, 25 June 2008
Se si tenta di eseguire un Report Schedulato, che invece viene eseguito normalmente interattivamente, e si riceve l'errore (in messages):
00:01:46,158 ERROR ReportExecutionJob,JasperServerScheduler_Worker-1:186 - org.acegisecurity.AccessDeniedException: Access is denied org.acegisecurity.AccessDeniedException: Access is denied
Fix sulle permission
Impostare come Permission sulla cartella reports, by User
Tomcat/Readonly
Verificare inoltre che Tomcat possa scrivere nella "Reports_Batch" con la medesima procedura.
Fix con Patch
Precedentemente si diceva, ma la precedente procedura lo rende inutile:
We've identified the cause. This bug manifests when you set the "Overwrite Files" flag for a report job. The bug has been fixed after 1.2.1 was released.
Workarounds:
- If you don't actually need to set "Overwrite Files", don't.
- Apply the attached patch either by unpacking it into WEB-INF/classes or by copying it to WEB-INF/lib.