talend - jasper tJasperReportExec 无法在 linux 上工作

talend - jasper tJasperReportExec not working on linux

我正在使用 TOS Talend。我有一份工作,其中我正在使用 tJasperReportExec。来自数据库 table 的电子邮件 ID 列表的作业 运行s 并以 excel 格式向每个电子邮件 ID 发送报告输出。

作业设计如下图

tmysqlinput --> tflowtoiterate --> tJasperReportExec --> tsendMail tmysqlConnection

工作 运行 在 Windows 中很好。但是,当我 运行 在 linux 上工作时,它会抛出错误

*Exception in component tJasperReportExec_1 (burstreports)
java.lang.Exception: No Connection or JRDataSource available to fill the report
    at de.jlo.talendcomp.jasperreportexec.JasperReportExecuter.fillReport(JasperReportExecuter.java:595)
    at cropin_talend.burstreports_0_1.burstreports.tMysqlInput_1Process(burstreports.java:824)
    at cropin_talend.burstreports_0_1.burstreports.runJobInTOS(burstreports.java:1717)
    at cropin_talend.burstreports_0_1.burstreports.main(burstreports.java:1571)*

对此有什么想法吗?

抱歉回答迟了

我必须将 subjobok 上的 tmssqlconnection 连接到作业的其余部分。这有效。

tmssqlconnection --> onsubjobok -->tmysqlinput --> tflowtoiterate --> tJasperReportExec

谢谢