Configure Tomcat - EcoSys - Installation & Upgrade - Hexagon PPM

EcoSys Connect Installation and Configuration

Language
English
Product
EcoSys
Search by Category
Installation & Upgrade
EcoSys Version
1.0.01

Follow the steps below to configure tomcat for Dispatcher,

  1. Configure the database connector in $CONNECT/deploy/swarm/config/tomcat/server.xml

  2. Go to the bottom of the file and set one of the two context sections.

    1. For ORACLE:

      <!--Context path="/connect" docBase="connect" debug="0" reloadable="false" crossContext="true"> <Resource name="jdbc/ecConnect" auth="Container" type="javax.sql.DataSource" maxTotal="100" maxIdle="10" maxWaitMillis="10000" username="ecuser" password="ecuser" driverClassName="oracle.jdbc.OracleDriver"

      url="jdbc:oracle:[driverType]:@[serverName][:portNumber]][[:sid][/service]]"/>

    2. For MSSQL

      <Context path="/connect" docBase="connect" debug="0" reloadable="false" crossContext="true"><Resource name="jdbc/ecConnect" auth="Container" type="javax.sql.DataSource"

      maxTotal="100" maxIdle="10" maxWaitMillis="10000" username="ecuser" password="ecuser" driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver"

      url="jdbc:sqlserver://[serverName][\instanceName][:portNumber];database=[dbName]"/> </Context>

  3. Tomcat logging can be configured by editing the file below,

    $CONNECT/deploy/swarm/config/tomcat/logging.properties.

    The *.maxDays settings can be used to control the log retention period. Logs are rotated nightly by default.