Configuring Apache Tomcat

Last Updated : Oct 18, 2023 |

Before you begin

Ensure that you have installed the following:
  • Java 7 or 8.

  • Tomcat 7 or 8.

    For more information on the Cipher requirements of Java implementation, see Appendix A.

Procedure

  1. Copy the *.war files from $POM_HOME/DDapps to <APPSERVER_HOME>/webapps of the application server to the $APPSERVER_HOME/lib/ folder.
  2. Copy files from $POM_HOME/DDapps/lib/* to <APPSERVER_HOME>/lib of the application server to the $APPSERVER_HOME/lib/ folder.
  3. Edit <APPSERVER_HOME>/conf/server.xml and add the following connector node:

    <<!-- <Connector port="7080" protocol="HTTP/1.1" URIEncoding="UTF-8" useBodyEncodingForURI="true" connectionTimeout="20000" redirectPort="7443" />--> <!-- ....CHANGES for AVAYA POM START .... --> <Connector protocol="HTTP/1.1" port="7443" minSpareThreads="5" maxSpareThreads="75" enableLookups="true" disableUploadTimeout="true" acceptCount="100" maxThreads="200" scheme="https" secure="true" SSLEnabled="true" keystoreFile="/opt/AppServer/Tomcat/tomcat/conf/myTrustStore" keystorePass="changeit" clientAuth="false" sslEnabledProtocols="TLSv1.2" ciphers="TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_EMPTY_RENEGOTIATION_INFO_SCSV"/>

  4. Edit <APPSERVER_HOME>/bin/catalina.sh file to append the JAVA_OPTS variable export JAVA_OPTS="$JAVA_OPTS -Dorg.xsocket.connection.client.ssl.sslengine.enabledProtocols=TLSv1.2”. If it is not defined, then declare new JAVA_OPTS variable export JAVA_OPTS="-Dorg.xsocket.connection.client.ssl.sslengine.enabledProtocols=TLSv1.2".
  5. Restart the external application server.