Bug 1016016
Summary: | Running console uninstaller more than once will corrupt uninstaller.jar | ||
---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Petr Kremensky <pkremens> |
Component: | Installer | Assignee: | Miles Tjandrawidjaja <mtjandra> |
Status: | CLOSED NOTABUG | QA Contact: | Petr Kremensky <pkremens> |
Severity: | medium | Docs Contact: | Russell Dickenson <rdickens> |
Priority: | unspecified | ||
Version: | 6.2.0 | CC: | mtjandra, thauser |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-10-08 05:54:03 UTC | 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: |
Description
Petr Kremensky
2013-10-07 10:18:20 UTC
The uninstaller.jar should not be able to run more than once. After running uninstaller.jar the jar itself will be deleted. The message "Error: Unable to access jarfile uninstaller.jar" is expected since the uninstaller.jar no longer exists. Example: [mtjandra]> java -jar nofile.jar Error: Unable to access jarfile nofile.jar The second scenario occurs when you try to run the uninstaller.jar as it is being removed. There is some sort of lock that doesn't allow the program to delete itself, so it spawns a replica, during this time the uninstaller.jar has been deleted which is why you get a FileNotFoundException. Choosing the force the deletion adds a -f flag. Hope this helps. Hi Miles, my mistake here. My problem here was that I could start gui uninstaller more time,but -console only once, but for some reason I didn't realized that running console uninstaller will actualy delete it (switched "Force the deletion" message to "Quit" from gui in my mind). Thanks for clarification. Closing as NOTABUG. |