Previous Topic

Book Contents

Book Index

Next Topic

Prerequisites

Tomcat

  • Tomcat version 7.54 or higher is required.
  • Servlet engine must support websockets.

Apache

  • Apache version 2.4 or higher is required.
  • Apache must be configured to allow websockets.

To set up reverse proxy with Apache, the following modules must be present in '/etc/apache2/mods-enabled':

  • proxy_ajp.load
  • proxy_http.load
  • proxy_wstunnel.load

Websockets go on HTTP connector (port 8082). Other traffic for chat application goes on Tomcat AJP connector but it is also possible to use HTTP connector. Be aware that AJP doesn't support websockets therefore it is not possible to pass websocket traffic to AJP connector/port.

NGINX

  • NGINX version 2.4 or higher is required.

Example configuration:

$ ssh tomcat@uzapp003-v4u

# su (v4u)

# vim /etc/nginx/sites-available/default

# service nginx restart

# service nginx status

# tailf -100 /var/log/nginx/access.log

Help Image

Please note that USU bears no responsibility with respect to the use the above mentioned 3rd party tools.

See Also

Setting up Chat

Valuemation Side

Chat Server Side

Troubleshooting