Bug 1099724

Summary: Jandex -m deletes jars when temp dir is on different filesystem
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: James Livingston <jlivings>
Component: OtherAssignee: Rostislav Svoboda <rsvoboda>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Svehla <msvehla>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.1.0CC: joallen, kkhan, msvehla, rsvoboda
Target Milestone: DR4   
Target Release: EAP 6.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1148021    

Description James Livingston 2014-05-21 04:18:45 UTC
If you use jandex wth -m (e.g. from an ant task with modify="true") and Java's temp directory is on a different filesystem, it can result in the jar being deleted.

Comment 2 James Livingston 2014-05-22 06:19:18 UTC
Without the fix for JANDEX-24 too, it will create corrupt files rather than deleting them.

Comment 3 JBoss JIRA Server 2014-05-23 04:37:12 UTC
James Livingston <jlivings> updated the status of jira JANDEX-24 to Resolved

Comment 4 Rostislav Svoboda 2014-09-30 11:27:25 UTC
EAP 6.x PR - https://github.com/jbossas/jboss-eap/pull/1742

Comment 5 Rostislav Svoboda 2014-09-30 12:06:18 UTC
KB article https://access.redhat.com/solutions/409293 is mentioning '-m' option

Comment 6 Martin Svehla 2014-10-13 09:58:21 UTC
Verified with EAP 6.4.0.DR4 (jandex 1.2.2.Final)

Comment 7 Tomaz Cerar 2015-02-11 22:07:33 UTC
*** Bug 1191751 has been marked as a duplicate of this bug. ***