. . .

Uninstallation on Windows

This guide describes the steps you need to perform to uninstall ApiOmat on a Windows Server.

Stop Services

First of all, you need to stop all services (MongoDB, Tomcat8 and (if installed) Apache2.4)

  • Via command prompt:

    $> net stop MongoDB
    $> net stop Tomcat8
    $> net stop Apache2.4
  • ... or via the Task Manager, using the Services-Tab

    images/download/attachments/14615184/stopService.png

Uninstall Services and Programs via App-Settings

Search for Apps & features via the windows search and uninstall the following services:

  • Tomcat 8:

    images/download/attachments/14615184/tomcat8_deinstall.png

  • Microsoft Visual C++ Redistrutable:

    images/download/attachments/14615184/visualstudio_deinstall.png

Uninstall Apache HTTP Server (if installed)

If you installed Apache HTTP server during the Dashboard installation, you don't have to uninstall it manually, as it gets removed automatically when uninstalling the Dashboard. If you installed Apache HTTP-Server during the yambas installation though, you have to uninstall it manually with the command prompt:

  1. Go to the bin directory where your Apache Server files reside. By default that's:

    $> cd C:\Apache24\bin
  2. Uninstall the Apache HTTP server service by executing:

    $> httpd.exe -k uninstall
  3. Manually remove the whole Apache directory with:

    $> rmdir /S C:\Apache24

Uninstall Java

  1. Uninstall the Java SE Development Kit through Apps & features:

    images/download/attachments/14615184/java_deinstall.png
  2. Remove Java from the Windows Registry. Type "regedit" in the Search Windows-field. There, go to Root>HKLM>SYSTEM>CurrentControlSet>Control>Session Manager>Environment . Delete the key "JAVA_HOME" with the Value "C:\Java\JDK8"

    images/download/attachments/14615184/deinstall_restore-service.png
  3. Remove Java from your Path. Type "environment variables" into the Search Windows-field, select "Path" under "System variables" and delete "C:\Java\JDK8\bin".

    images/download/attachments/14615184/delete_java_path.png

Delete ApiOmat and log-files

  1. Delete the log-files: ApiOmat creates log-files with Log4j. Open the file "%localappdata%/apiomat/config/log4j.xml" using the file explorer. The file contains the directories where the log files are written to. Delete the files in these locations manually.

    images/download/attachments/14615184/Bildschirmfoto-2017-05-19-um-10.19.09.png
  2. Delete remaining app-data by removing the directory "%localappdata%/apiomat/"

  3. Delete ApiOmat by deleting the directory "C:/Program Files/apiomat"

Uninstall MongoDB

  1. Delete Database and Log-files: Look into the config-file of your MongoDB ("mongod.cfg"). There you can see the paths where your mongodb-database and your mongodb-logfiles are written to. Go to these folders and delete them:

    images/download/attachments/14615184/remove-mongo-stuff.png
  2. Delete MongoDB via Apps & features:

    images/download/attachments/14615184/mondodb.png
  3. Delete the backup-task: Remove the "restore.cmd" in the Task-Scheduler:

    images/download/attachments/14615184/deinstall_restore-service.png

Close Ports

When installing ApiOmat, you had to open some ports. Close these ports via the "Windows Firewall with Advanced Security":

  • HTTP: Post 80

  • NTP: Port 123

  • Hazelcast: Port 5701

  • FTP: Port 2300 and Port 2022

    images/download/attachments/14615184/delete_firewall_rules.png
* link only available in Enterprise Documentation