I have an Enterprise Application (ear) deployed in this configuration enviroment:
Weblogic 12c (12.1.1) + Oracle RAC 11g (release 2). Web Module is an MVC application, implemented with Struts 2 and Spring-framework (3.2.2) for core services. Spring JDBC is used for database access with simple JdbcTemplate for single statements and JtaTransactionManager for complex ones. In production environment after some time we got this exception: "ORA-01000 - Maximum open cursors exceeded" and server instance need to be restarted; it seems that open cursors increase more and more until they reach the maximum threshold set on Oracle. Increasing the threshold didn't solve the problem, it is set on 5000. JdbcTemplate is configured with Weblogic JNDI datasource (max size 30 and cache statement 10) so in cluster environment with 2 nodes, I expected the maximum number of cursors was 600 but it increases indefinitely. Could be a Spring problem with this configuration environment? Any ideas? Thanks.