My Oracle Support Banner

Forms in SSL Fail After Upgrade of Java Plug-in (JRE) / Upgrade of Forms to 12c or Modification of WebCache Webcache.xml File (Doc ID 787739.1)

Last updated on FEBRUARY 25, 2021

Applies to:

Oracle Forms - Version 10.1.2.0.2 and later
Microsoft Windows (32-bit)
Checked for relevance 13-Sep-2010
Checked for relevance on 01-Aug-2012
Checked for relevance on 18-Nov-2014



Symptoms

The problem doesn't occur in non-SSL mode.  There are two failure scenarios when SSL is enabled:

Scenario 1

A Form application fails to startup when running in SSL using JRE 1.6.X. The error messages (pasted below) are displayed in the Java control panel.

load: class oracle.forms.engine.Main not found.
java.lang.ClassNotFoundException: oracle.forms.engine.Main
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)

or the java console may also display:

network: Connecting socket://machine.domain:443 with proxy=DIRECT
javax.net.ssl.SSLException: Received fatal alert: unexpected_message
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)

The Forms application.log may also show ->

YY/MM/dd hh:mi:ss formsweb: Forms session <9> aborted: runtime process failed during startup with errors /oracle/apps1012/bin/frmweb: error while loading shared libraries: libhpi.so: cannot open shared object file: No such file or directory. 


Scenario 2

Forms has been upgraded from 11.1.2.2 to 12.2.1.x. As before,  Forms runs without error using HTTP, but fails with the following in the java console:

java.lang.ExceptionInInitializerError
at com.sun.deploy.net.protocol.https.Handler.openConnection(Unknown Source)
at java.net.URL.openConnection(Unknown Source)
at sun.net.www.protocol.jar.JarURLConnection.<init>(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.<init>(Unknown Source)
at sun.plugin.net.protocol.jar.Handler.openConnection(Unknown Source)
at java.net.URL.openConnection(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.getJarFile(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.access$800(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.ensureOpen(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.<init>(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassCastException: sun.security.ssl.X509TrustManagerImpl cannot be cast to com.sun.net.ssl.internal.ssl.X509ExtendedTrustManager
at com.sun.deploy.security.X509ExtendedDeployTrustManager.<init>(Unknown Source)
at com.sun.deploy.net.protocol.https.Handler$Initializer$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.deploy.net.protocol.https.Handler$Initializer.<clinit>(Unknown Source)
... 31 more
Exception: java.lang.ExceptionInInitializerError

 

NOTE: The same behavior occurs with a non-Forms applet as described in: <Note 2092655.1> Test Applet for Determining Basic Applet or JRE Functionality. 
           The Forms Standalone Application Launcher (FSAL) does not reproduce the error.

 

Scenario 3


A Forms application deployed in  https mode configured in web cache (web cache is https termination point) stops working after upgrading the Client Java plug-in version to 1.6. The following occurs:

Symptoms
===========
- Web Cache reports the following errors in the event_log:

[04/Feb/2008:14:37:22 +0100] [warning 11904] [ecid: 101407017538,0] SSL handshake fails NZE-29048
[04/Feb/2008:14:37:22 +0100] [error 11321] [ecid: 101407017538,0] Connection from browser cannot

 

 

Changes

SSL has been implemented on a working HTTP version of Forms / Reports. FMW Forms and / or the JRE may also have been upgraded.

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.