Question
How to completely remove Tomcat from Plesk server?
Answer
Note: the below steps are only for Tomcat installed via Plesk.
Click to expand the solution for the platform in use:
Windows
- Connect to the server via RDP .
- Go to Windows Programs and Features
- Right-click on Apache Tomcat and select Uninstall .
- Remove folder:
"%plesk_dir%"vartomcat
Remove folder:
"%plesk_dir%"isapitomcat7
- Reboot the server.
- Login to Plesk
- Go to Tools & Settings > Server Components and click Refresh.
Linux
- Connect to the server via SSH .
- Remove Tomcat manually:
# yum remove tomcat – for CentOS7/RHEL7/CloudLinux 7
# yum remove tomcat6 – for CentOS6/RHEL6/CloudLinux6
# apt-get remove tomcat – for Debian/Ubuntu - Login to PleskÂ
- Go to Tools & Settings > Server Components and click Refresh.