Execution of a JSP that Spawns User Threads That Read from Process Streams May Result in an HANG When Resource Manager is Active (OJVM: Generic Wait Event in v$session_wait) (Doc ID 1360865.1)

Last updated on JUNE 21, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.2 to 11.2.0.2 [Release 11.2]
Information in this document applies to any platform.

Checked for relevance on 21-Jun-2017

Symptoms

Java stored procedure hangs with wait on OJVM: Generic. This occurs only if Resource Manager is active.

SQL> select event from v$session_wait where sid = 100;

EVENT
----------------------------------------------------------------
OJVM: Generic

The errorstack placed on the session indicates high waits on this event:

---------------------------------------------------
Sampled Session History Summary:
longest_non_idle_wait: 'OJVM: Generic'
[3 samples, 09:07:20 - 09:07:22]
time_waited: >= 2 sec (still in wait)
---------------------------------------------------

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