Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
jasonatunr
Contributor III
Contributor III

Target Remote Execution generates stream closed error

When executing remotely from client to job server (Run Tab -> Target Exec). I get the following error when calling a child job from a parent job.

The job that generates this is a parent job (containing only the child job) and a child job containing a tJava that outputs text to console. However, I can reproduce this error by putting anything in the child job. The only thing that will make the error go away is by ticking the "Use an independent process to run subjob" on the child job inside the parent.

2020-10-16 13:18:41|20201016131841_dVRtM|20201016131841_dVRtM|20201016131841_dVRtM|24581|IRIS_HCM_ETL|ParentTest|_PWOg0A_sEeutVrrLfbJ3vg|0.1|Default||begin||

2020-10-16 13:18:41|oSNkKU|20201016131841_dVRtM|20201016131841_dVRtM|24581|IRIS_HCM_ETL|ChildTest|_SYXcIA_sEeutVrrLfbJ3vg|0.1|Default||begin||

java.io.IOException: Stream closed

at sun.nio.cs.StreamEncoder.ensureOpen(StreamEncoder.java:45)

at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:118)

at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:113)

at java.io.OutputStreamWriter.write(OutputStreamWriter.java:194)

at routines.system.ResumeUtil$SimpleCsvWriter.write(ResumeUtil.java:502)

at routines.system.ResumeUtil.addLog(ResumeUtil.java:145)

at iris_hcm_etl.childtest_0_1.ChildTest.runJobInTOS(ChildTest.java:2219)

at iris_hcm_etl.childtest_0_1.ChildTest.runJob(ChildTest.java:2055)

at iris_hcm_etl.parenttest_0_1.ParentTest.tRunJob_1Process(ParentTest.java:536)

at iris_hcm_etl.parenttest_0_1.ParentTest.runJobInTOS(ParentTest.java:2381)

at iris_hcm_etl.parenttest_0_1.ParentTest.main(ParentTest.java:2156)

this 

is 

test 

2020-10-16 13:18:41|oSNkKU|20201016131841_dVRtM|20201016131841_dVRtM|24581|IRIS_HCM_ETL|ChildTest|_SYXcIA_sEeutVrrLfbJ3vg|0.1|Default||end|success|52

2020-10-16 13:18:41|20201016131841_dVRtM|20201016131841_dVRtM|20201016131841_dVRtM|24581|IRIS_HCM_ETL|ParentTest|_PWOg0A_sEeutVrrLfbJ3vg|0.1|Default||end|success|75

[statistics] disconnected

java.io.IOException: Stream closed

at sun.nio.cs.StreamEncoder.ensureOpen(StreamEncoder.java:45)

at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:118)

at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:113)

at java.io.OutputStreamWriter.write(OutputStreamWriter.java:194)

at routines.system.ResumeUtil$SimpleCsvWriter.write(ResumeUtil.java:502)

at routines.system.ResumeUtil.addLog(ResumeUtil.java:145)

at iris_hcm_etl.childtest_0_1.ChildTest.runJobInTOS(ChildTest.java:2320)

at iris_hcm_etl.childtest_0_1.ChildTest.runJob(ChildTest.java:2055)

at iris_hcm_etl.parenttest_0_1.ParentTest.tRunJob_1Process(ParentTest.java:536)

at iris_hcm_etl.parenttest_0_1.ParentTest.runJobInTOS(ParentTest.java:2381)

at iris_hcm_etl.parenttest_0_1.ParentTest.main(ParentTest.java:2156)

1 Reply
Anonymous
Not applicable

Hello,

Are you having this error in the technical log file at the same time? Is there a proxy or firewall between the job server and its target?

Best regards

Sabrina