The VIVR VXML Connector server runs on a Tomcat7 instance, listening on port 8982 by default. The following procedure explains how to configure the server to use a different port.

To configure the VIVR VXML Connector port:

  1. Update the Tomcat Server listening port:
    • Stop the VIVR VXML Connector Server and VIVR VXML Connector Database processes (Starting and Stopping VIVR VXML Connector).
    • Open the <VIVR root>\tomcat\conf\server.xml file in a text editor.
    • Change the Tomcat listening port to the desired value. For example, replace
      8982
      with
      7070.
    • Save your changes.
  2. Update the jis-app.properties file:
    • Open the <VIVR root>conf/jis-app.properties file in a text editor.
      By default, the VIVR VXML Connector server endpoint is set to http://<host>:8982.
    • Change the endpoint's port by setting
      server.endpoint.port=<new port>
      .
    • Save the changes.
  3. From the conf directory, open the visualivr.xml file and update the
    VisualIVRPort
    setting . The following example shows how to configure the port to
    7070
    :

    <?xml version="1.0" encoding="UTF-8" ?>
    <VisualIVRConfiguration Version="1">
    <VisualIVRHost>192.168.1.1</VisualIVRHost>
    <VisualIVRPort>7070</VisualIVRPort>
    <ProjectsDirectory>C:/vivr/tomcat/jacada/vivr
    /projects</ProjectsDirectory>
    </VisualIVRConfiguration>
  4. Restart VIVR VXML Connector (Starting and Stopping VIVR VXML Connector).
  5. Update the VIVR VXML Connector Database:
    • Verify that the VIVR VXML Connector Database is running.
    • Open the <VIVR root>\scripts\mongo\bin\update_port.js file in a text editor.
    • Set the values of the currentPort and newPort variables to the desired values. By default, currentPort is set to 8982.

    • Save your changes.
    • From the Windows command line, go to <VIVR root>\mongodb\bin and run the following command:
      mongo.exe<VIVR root>\scripts\mongo\update_port.js.

      Once the command is completed, the database is updated. There is no need to restart VIVR VXML Connector.

Revision:

Comments