Gateway Crashing when passing view parameter

As my colleague @cmallonee mentioned, for those who need steps to add/modify the websocket max message size for Perspective, you will need to do the following to add the JVM parameter to Ignition:

  1. Open the ignition.conf file that is located in the data folder that’s found in your Ignition installation path
  2. Open the ignition.conf with any text editor
  3. Within the ignition.conf file, scroll down to where it says # Java Additional Parameters; This is the location where JVM parameters are added into Ignition and where we will be adding our web socket max message size parameter
  4. Copy/Paste the following line in the # Java Additional Parameters section of the ignition.conf file:

wrapper.java.additional.X=-Dperspective.websocket.max-message-size=#

  1. Replace X in the line with the next sequential parameter number that is seen in the file.
  2. Replace # in the line with the websocket max message size value in KB; The default size is 2048 KB when no value is specified
  3. Save changes to the ignition.conf file; A restart of the Ignition gateway service will be required for the changes to take effect. This can be done by following the instructions that are provided in the following link: Gateway Command-line Utility - gwcmd - Ignition User Manual 8.1 - Ignition Documentation

Here is an example of how the JVM parameter entry would look like :

Doing these steps, the value that was configured will take effect.

10 Likes