Changing the Zookeeper Port Number

Before you begin

You must perform below changes only if have entered an invalid Zookeeper port number in the Kafka TCP port assignments screen when installing the Plant Applications Message Bridge.

Procedure

  1. Stop the CDC service.
  2. Navigate to <installation_directory>\Service-EventuateCDC.
  3. Open the nssm-create-cdc-service.bat file using a text editor.
  4. Modify the Zookeeper port number in CDCArguments with a valid port number.
  5. Save your changes to the nssm-create-cdc-service.bat file.
    The nssm-create-cdc-service.bat file is modified with the valid Zookeeper port number.
  6. Restart the CDC service.
  7. In the directory <tomcat_home>/Apache Software Foundation/Tomcat 9.0/webapps/<service_name><version>/WEB-INF/classes, access the application.properties file by using a text editor. Where:
    • <tomcat_home>: Is the directory where you installed Apache Tomcat. For example, C:/Program Files.
    • <service_name>: Is the service for which you must modify the zookeeper port number. Below are the list of services for which you need to modify the Zookeeper port number.
      • Labour App service
      • Route service App
      • Operator App service
      • Plant Execution App Service
      • Work Order History Service
      • Approval cockpit App Service
      • Comment service
      • Comment App service
      • Product app service
      • ERP export App service
    • <version>: Is the version of the microservice created during the installation of the Plant Applications Web Client.
  8. For the each service listed above, enter the valid Zookeeper port number in the respective application.properties files.
  9. Save changes to the application.properties file for all the service listed above.
  10. Restart Tomcat to apply the changes.