Number of Concurrent Analyses

You can change the size of the project queue on a Squore Server installation. The default value is 4, which means that 4 projects can be analysed in parallel.

If your hardware can handle a higher number of concurrent analyses, you can increase the queue size by editing the file <INSTALLDIR>/Server/server/default/deploy/squore-server.ear/squore-server.jar/META-INF/ejb-jar.xml, and set the maxSession key to the desired size. This involves repackaging and redeploying the application, as explained below:

  1. Extract the settings file:

    cd <INSTALLDIR>/deploy
    jar xf squore-server.ear
    jar xf squore-ejb.jar
  2. Make the necessary modifications:

    • Open <INSTALLDIR>/deploy/squore-ejb.jar/META-INF/ejb-jar.xml in a text editor

    • Modify the parameter maxSession (default: 4) to set it to the number of projects that can be created in parallel

  3. Repackage the application:

    cd <INSTALLDIR>/deploy
    jar cf squore-ejb.jar
    jar cf squore-server.ear
  4. Deploy the patched application following the instructions on http://openwiki.squoring.com/openwiki/index.php/Deploying_A_Patch#Since_Squore_2014-B.

Tip

Instead of using the command line, you can use 7zip on Windows to open the .ear and .jar files and directly patch their contents.