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

Last updated on MARCH 08, 2017

Applies to:

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

Symptoms

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 (10.1.3.1.0) (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(
       platform=>Oracle10Platform
       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 (10.1.3.1.0) (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 u.name, o.name, 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(DatabaseException.java:276)
       at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:115)
       at oracle.toplink.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:147)

Changes

A default Oracle VM Manager 2.2.0 installation with no change.

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