Configure Server.xml for Tomcat 9x
Perform the following step to configure server.xml for Tomcat9x:
Edit the server.xml File that is present under the $TOMCAT_DIRECTORY/conf/ Directory with the following changes that is required for Connection Pooling.
<Context path="/ $CONTEXTNAME$" docBase=" $APP_DEPLOYED_PATH$ "
debug="0" reloadable="true" crossContext="true">
<Resource auth="Container" name="jdbc/ $INFODOM_NAME$"
type="javax.sql.DataSource"
driverClassName="oracle.jdbc.driver.OracleDriver" username="
$ATOMICSCHEMA_USERNAME$" password="$ATOMICSCHEMA_PASSWORD$"
url="$JDBC_CONNECTION_URL"
maxTotal="300" maxIdle="30" maxWaitMillis="10000"
removeAbandonedOnBorrow="true" removeAbandonedTimeout="60"
logAbandoned="true"/>
</Context>
For more information, refer to the Define JDBC Connection Pooling Section in the OFS AAAI Installation Guide.