Print

Uninstalling Tomcat application server

Use this procedure if you need to uninstall a Tomcat Application server that you manually installed on the same machine as the Avaya Experience Portal software.

Procedure

  1. Log on to Linux on the Experience Portal server with root privileges.
  2. Stop the application server by entering the service appserver stop command.
  3. Wait for 30 seconds, then make sure that the application server stopped successfully by entering the /sbin/service appserver status command.
  4. If this command returns the message appserver (pid pid) is running:
    1. Make a note of the process ID pid.
    2. Enter the kill pid command, where pid is the process ID returned by the service command.
  5. Unregister the service by entering the systemctl disable appserver command.
  6. Enter the cd /etc/init.d command.
  7. Delete the application server script file by entering the rm appserver command.
  8. Enter the cd /etc/profile.d command.
  9. Delete the configuration files by entering the rm appserver.* command.

    If the system prompts for confirmation, type Y and press Enter.

  10. Delete the application server files by entering the rm -rf tomcat-install-directory command, where tomcat-install-directory is the top-level directory under which Tomcat is installed.

    If you installed the application server using the automatic installation script included with Experience Portal, or if you used the default installation directory given in the manual installation procedure, enter rm -rf /opt/Tomcat/AppServer