SSLHandshakeException Reported After Changing a GlassFish Configuration's Java_Home to use a Different Java Version from the Installation's Default JDK (Doc ID 2002170.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle GlassFish Server - Version 2.1.1 to 2.1.1 [Release 2.1]
Information in this document applies to any platform.

Symptoms

The following error is reported by a client after a configuration in the domain has been updated to use a different Java JDK from the default:

All clusters and standalone instances will be using this Java JDK.  However, each configuration in the domain (a configuration is created when a cluster or standalone instance is first created) also has a "Java Home" value visible on its "JVM Settings" page.  This will show the JDK home set by AS_JAVA - in the GUI this will show the full path, but in the domain.xml the actual value is ${com.sun.aas.JavaRoot} which is converted by the GUI into the value for AS_JAVA.

The problem occurs when the configuration's "Java Home" value is changed to a different Java JDK version from the installation's default, as this leads to any GlassFish instance's using the modified configuration to use a mix of files from both JDKs, as shown in the section above.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms