cleanup after patch on jboss 6.2 & 6.3 eap
Is there any method to clean up the unused libraries/files after a patch is applied and verified as OK.
Responses
Peter - the JBoss EAP patching mechanism relies on the original files for the purposes of rollback. Deleting the unused libraries and other files would result in the rollback functionality failing.
For details of how files are replaced when a patch is applied, see "About Patching Mechanisms" [1].
Do you have specific concerns about leaving the unused files in place - security or disk space?
[1] https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/6.3/html-single/Installation_Guide/index.html#About_Patching_Mechanisms
There is the /core-service=patching:ageout-history", which should remove patches that are not in use from the history.
But it means you still keep GA jars + latest CP jars. Only beneficial if you have multiple CPs installed.
There is an open bugzilla on this https://bugzilla.redhat.com/show_bug.cgi?id=1118852
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
