HRM retrieval errors: file not found

Preconditions

HRM in 1000 works fine with Java 8/Tomcat 7 and older Ubuntu
However with server on latest Ubuntu LTS Java 8 and Tomcat 8.5 there have been multiple file retrieval errors with different files each time

Steps to Reproduce

HRM production account with latest installation instructions and DEB

Expected Result

HRM rarely errors

Observed Result

5 or more HRM error reports in the users inbox a day
... although some HRM files do make it through normally

catalina for a typical error
2019-08-26 06:29:00,001 INFO [HRMDownloadJob:77] Starting HRM Job
2019-08-26 06:29:01,911 INFO [SFTPConnector:543] HRM: starting auto fetch
2019-08-26 06:29:01,912 INFO [SFTPConnector:549] HRM: remoteDirroduction
2019-08-26 06:29:03,421 ERROR [SFTPConnector:633] Couldn't perform SFTP fetch for HRM - notifying user of failure
2: File not found: /users/13HAILEYBUL001P/Production/20190826060403785_90428947_4264_DI_DII20190826-0004_201908260603-0400_P__F_TG011917-20_78_95467.xml
at com.jcraft.jsch.ChannelSftp.throwStatusError(ChannelSftp.java:2629)
at com.jcraft.jsch.ChannelSftp.rm(ChannelSftp.java:1838)
at org.oscarehr.hospitalReportManager.SFTPConnector.deleteDirectoryContents(SFTPConnector.java:338)
at org.oscarehr.hospitalReportManager.SFTPConnector.startAutoFetch(SFTPConnector.java:563)
at org.oscarehr.hospitalReportManager.v2018.HRMDownloadJob.run(HRMDownloadJob.java:94)
at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:53)
at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2019-08-26 06:29:03,431 INFO [SFTPConnector:741] HRM retrieval error: notifying 101
2019-08-26 06:29:03,474 INFO [HRMDownloadJob:96] ===== HRM JOB DONE RUNNING....

Additional Comments

These files are lost and do not come in later. This risks reports not making it to the physician
Today we got 13 HRM files delivered and 10 retrieval errors
Status From Subject Date Patient
deleted System HRM Retrieval Error 2019-08-26 19:58:04
deleted System HRM Retrieval Error 2019-08-26 17:58:05
deleted System HRM Retrieval Error 2019-08-26 15:58:15
deleted System HRM Retrieval Error 2019-08-26 14:29:04
deleted System HRM Retrieval Error 2019-08-26 14:00:08
deleted System HRM Retrieval Error 2019-08-26 12:29:04
deleted System HRM Retrieval Error 2019-08-26 11:00:08
deleted System HRM Retrieval Error 2019-08-26 10:58:04
deleted System HRM Retrieval Error 2019-08-26 08:29:07
deleted System HRM Retrieval Error 2019-08-26 06:29:03

LOG:
Transaction Date Transaction Type External System Initiating Provider Connected Downloaded Number of Files Deleted
2019-08-26 20:29 Automatic HRM Hutten-Czapski, Peter Yes Yes 1 Yes
2019-08-26 20:00 Automatic HRM Hutten-Czapski, Peter Yes Yes 1 Yes
2019-08-26 19:58 Automatic HRM Hutten-Czapski, Peter Yes Yes 3 No
2019-08-26 19:29 Automatic HRM Hutten-Czapski, Peter Yes Yes 0 No
2019-08-26 19:00 Automatic HRM Hutten-Czapski, Peter Yes Yes 0 No
2019-08-26 18:58 Automatic HRM Hutten-Czapski, Peter Yes Yes 0 No
2019-08-26 18:29 Automatic HRM Hutten-Czapski, Peter Yes Yes 2 Yes
2019-08-26 18:00 Automatic HRM Hutten-Czapski, Peter Yes Yes 0 No
2019-08-26 17:58 Automatic HRM Hutten-Czapski, Peter Yes Yes 5 No
2019-08-26 17:29 Automatic HRM Hutten-Czapski, Peter No No N/A No
2019-08-26 17:00 Automatic HRM Hutten-Czapski, Peter Yes Yes 1 Yes
2019-08-26 16:58 Automatic HRM Hutten-Czapski, Peter Yes Yes 1 Yes
2019-08-26 16:29 Automatic HRM Hutten-Czapski, Peter Yes Yes 0 No
2019-08-26 16:00 Automatic HRM Hutten-Czapski, Peter Yes Yes 0 No
2019-08-26 15:58 Automatic HRM Hutten-Czapski, Peter Yes Yes 7 No
2019-08-26 15:29 Automatic HRM Hutten-Czapski, Peter No No N/A No
2019-08-26 15:00 Automatic HRM Hutten-Czapski, Peter Yes Yes 0 No
2019-08-26 14:58 Automatic HRM Hutten-Czapski, Peter Yes Yes 0 No
2019-08-26 14:29 Automatic HRM Hutten-Czapski, Peter Yes Yes 2 No
2019-08-26 14:00 Automatic HRM Hutten-Czapski, Peter Yes Yes 1 No
2019-08-26 13:58 Automatic HRM Hutten-Czapski, Peter Yes Yes 2 Yes
2019-08-26 13:29 Automatic HRM Hutten-Czapski, Peter Yes Yes 0 No
2019-08-26 13:00 Automatic HRM Hutten-Czapski, Peter Yes Yes 0 No
2019-08-26 12:58 Automatic HRM Hutten-Czapski, Peter Yes Yes 0 No
2019-08-26 12:29 Automatic HRM Hutten-Czapski, Peter Yes Yes 1 No
2019-08-26 12:00 Automatic HRM Hutten-Czapski, Peter Yes Yes 0 No
2019-08-26 11:58 Automatic HRM Hutten-Czapski, Peter Yes Yes 2 Yes
2019-08-26 11:29 Automatic HRM Hutten-Czapski, Peter No No N/A No
2019-08-26 11:00 Automatic HRM Hutten-Czapski, Peter Yes Yes 1 No
2019-08-26 10:58 Automatic HRM Hutten-Czapski, Peter Yes Yes 3 No
2019-08-26 10:29 Automatic HRM Hutten-Czapski, Peter Yes Yes 1 Yes
2019-08-26 10:00 Automatic HRM Hutten-Czapski, Peter Yes Yes 0 No
2019-08-26 09:58 Automatic HRM Hutten-Czapski, Peter Yes Yes 3 Yes
2019-08-26 09:29 Automatic HRM Hutten-Czapski, Peter Yes Yes 3 Yes
2019-08-26 09:00 Automatic HRM Hutten-Czapski, Peter Yes Yes 0 No
2019-08-26 08:58 Automatic HRM Hutten-Czapski, Peter Yes Yes 5 Yes
2019-08-26 08:29 Automatic HRM Hutten-Czapski, Peter Yes Yes 7 No
2019-08-26 08:00 Automatic HRM Hutten-Czapski, Peter Yes Yes 0 No
2019-08-26 07:58 Automatic HRM Hutten-Czapski, Peter Yes Yes 3 Yes
2019-08-26 07:29 Automatic HRM Hutten-Czapski, Peter Yes Yes 0 No
2019-08-26 07:00 Automatic HRM Hutten-Czapski, Peter Yes Yes 0 No
2019-08-26 06:58 Automatic HRM Hutten-Czapski, Peter Yes Yes 0 No
2019-08-26 06:29 Automatic HRM Hutten-Czapski, Peter Yes Yes 1 No
2019-08-26 06:00 Automatic HRM Hutten-Czapski, Peter Yes Yes 0 No
2019-08-26 05:58 Automatic HRM Hutten-Czapski, Peter Yes Yes 0 No
2019-08-26 05:29 Automatic HRM Hutten-Czapski, Peter Yes Yes 0 No
2019-08-26 05:00 Automatic HRM Hutten-Czapski, Peter Yes Yes 0 No
2019-08-26 04:58 Automatic HRM Hutten-Czapski, Peter Yes Yes 0 No
2019-08-26 04:29 Automatic HRM Hutten-Czapski, Peter Yes Yes 0 No
2019-08-26 04:00 Automatic HRM Hutten-Czapski, Peter Yes Yes 0 No

Assignee

Marc Dumontier

Reporter

Peter H-C

Labels

OSCAR Build Date

2019/07/26

OSCAR Build Tag

1000

Client Browser

Firefox

Client OS

Ubuntu

Are you or your organization planning on submitting a fix for this bug in the next 30 days?

No

Validated by Reporter

No

SourceForge Link

None

SourceForge Reporter

None

SourceForge Assigned To

None

SourceForge Date Created

None

SourceForge ID

None

Affects versions

Priority

8
Configure