Red Hat Bugzilla – Bug 732030
IOException with Drift
Last modified: 2012-02-07 14:26:04 EST
Created attachment 519047 [details]
Drift io exception
Description of problem: IOException with drift
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. basic drift use-case ...
2. drift config
3. edit 1 file that is under drift detection
IOException in RHQ Server log. no customer facing impact, afaik
no exceptions in server log
Additional info: attachment showing error
This was a result of prematurely closing the input stream from the zip file containing the change set report. The change set reader was closing the stream after reading the file. This was a problem because the method used to traverse the zip file, ZipUtil.walkZipFile, expects the stream to remain open, and it handles closing the stream. This didn't cause any loss of functionality because we only send one change set report per zip file.
This issue has been fixed by explicitly telling the change set reader not to close the stream.
commit hash: 1fac1f54c438561b1c1907719d55b03f88e8aa43
changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE