This section lists the prerequisites and steps for applying this patch.
...
- Go to …<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\etc location.
- Open AgentContext.xml file.
Set the following properties based on your environment.
Tip If you are going to use a separate backend database for the Agent, you need to create the database and update this file with new database property. Or, you can use the existing backend database of Adeptia Connect and use its properties to update this file. Under "dataSourceAgent" section, update the following properties:
Update the property "jdbcUrl", for example, in case of MySQL being used as a backend database, the format of jdbcUrl will be jdbc:mysql://<hostname>:<port no.>/<DB Name>?useSSL=false.
Here,
Hostname: Name/IP address of the database server.
Port No.: Port number of the database.
Database name: Name of the database.Note If you are using SQL or Oracle as a backend database, the format of jdbcUrl will be:
SQL
jdbc:sqlserver://<hostname>:<port no.>;DataBaseName=<DB Name>Oracle
jdbc:oracle:thin:@<hostname>:<port no.>:<DB Name>driverClass: Update the driver class name, for example, "com.mysql.cj.jdbc.Driver" if MySQL database is used.
Note If you are using SQL or Oracle as a backend database, update the value of driverClass as:
SQL
com.microsoft.sqlserver.jdbc.SQLServerDriverOracle
oracle.jdbc.OracleDriver- user: Enter the user name.
- password: Enter the password.
- dataSourceName: Enter the backend database name.
Under "AgentEntityManagerFactory" section, update the "hibernate.dialect" property.
Note "hibernate.dialect" property for each database is as follows:
MySQL
org.hibernate.dialect.MySQL5InnoDBDialectSQL
org.hibernate.dialect.SQLServerDialectOracle
org.hibernate.dialect.Oracle10gDialect- Save the file.
Changes in hubConfiguration.properties file
...