Connection Cache With This Cache Name Is Disabled After Removing User/Password
Last updated on APRIL 09, 2018
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.
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 :-
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'
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