Java.exe Process not Closing Correctly when Using SEPARATE_JVM=TRUE (Doc ID 1525162.1)

Last updated on MARCH 07, 2014

Applies to:

Oracle Forms - Version 11.1.1.6.0 and later
Information in this document applies to any platform.
SEPARATE_JVM=TRUE
Webutil is used
Browser is closed without gracefully exiting forms application.

Symptoms

When using the parameter SEPARATE_JVM=TRUE, webutil causes two java.exe processes to be created on the client machine.
If a user closes the browser without first gracefully exiting the application, only one java.exe processes is closed.

The other java.exe process remains on the client, still consuming memory (from 50Mb to 100Mb) and  prevents the PC from closing.
Viewed with "Process Explorer" by Sysinternals, this process is located on the same level as "System Idle", "System" or "explorer.exe".

During a shutdown attempt, the client Windows PC will display warnings related to the still running java.exe process, asking the user if it can be terminated immediately.
In some scenarios users may receive many such warning messages before the PC can be shut down.

Changes

 The SEPARATE_JVM=TRUE parameter was added to the htm file to force the browser to use a separate  jvm for each session opened.

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