Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this article

...

The Snaplex Linux installers include a bundled OpenJDK-based JRE 11 distribution. You can follow the instructions in this document to change the Java version on your Linux and Windows Snaplex instances. You might need to change the Java version to update the JRE in order to receive security and functionality fixes in the newer JRE distribution. Even if your organization has a license for a different JRE distribution, you can use the procedure in this article to configure the Groundplex to use the said JRE.

Note

We support only Java 11-based distributions; Java 12 or newer versions are not yet certified by SnapLogic. Java 8 or earlier versions are not supported. 

JRE Version Update Process

To update the JRE version on your Groundplex node:

  1. Start the upgrade process on your development and testing Orgs.

  2. Verify the functioning of your Pipelines in the development Orgs and then update the JRE version on the production Orgs.

  3. Switch the nodes that you want to upgrade to Maintenance mode. This allows running Pipelines to complete executing before the upgrade is done.
Note
  • When upgrading multiple nodes, we recommend that you upgrade one node at a time.
  • New Pipelines are not sent to the JCC node in Maintenance mode.

...

Updating JRE Version by Installing a New SnapLogic RPM/DEB on Linux

To upgrade update the JRE version:

  1. On the Linux terminal, stop the existing JCC node by running the following command:
    $ sudo /opt/snaplogic/bin/jcc.sh stop

  2. Download the new Snaplex installer and install the Groundplex, running the RPM, DEB, or Docker installers as appropriate.
    • For RPM systems, run the following command:
      rpm -U --force snaplogic-snaplex.rpm
    • For DEB systems, run  the following command:
      dpkg -i snaplogic-snaplex.deb
    • For Docker, stop the existing container and start a new container using the latest image.

  3. Start the JCC node by running the following command:
    $ sudo /opt/snaplogic/bin/jcc.sh start.

...

After you configure Java, go to the SnapLogic Dashboard and verify that the Additional Information dropdown list displays the Java version as 11.0.10_9 or higher.

Snaplex Node Customizations 

When updating the Java version on a node or when adding a new node to a Snaplex, any customizations done on the node will have to be manually copied over, include the following:

  • Custom trust store entries: The JRE uses a cacerts trust store file at <JAVA_HOME>/lib/security/cacerts that has the trusted root certificates. If there are Snap endpoints that are using certificates signed by other providers, then the providers need to be added to the cacerts file. The update needs to be done every time the JRE version is updated or when a new node is being provisioned.
  • ulimit changes: If the file and process limits are customized, those changes have to be applied again when a new node is being provisioned to the Snaplex.
  • Custom binaries: Some Snaps require customer binaries to be installed on the Snaplex node, like native libraries for SAP and bulk loading tools for database Snaps. These changes have to be applied manually when a new Snaplex node is being provisioned.

If you are using configuration management tools like Puppet/Chef/Ansible, then making these changes in the IAC configuration ensures that new node provisioning is automated.