Find answers to your technical questions and learn how to use our products
Search suggestions:
Find answers to your technical questions and learn how to use our products
Search suggestions:
Experience Portal includes an automated installation script for the Tomcat 8.5.xx application server.
For details about the automated installation script, see Optional: Installing a Tomcat application server on the Experience Portal server.
Install the Experience Portal software on the server.
Experience Portal includes the Tomcat installation tar file for Tomcat 8.5.xx. To install a later build of the Tomcat application server, download the appropriate Tomcat installation tar file from the Apache website http://jakarta.apache.org/tomcat/ and ensure that the file is available.
Log on to the local Linux console as root.
Log on remotely as a non-root user, and then change the user to root by entering the su - root command.
Use the Tomcat 8.5.xx installation tar file installed with Experience Portal, run the cp $AVAYA_HOME/Support/AppServer/manual/apache-tomcat-8.5.xx_ae.tar.gz . command.
Use the installation tar file you downloaded from the Apache website, copy that file to the directory by running the cp pathname/tomcat-tar-file . command, where pathname/tomcat-tar-file is the name of the Tomcat installation tar file.
The Tomcat files are extracted to /opt/Tomcat/AppServer/tomcat-subdirectory, where tomcat-subdirectory is the name of the Tomcat installation tar file without the .tar.gz extensions. For example, if you extract the apache-tomcat-8.5.xx_ae.tar.gz installation file that was installed with Experience Portal, the installation subdirectory is apache-tomcat-8.5.xx.
cp startup.sh startup.sh.old
cp shutdown.sh shutdown.sh.old
export variable-name statements at the top of the script:
export CATALINA_BASE=/opt/Tomcat/AppServer/tomcat
export CATALINA_HOME=/opt/Tomcat/AppServer/tomcat
export JAVA_OPTS="-server –Xmx1024M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC
-XX:ThreadStackSize=512 -Davaya.appserver.type=tomcatappserver"
Specify each export variable-name line on a separate line without line breaks. If you copy these lines from documentation, ensure that you remove the extra line break in the export JAVA_OPTS definition. Also, retype the hyphens to remove hidden characters.
In addition, if you installed Tomcat in a directory other than /opt/Tomcat/AppServer, ensure that you change the export variable-name statements accordingly.
export CATALINA_BASE=/opt/Tomcat/AppServer/tomcat
export CATALINA_HOME=/opt/Tomcat/AppServer/tomcat
Change port number... |
To port number... |
|---|---|
8080 |
7080 |
8443 |
7443 |
8005 |
7005 |
8009 |
7009 |
<!--
<Valve className="org.apache.catalina.valves.RemoteAddrValve"
allow="127\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1" />
-->
Open the appserver.sh script in an ASCII editor and change all occurrences of /opt/Tomcat/AppServer to the directory in which you installed Tomcat.
Open the appserver.csh script in an ASCII editor and change all occurrences of /opt/Tomcat/AppServer to the directory in which you installed Tomcat.
chown -R avayavp:avayavpgroup $APPSERVER_HOME/logs
chown -R avayavp:avayavpgroup $APPSERVER_HOME/lib
chown -R avayavp:avayavpgroup $APPSERVER_HOME/conf
chown —R avayavp:avayavpgroup $APPSERVER_HOME/bin
chown —R avayavp:avayavpgroup $APPSERVER_HOME/temp
chown —R avayavp:avayavpgroup $APPSERVER_HOME/work
chown —R avayavp:avayavpgroup $APPSERVER_HOME/webapps
cp $AVAYA_HOME/Support/AppServer/appserver-pre.sh $APPSERVER_HOME/..
systemctl daemon-reload
systemctl enable appserver.service
The server must respond that the Tomcat service is running.