Connection Cache With This Cache Name Is Disabled After Removing User/Password

(Doc ID 788891.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Containers for J2EE - Version 10.1.3.1.0 to 10.1.3.5.0 [Release AS10gR3]
Information in this document applies to any platform.
***Checked for relevance on 06-Apr-2011***


Symptoms

After moving the user and password attributes in data-sources.xml from the connection-factory to
the managed data source, the application fails to start up with the following error :-

2009-02-26 09:47:34,003 [OC4J Launcher] ERROR org.springframework.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pirobase.cb.database' defined in ServletContext resource [/WEB-INF/pirobase.cb.xml]: Invocation of init method failed; nested exception is
org.springframework.jdbc.support.MetaDataAccessException: Could not get Connection for extracting meta data; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Connection Cache with this Cache Name is Disabled


The connection pool is created with a parameter    initial-limit='25'

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