Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.2.1
-
Fix Version/s: 3.1.4 (EE only), 3.2.3 (EE only), 3.3.0
-
Component/s: Core: Bootstrap / Standalone, Core: Deployment
-
Labels:None
-
Environment:
Windows
-
User impact:Low
-
Similar Issues:None
Description
The parse method of org.mule.module.launcher.descriptor.PropertiesDescriptorParser does not close the FileInputStream when reading properties from the Application Deployment Descriptor (mule-deploy.properties). This can result in failed hotdeploy when the file is to be deleted.
Change code in parse method from:
p.load(new FileInputStream(descriptor));
to:
FileInputStream is = new FileInputStream(descriptor); try { p.load(is); } finally { is.close(); }