ERROR inputstream is closed
Posted: Wed Aug 03, 2016 7:01 pm
Hi there,
I'm trying to resolve a intermittent error that appears every so often. we have a transfer job that is scheduled to run every 10 mins and every so often the Job fails with the error message - ERROR inputstream is closed.
I've pasted a sample of the log below. Has anyone come across this issue?
4/8/16 4:50:30 INFO Start Date and Time: 4/8/16 4:50:30
4/8/16 4:50:30 INFO Job Number: 1000001651213
4/8/16 4:50:30 INFO Project Name: /sftp-ftp-***
4/8/16 4:50:30 INFO Submitted By: UPYPSJ0003
4/8/16 4:50:30 INFO Submitted From: Scheduler
4/8/16 4:50:30 INFO GoAnywhere 5.0.1 running on Windows Server 2008 R2 6.1 (amd64)
4/8/16 4:50:30 INFO Overriding variable 'JobUsername' with value 'UPJ0003'
4/8/16 4:50:30 INFO Overriding variable 'JobPrivateKeyPassphrase' with value '***'
4/8/16 4:50:30 INFO Executing project 'sftp-ftp-***'
4/8/16 4:50:30 INFO Project location: d:\userdata\projects\sftp-ftp-***.xml
4/8/16 4:50:30 INFO Executing module 'Main'
4/8/16 4:50:30 INFO Executing task 'createWorkspace 1.0 (Create clean workspace for transfer)'
4/8/16 4:50:30 INFO Workspace directory for this job is set to 'd:\userdata\workspace\1000001651213'.
4/8/16 4:50:30 INFO Finished task 'createWorkspace 1.0 (Create clean workspace for transfer)'
4/8/16 4:50:30 INFO Executing task 'sftp 1.0 (SFTP Get src data)'
4/8/16 4:50:30 INFO Connecting to 'company.org' at port '22' as user 'UPJ0003'
4/8/16 4:50:30 INFO Executing sub-task 'get'
4/8/16 4:50:30 INFO Closed the FTP connection
4/8/16 4:50:30 ERROR inputstream is closed
4/8/16 4:50:30 INFO Finished project 'sftp-ftp-***'
4/8/16 4:50:30 ERROR inputstream is closed
com.linoma.ga.projects.runtime.JobFailedException: inputstream is closed
at com.linoma.ga.projects.runtime.Job.run(Unknown Source)
at com.linoma.dpa.util.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at com.linoma.dpa.util.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.linoma.dpa.ExecutionException: inputstream is closed
at com.linoma.ga.projects.tasks.ftp.FTPFileSet.getFileList(Unknown Source)
at com.linoma.ga.projects.tasks.ftp.FTPFileSet.getFileList(Unknown Source)
at com.linoma.ga.projects.tasks.ftp.FTPUtilities.getMasterRemoteFileList(Unknown Source)
at com.linoma.ga.projects.tasks.ftp.GetAction.internalValidate(Unknown Source)
at com.linoma.ga.projects.tasks.ftp.GetAction.execute(Unknown Source)
at com.linoma.ga.projects.tasks.ftp.AbstractFTPTask.execute(Unknown Source)
at com.linoma.ga.projects.ModuleV2.execute(Unknown Source)
at com.linoma.ga.projects.Project.execute(Unknown Source)
at com.linoma.ga.projects.runtime.Job.executeProject(Unknown Source)
... 4 more
Caused by: com.linoma.ga.projects.tasks.ftp.FTPInterfaceException: inputstream is closed
at com.linoma.ga.projects.tasks.ftp.SFTPImpl.setWorkingDirectory(Unknown Source)
... 13 more
Caused by: inputstream is closed (status_code=4)
at com.jcraft.jsch.ChannelSftp.cd(Unknown Source)
at com.jcraft.jsch.ChannelSftp.cd(Unknown Source)
... 14 more
Caused by: java.io.IOException: inputstream is closed
at com.jcraft.jsch.ChannelSftp.fill(Unknown Source)
at com.jcraft.jsch.ChannelSftp.header(Unknown Source)
at com.jcraft.jsch.ChannelSftp._realpath(Unknown Source)
... 16 more
4/8/16 4:50:30 INFO End Date and Time: 4/8/16 4:50:30
I'm trying to resolve a intermittent error that appears every so often. we have a transfer job that is scheduled to run every 10 mins and every so often the Job fails with the error message - ERROR inputstream is closed.
I've pasted a sample of the log below. Has anyone come across this issue?
4/8/16 4:50:30 INFO Start Date and Time: 4/8/16 4:50:30
4/8/16 4:50:30 INFO Job Number: 1000001651213
4/8/16 4:50:30 INFO Project Name: /sftp-ftp-***
4/8/16 4:50:30 INFO Submitted By: UPYPSJ0003
4/8/16 4:50:30 INFO Submitted From: Scheduler
4/8/16 4:50:30 INFO GoAnywhere 5.0.1 running on Windows Server 2008 R2 6.1 (amd64)
4/8/16 4:50:30 INFO Overriding variable 'JobUsername' with value 'UPJ0003'
4/8/16 4:50:30 INFO Overriding variable 'JobPrivateKeyPassphrase' with value '***'
4/8/16 4:50:30 INFO Executing project 'sftp-ftp-***'
4/8/16 4:50:30 INFO Project location: d:\userdata\projects\sftp-ftp-***.xml
4/8/16 4:50:30 INFO Executing module 'Main'
4/8/16 4:50:30 INFO Executing task 'createWorkspace 1.0 (Create clean workspace for transfer)'
4/8/16 4:50:30 INFO Workspace directory for this job is set to 'd:\userdata\workspace\1000001651213'.
4/8/16 4:50:30 INFO Finished task 'createWorkspace 1.0 (Create clean workspace for transfer)'
4/8/16 4:50:30 INFO Executing task 'sftp 1.0 (SFTP Get src data)'
4/8/16 4:50:30 INFO Connecting to 'company.org' at port '22' as user 'UPJ0003'
4/8/16 4:50:30 INFO Executing sub-task 'get'
4/8/16 4:50:30 INFO Closed the FTP connection
4/8/16 4:50:30 ERROR inputstream is closed
4/8/16 4:50:30 INFO Finished project 'sftp-ftp-***'
4/8/16 4:50:30 ERROR inputstream is closed
com.linoma.ga.projects.runtime.JobFailedException: inputstream is closed
at com.linoma.ga.projects.runtime.Job.run(Unknown Source)
at com.linoma.dpa.util.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at com.linoma.dpa.util.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.linoma.dpa.ExecutionException: inputstream is closed
at com.linoma.ga.projects.tasks.ftp.FTPFileSet.getFileList(Unknown Source)
at com.linoma.ga.projects.tasks.ftp.FTPFileSet.getFileList(Unknown Source)
at com.linoma.ga.projects.tasks.ftp.FTPUtilities.getMasterRemoteFileList(Unknown Source)
at com.linoma.ga.projects.tasks.ftp.GetAction.internalValidate(Unknown Source)
at com.linoma.ga.projects.tasks.ftp.GetAction.execute(Unknown Source)
at com.linoma.ga.projects.tasks.ftp.AbstractFTPTask.execute(Unknown Source)
at com.linoma.ga.projects.ModuleV2.execute(Unknown Source)
at com.linoma.ga.projects.Project.execute(Unknown Source)
at com.linoma.ga.projects.runtime.Job.executeProject(Unknown Source)
... 4 more
Caused by: com.linoma.ga.projects.tasks.ftp.FTPInterfaceException: inputstream is closed
at com.linoma.ga.projects.tasks.ftp.SFTPImpl.setWorkingDirectory(Unknown Source)
... 13 more
Caused by: inputstream is closed (status_code=4)
at com.jcraft.jsch.ChannelSftp.cd(Unknown Source)
at com.jcraft.jsch.ChannelSftp.cd(Unknown Source)
... 14 more
Caused by: java.io.IOException: inputstream is closed
at com.jcraft.jsch.ChannelSftp.fill(Unknown Source)
at com.jcraft.jsch.ChannelSftp.header(Unknown Source)
at com.jcraft.jsch.ChannelSftp._realpath(Unknown Source)
... 16 more
4/8/16 4:50:30 INFO End Date and Time: 4/8/16 4:50:30