As root, run rpm with the erase flag (-e) on the WAF RPMs that you installed. The command will look like:
rpm -ev ccm-core-x.y.z-a.rpm ccm-servlet-x-y.z.a-b.rpm |
Files that were generated during server configuration or that were written by the servlet engine (such as compiled JSP files) will be left behind. To remove these files as well, you may want to delete the application's directory like so:
rm -rf /var/www/ccm-core |