8.4. Uninstall JBoss Enterprise Application Platform 6 From an RPM Installation
Log into the server.
Log into the server where JBoss Enterprise Application Platform 6 is installed and gain root access.Optional: Create a list of files and directories created by the RPM installation.
To create a list of files and directories created by the RPM installation, run the commandrpm -ql jboss-eap6 > /tmp/jbeap6.txt. The reason to do this step is because removing the RPM may not remove all of these files and directories from your system. You may need to remove some of them by hand.Remove the package with the
yumcommand.Use the YUMgroupremovecommand to remove thejboss-eap6group.yum groupremove jboss-eap6Optional: Check for and remove files or directories that were not removed by the
yum groupremovecommand.Check the list of files and directories created by therpm -qlcommand above. Remove any that were not removed automatically.
JBoss Enterprise Application Platform 6 is uninstalled from your server.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.