java.lang.RuntimeException: Could not generate DH keypair error (retired) - SmartPlant Foundation - SmartPlant Foundation 2020 - Help - Hexagon

SmartPlant Foundation and Web Client Modified and Retired Functionality

Language
English (United States)
Product
SmartPlant Foundation
Search by Category
Help
SmartPlant Foundation / SDx Version
10
SmartPlant Markup Plus Version
10.0 (2019)

The following applies if you are using a version of the software before Update 33 and SmartPlant Markup Plus Server 2019 SP 1 or earlier. For the latest information, see File viewing problems.

Check the Brava! Enterprise log file:

  1. Log on to the SmartPlant Markup Plus server as an administrator.

  2. Open the brava-enterprise-service.txt file delivered to the [installation location]\IGC\Brava! Enterprise\Brava! Server\log folder.

If the following error appears in the file, then the JRE_Home variable might be improperly set, the Java Development Kit might be installed, SSL certificates might be improperly imported, or the connector attributes might be improperly set:

java.lang.RuntimeException: Could not generate DH keypair\"}}"

Check the JRE_HOME variable:

  1. Log on to the SmartPlant Markup Plus server as an administrator.

  2. Click Start > Control Panel > System > Advanced system settings.

  3. On the Advanced tab, click Environment Variables.

  4. Make sure the JRE_HOME variable is pointing to your Java Runtine Environment installation folder.

    SHARED Tip If this variable does not exist, click New to create one.

Uninstall the Java Development Kit:

  1. Uninstall the Java Development Kit, if installed.

  2. Clean up the registry after uninstall. For more information, see How do I cleanup the registry after a failed Java uninstall.

  3. Install Java Runtime Environment.

  4. Configure the Apache Tomcat connection.

SHARED Tip If you must have the Java Development Kit installed for other products, install SmartPlant Markup Plus Server on a separate server with only Java Runtime Environment installed.

Make sure all SSL certificates, including intermediate certificates, are imported to:

  • Local Computer > Personal and Local Computer > Trusted Root Certification Authorities in IIS Manager on the SmartPlant Foundation application server, SmartPlant Markup Plus server, and SmartPlant Foundation File Server (if separate from the application server)

  • The local keystore on the SmartPlant Markup Plus server, using Java Keytool. For help, see the Apache Tomcat documentation at tomcat.apache.org.

Refer to the following to make sure the connector attributes are properly set: