Forms Hangs when using SSL and OAM Single Sign On (Doc ID 1554761.1)

Last updated on JULY 15, 2017

Applies to:

Oracle Forms - Version 11.1.2.0.0 and later
Information in this document applies to any platform.
Checked for currency 07-Apr-2016

Symptoms

Trying to run a Forms application on a new 11g environment using SSL and OAM hangs.

The following errors are being recorded in Java Console:

 network: Cache entry not found [url: https://servername:ssl_port/forms/java/frmall.jar, version: null]
network: Connecting https://servername:ssl_port/forms/java/frmall.jar with proxy=DIRECT
network: Connecting http://servername:ssl_port/ with proxy=DIRECT
network: Server https://servername:ssl_port/forms/java/frmall.jar requesting to set-cookie with "OAMRequestContext_servername:ssl_port_476562=GebazjKVXuHVEd4Ayaj6Fg==;max-age=300; httponly; secure; path=/"
network: Server https://servername:ssl_port/forms/java/frmall.jar requesting to set-cookie with "OAMAuthnCookie_servername:ssl_port=loggedoutcontinue; httponly; secure; path=/"
network: Cache entry not found [url: https://oam_server:oam_port/oam/server/obrareq.cgi?encquery...
network: Connecting https://oam_server:oam_port/oam/server/obrareq.cgi?encquery%.... with proxy=DIRECT
network: Connecting https://oam_server:oam_port/oam/server/obrareq.cgi?encquery%....
network: Server https://oam_server:oam_port/oam/server/obrareq.cgi?encquery%....
network: Server https://oam_server:oam_port/oam/server/obrareq.cgi?encquery%....
network: Downloading resource: https://servername:ssl_port/forms/java/frmall.jar
Content-Length: 3,251
Content-Encoding: null
java.io.IOException: Invalid jar file
at com.sun.deploy.net.DownloadEngine.getJarFileWithoutCache(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getJarFileWithoutCache(Unknown Source)
at com.sun.deploy.net.DownloadEngine.downloadJarWithoutCache(Unknown Source)
at sun.plugin.PluginURLJarFileCallBack$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.PluginURLJarFileCallBack.retrieve(Unknown Source)
at sun.net.www.protocol.jar.URLJarFile.retrieve(Unknown Source)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFileInternal(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.getJarFile(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.access$1000(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)

.
.
basic: error: Incompatible magic value 168430090 in class file oracle/forms/engine/Main.
java.lang.ClassFormatError: Incompatible magic value 168430090 in class file oracle/forms/engine/Main
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(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.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)
Exception: java.lang.ClassFormatError: Incompatible magic value 168430090 in class file oracle/forms/engine/Main

 

 Other symptoms 

- Deleting JRE cache did not work
- Single Sign On page is displayed
- http://hostname:wls_forms_port/forms/frmservlet -- Works
- https://hostname:SSL_port/forms/frmservlet        -- Fail with same error and behavior   
- The following error is being recorded in oblog (webgate log file)

 AUTHORIZATION ERROR 0x00001819 /ade/aime_50561/ngamac/src/palantir/access_api/src/obuser_session.cpp:1759 "Authn token passed to the ObUserSession constructor is null or invalid." raw_code^201

Changes

 New environment

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