Updating Database Connection Details
You can update the Sentinel LDK-EMS database connection properties, when needed. For example, you may want to point to a database on a different machine.
**WARNING** Database connection files contain sensitive information such as database connection strings and passwords. Make sure to secure these files to ensure that only authorized and trusted users can access them. We recommend limiting both read and write access.
To modify the database connection properties:
In a text editor, edit the following files, as needed.
>%EMS_HOME%\EMSServer\webapps\ems\META-INF\context.xml
>%EMS_HOME%\EMSServer\webapps\ems\WEB-INF\classes\ems.properties
>%EMS_HOME%\EMSServer\webapps\ems\WEB-INF\classes\ems-quartz.properties
NOTE The values for the properties specified in these files must match.
context.xml
Property Name | Description | Default Value |
---|---|---|
driverClass |
net.sourceforge.jtds.jdbc.Driver |
|
jdbcUrl |
jdbc:jtds:sqlserver://127.0.0.1:3745/EMSDB |
|
user |
xx |
|
password |
xxxxxxx |
ems.properties
Property Name | Description | Default Value |
---|---|---|
url |
jdbc:jtds:sqlserver://127.0.0.1:3745/EMSDB |
|
username |
xx |
|
password |
xxxxxxx |
ems-quartz.properties
Property Name | Description | Default Value |
---|---|---|
org.quartz.dataSource. |
Database driver class name |
net.sourceforge.jtds.jdbc.Driver |
org.quartz.dataSource. |
Database connection URL |
jdbc\:jtds\:sqlserver\://127.0.0.1\:3745/EMSDB |
org.quartz.dataSource. |
Database connection username |
xx |
org.quartz.dataSource. |
Database connection password |
xxxxxxx |
org.quartz.dataSource. |
Maximum number of connections that the DataSource can create in its connection pool |