We have evaluated CVE-2022-22963 and CVE-2022-22965, the "Springshell" vulnerability, and have determined that ConnectALL is not vulnerable. Details are posted on this page.


How to Increase Tomcat Memory

Problem

Tomcat service is not starting and if you see the below error in $CATALINA_HOME/logs/

14 mar 2017 14:31:57,258 INFO http-8080-4 com.g2g.connector.qc.QCConnector - Get Release Cycles for the domain ESSAB_BANC_SABADELL and project PF_TEST_RUNS
14 mar 2017 14:32:09,138 ERROR http-8080-4 com.g2g.zk.composer.ConfigComposer - java.lang.OutOfMemoryError: Java heap space

Solution

Increasing the Tomcat memory would solve this problem.  We discuss below how to increase Tomcat memory in Windows and Linux environments.

Windows Environment

  1. Login as an administrator and open the command prompt.
  2. Change the directory to tomcat bin.
  3. Run tomcatXw.exe //ES//CATomcat (or) tomcatXw.exe //ES//TomcatX
    where, 'X' is your major Tomcat version, and 'TomcatX' is the name of the service.  You can find your service name in services.
  4. Change the maximum memory pool from 256 MB to 1024 MB as shown in the below image. 

   5. After Increasing the maximum memory pool , restart the Tomcat server and verify if it is started. 

Linux Environment

  1. Go to Apache Tomcat /bin directory.
  2. By default you will not see 'setenv.sh' (for Linux/Mac) file under the /bin directory.  So, create one with below parameters.

  3. After saving setenv.sh with the required memory values,  restart the Tomcat Instance.

    The amended memory values will reflect as shown in the above image, after the restart.