Skip to main content
Skip table of contents

UMM Configurations

Follow these steps for UMM configuration:

  1. Navigate to <installation-dir>\hybrid-chat\core\tomcat\apache-tomcat-8.5.47\webapps\umm\WEB-INF\classes 
  2. Open application.groovy file with any text editor.
  3. Update and save configurations, there is no need to restart any service in this case

Configuration

Umm configuration file contains a lot of code and configurations, only relevant configuration are relevant portion of configuration file is listed here. Please be careful when updating this file not to change any irrelevant thing in it:

GROOVY
dataSource {
    pooled = true
    dbCreate = "update"
    url = System.getenv("UMM_DB_URL")?:"jdbc:jtds:sqlserver://192.168.1.45/ChatServerQA;instance=BNPTEST"
    driverClassName = System.getenv("UMM_DB_DRIVER")?:"net.sourceforge.jtds.jdbc.Driver"
    dialect = System.getenv("UMM_DB_DIALECT")?:"org.hibernate.dialect.SQLServer2008Dialect"
    username = System.getenv("UMM_DB_USER")?:"sa"
    password = System.getenv("UMM_DB_PASS")?:"Expertflow464"
    properties {
        jmxEnabled = true
        initialSize = 5
        maxActive = 50
        minIdle = 5
        maxIdle = 25
        maxWait = 10000
        maxAge = 10 * 60000
        timeBetweenEvictionRunsMillis = 5000
        minEvictableIdleTimeMillis = 60000
        validationQuery = "SELECT 1"
        validationQueryTimeout = 3
        validationInterval = 15000
        testOnBorrow = true
        testWhileIdle = true
        testOnReturn = false
        jdbcInterceptors = "ConnectionState;StatementCache(max=200)"
        defaultTransactionIsolation = java.sql.Connection.TRANSACTION_READ_COMMITTED
    }
}
GROOVY
primaryFinesseIP=System.getenv("PRIM_FINESSE_IP")?:"https://finesse115.ucce.ipcc:8445"
secondaryFinesseIP=System.getenv("SEC_FINESSE_IP")?:"https://finesse115.ucce.ipcc:8445"
finesseUser=System.getenv("FINESSE_USER")?:"admin"
finessePass=System.getenv("FINESSE_PASS")?:"Expertflow464"
base_url=System.getenv("REDIRECT_BASE_URL")?:"http://localhost:8080"

The following table explains these parameters


Configuration VariableLine NumberDefault ValueExpected ValueLimitationsDescription
1UMM_DB_URL4

jdbc:jtds:sqlserver://192.168.1.45:1433/umm for default instance,
Use following DB_URL value for named instance of MSSQL Server

jdbc:jtds:sqlserver://serverurl;instance=INSTANCE_NAME;DatabaseName=umm

String/umm at the end of string is the database name you created. Write host path in place of 192.168.1.45:1433 of default value
2UMM_DB_USER7saString
MSSQL Server username
3UMM_DB_PASS8Expertflow464String
MSSQL Server password
4PRIM_FINESSE_IP105https://finesse115.ucce.ipcc:8445String
Primary Finesse IP
5SEC_FINESSE_IP106https://finesse115.ucce.ipcc:8445String
Secondary Finesse IP
6FINESSE_USER107adminString
Finesse cfadmin User Name
7FINESSE_PASS108Expertflow464String
Finesse cfadmin password
8REDIRECT_BASE_URL109http://localhost:8080String
This is FQDN of Hybrid Chat, UMM frontend uses this path to access UMM APIs

4. Navigate to <installation-dir>\hybrid-chat\core\tomcat\apache-tomcat-8.5.47\webapps\umm\base\assets

5. open config.json in text editor.

6. Update the following variable and save the the file. Then restart the tomcat service. 

9GAT_URL1

https://localhost:8443

or

https://<fqdn-reverse-proxy>

String
This is URL of tomcat. 
OR
Enter the URL of app-gateway

In the method of microservices go to the umm section line number 37, and 38 and make the following changes:

10ipAddress37

http://127.0.0.1

Number
this is the loopback ip of the host for umm
11port: System.getenv("UMM_PORT")?388081Port
This is the http port of tomcat on which UMM is hosted

In the method of microservices go to the ecm section line number 56, and 57 and make the following changes:

12ipAddress: primaryIP56

http://127.0.0.1

Number
this is the loopback ip of the host 
13port: System.getenv("ECM_PORT")?:578081Port
This is the http port of tomcat

In the method of microservices go to the eabc section line number 66, and 67 and make the following changes:

14ipAddress: primaryIP66

http://127.0.0.1

Number
this is the loopback ip of the host 
15port: System.getenv("EABC_PORT")?:678081Port
This is the http port of tomcat

7. Add the following System environment variables.

CODE
UMM_DB_URL
UMM_DB_PASS


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.