My Oracle Support Banner

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 AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 11.2]
Information in this document applies to any platform.
Checked for relevance on 21-Jun-2017


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;

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)




To view full details, 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 a vibrant support community of peers and Oracle experts.