定时任务导出cpr失败

image.png

FineReport 燚燚燚 发布于 2023-1-4 12:03
1min目标场景问卷 立即参与
回答问题
悬赏:3 F币 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共1回答
最佳回答
0
snrtuemcLv8专家互助
发布于2023-1-4 12:06

这个你要取看失败原因,看看错误代码

  • 燚燚燚 燚燚燚(提问者) 2023/01/04 11:55:51 QuartzScheduler_Worker-75 ERROR [standard] [Resource] Failed to create \'/mnt/disk0/app/tomcat-linux/webapps/webroot/WEB-INF/schedule/test/2023-01-04/1155/通用结果/GettingStarted.cpr\' 权限不够 com.fr.workspace.resource.ResourceIOException: [Resource] Failed to create \'/mnt/disk0/app/tomcat-linux/webapps/webroot/WEB-INF/schedule/test/2023-01-04/1155/通用结果/GettingStarted.cpr\' 权限不够 at com.fr.io.cache.repository.EhCacheRepository.write(EhCacheRepository.java) at com.fr.io.sync.repository.SyncRepository.write(SyncRepository.java) at com.fr.io.utils.ResourceUnit.write(ResourceUnit.java) at com.fr.io.utils.ResourceIOUtils.write(ResourceIOUtils.java) at com.fr.workspace.engine.resource.FineWorkResource.write(FineWorkResource.java) at com.fr.workspace.engine.resource.FineWorkResourceAdaptor.write(FineWorkResourceAdaptor.java) at com.fr.workspace.resource.WorkResourceOutputStream.close(WorkResourceOutputStream.java) at com.fr.base.io.IOFile.export(Unknown Source) at com.fr.schedule.extension.report.job.output.OutputCpr.flush(Unknown Source) at com.fr.schedule.extension.report.job.output.BaseOutputFormat.export(Unknown Source) at com.fr.schedule.extension.report.job.execute.ReportCalculationJob.generateOutputFiles(Unknown Source) at com.fr.schedule.extension.report.job.execute.ReportCalculationJob.exportReportFiles(Unknown Source) at com.fr.schedule.extension.report.job.execute.ReportCalculationJob.exportResultBook(Unknown Source) at com.fr.schedule.extension.report.job.execute.ReportCalculationJob.actionAfterCalculateTemplateWorkBook(Unknown Source) at com.fr.schedule.extension.report.job.execute.ReportCalculationJob.calculateAndGenerateAttachment(Unknown Source) at com.fr.schedule.extension.report.job.execute.ReportCalculationJob.calculation(Unknown Source) at com.fr.schedule.feature.job.calculation.BaseCalculationJob.doJob(Unknown Source) at com.fr.schedule.feature.job.AbstractScheduleJob.run(Unknown Source) at com.fr.scheduler.job.FineScheduleJob.execute(FineScheduleJob.java) at com.fr.third.v2.org.quartz.core.JobRunShell.run(JobRunShell.java:205) at com.fr.third.alibaba.ttl.TtlRunnable.run(TtlRunnable.java:58) at com.fr.third.v2.org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:6
    2023-01-04 12:16 
  • 燚燚燚 燚燚燚(提问者) 权限不够 要给啥权限啊
    2023-01-04 12:17 
  • snrtuemc snrtuemc 回复 燚燚燚(提问者) 你是liunx服务器,没有创建文件穿线,你给tomcat-linux文件夹及下面的文件夹赋值777权限才可以
    2023-01-04 12:18 
  • snrtuemc snrtuemc 回复 燚燚燚(提问者) 参考https://jingyan.baidu.com/article/ea24bc39fbcb9d9b63b3317d.html
    2023-01-04 12:19 
  • 1关注人数
  • 335浏览人数
  • 最后回答于:2023-1-4 12:06
    请选择关闭问题的原因
    确定 取消
    返回顶部