My Oracle Support Banner

Error 'ORA-04031' in oc4j.log When Logging in to Oracle VM Manager (Doc ID 1082388.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle VM - Version: 2.2 - Release: OVM22
Information in this document applies to any platform.


Failed to log in to Oracle VM Manager. The following errors could be found in /var/log/ovs-manager/oc4j.log:
TopLink Info]: 2010.04.08 09:59:43.585--ServerSession(12782779)--Thread(Thread[OVM_DataCollector Working thread: Thread-501,5,main])--TopLink, version: Oracle TopLink - 10g Release 3 ( (Build 061004)
[TopLink Config]: 2010.04.08 09:59:43.585--ServerSession(12782779)--Connection(18778888)--Thread(Thread[OVM_DataCollector Working thread: Thread-501,5,main])--connecting(DatabaseLogin(
       user name=> ""
       connector=>JNDIConnector datasource name=>jdbc/OVSDS
[TopLink Severe]: 2010.04.08 09:59:45.999--ServerSession(12782779)--Thread(Thread[OVM_DataCollector Working thread: Thread-501,5,main])--Local Exception Stack:
Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 ( (Build 061004)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
ORA-04031: unable to allocate 16 bytes of shared memory ("shared pool","select,, trigg...","sql area","kglhin: temp")
ORA-00604: error occurred at recursive SQL level 1
ORA-04031: unable to allocate 16 bytes of shared memory ("shared pool","select
obj#,type#,ctime,mtim...","sql area","kglhin: temp")
Error Code: 604
       at oracle.toplink.exceptions.DatabaseException.sqlException(
       at oracle.toplink.jndi.JNDIConnector.connect(
       at oracle.toplink.sessions.DatasourceLogin.connectToDatasource(


A default Oracle VM Manager 2.2.0 installation with no change.


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

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

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